Toke Server Error - Server must be on the same subnet
AnsweredHey
I just set up a token server to user Gurobi on a high-performance cluster. When starting gurobi I receive the error "Server must be on the same subnet". I can find and ping the token server from the HPC, so the connection is there. Unfortunately, I couldn't find any information on how "same subnet" is defined or what I can change. The token server is located at our institute, and the HPC is somewhere else.
I'm happy for every help.
Thank you
Thorsten Weiskopf
-
The error message you're seeing, "Server must be on the same subnet," typically suggests a networking configuration issue where the Gurobi token server and the client (your HPC) need to be able to communicate over a network that is configured to be on the same subnet. This can sometimes mean more than just being able to "ping" the server; the subnet configuration needs to align with specific networking requirements for Gurobi's licensing checks.
In general, for Gurobi token servers:
- Both the server and the client must be configured to be on the same subnet, which means they share the same network prefix. For example, if your subnet mask is 255.255.255.0, then the first three octets of the IP addresses should be the same.
- There should not be any complex network configurations like NAT (Network Address Translation) between your token server and the clients that can prevent direct communication on the required ports.
To resolve this issue:
- Check IP Configuration: Ensure both the token server and the HPC are on the same subnet as explained above. You might need to consult with your network administrator to confirm this.
- Firewall and Port Settings: Ensure that any firewalls between the server and the client are configured to allow traffic on the ports used by Gurobi (by default, port 41954). Both inbound and outbound rules should be checked.
- No Proxies/NAT: Verify that there is no NAT or proxy impacting the direct communication between the token server and the HPC.
If adjustments to these settings do not resolve the issue, you might need to consider restructuring your network settings or placing the token server within the same local network as the HPC. If this does not help solve the issue, please create a support ticket in the Gurobi Help Centre explaining the issue.
0 -
Hello,
I just checked the server logs; the connection is working, as I have the logs with "not the same subnet on the token server", too. The HPC-Cluster itself has several subnets according to the definition above, and the computing nodes, which the users themselves can't choose, are on different subnets, too. I can't see a way to match the first three octets of the token server and HPC-Cluster.Is there anything else we can do?
Greetings
Thorsten Weiskopf
0 -
Hi Thorsten - As mentioned above, please create a support ticket in the Gurobi Help Centre explaining the issue. -G
0
Please sign in to leave a comment.
Comments
3 comments