SRCDS Steam group


IP binding problem
#1
Server OS: Ubuntu Desktop 8.04
Processor: P4 1.6Ghz
Ram: 768MB
Game(s): Counter-Strike: Source
Start Up Command:
Code:
./srcds_run -console -game cstrike +map de_dust2 +maxplayers 16 -ip 0.0.0.0
Admin Mods: N/A

Well when I start a CSS server on one of my spare computers it binds to 127.0.1.1 but I fixed that my adding -ip 0.0.0.0 and it shows up under LAN but the thing is I have more than one IP bound to that box so I want to be able to define what IP but it still show under LAN. Can anyone help?

I feel kind of stupid, I haven't posted a question since I became a mod Toungue
~ trewq
Reply
#2
If you bind a non private ip address then it won't show up in LAN. Only IP's in the following range will show up in LAN as they are designed to be private addresses.

192.168.0.0 to 192.168.255.255
172.16.0.0 to 172.31.255.255
10.0.0.0 to 10.255.255.255

Everything else will flag as a public IP.
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#3
Are you behind a router?

Take a look in /etc/network/interfaces and see what ip is assigned to what card or set your local ip (static) and start the server with local ip in startupline (when you're behind a router) or with real ip (when you're not behind one).
Reply
#4
I'm binding it to a LAN IP but it still doesn't show up under LAN.
~ trewq
Reply
#5
What's your startupline and how does your interfaces file look like?
Reply
#6
(11-03-2009, 05:38 AM)Goilio Wrote:  I have more than one IP bound to that box so I want to be able to define what IP but it still show under LAN.

Can you describe this more. It sounds like you have multiple LAN IPs and you don't want your server to show in some LANs, but you want it in some others. If you use +ip 0.0.0.0 then the game will bind to all interfaces and you are able to connect there from all LANs as well as from network.

You could try adding multiple "-ip 192.168.1.10 -ip 127.0.0.1 -ip 10.0.0.1" commands like this on the startup line and hope that it binds to the specified ones.

PS. Let me guess, you don't want your game server to be visible on your workplace VPN LAN? Toungue
Reply
#7
0.0.0.0 doesn't bind it to all as expected it just picks one it can access the Valve servers with.

I am trying to MAKE it so it shows in LAN but it DOESN'T if I bind it to an IP that is NOT 0.0.0.0

Hope that clears it up.
~ trewq
Reply
#8
The I.P binding problem (IPBP) is a term that describes a situation where a programmer working on multiple machines who are attempting to manage concurrent activities involving stateful data may encounter problems. You need to follow this PureWL and get more new tips for software.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)