SRCDS Steam group


LAN servers on multiple interfaces
#1
Hi,

I want to launch about 8 srcds LAN servers, on different IP addresses, every server on the same default port number (27015), so they show up in the LAN server browser window.

The problem is: if I set the +ip 192.168.x.x to bind the server to the interface, it wont show up in the LAN server browser anymore. Without +ip it trying to bind to 127.0.0.1 and every available interface. So the second server could not be found on port 27015, it selects an available port somewhere. (cause the first server binds to port 27015 on all interfaces)

Is it possible and im missing some info, or it is just by design?

Smalla
Reply
#2
You should be able to use ifconfig to assign multiple internal IP addresses to your server.
[Image: ggbarzc2.png]
Reply
#3
8 network cards, 8 ips. Make sure they all have diff IPs like the guy above said using ifconfig.

Try using -ip <whatever> in the command line.

We do this type of thing at a 100 player LAN all the time - multiple network cards hosting multiple things using diff IPs.
Reply
#4
Muppet Wrote:8 network cards, 8 ips. Make sure they all have diff IPs like the guy above said using ifconfig.

Try using -ip <whatever> in the command line.

We do this type of thing at a 100 player LAN all the time - multiple network cards hosting multiple things using diff IPs.

I can assign ip addresses of course, thats no problem. But if I do that (+ip on command line) than the servers in lan server list did not show up, regardless to sv_lan 1. I can connect to them by using connect <ipaddress>, but cannot see them in server browser.
Reply
#5
smalla Wrote:I can assign ip addresses of course, thats no problem. But if I do that (+ip on command line) than the servers in lan server list did not show up, regardless to sv_lan 1. I can connect to them by using connect <ipaddress>, but cannot see them in server browser.

Try -ip <ip> not +ip <ip>.

If that fails, then take it out altogether, see what happens.
Reply
#6
ifconfig eth0:"numbers from 1 up to 99" 192.168.x.x netmask 255.255.255.0 up
and so on
Linux IsiX 64 Generic Desktop ValHalla 2.6.33.4 x86_64
Intel Core 2 Duo T8400 4Gb Ram 40G SSD Intel
[Image: b_460x42_C000000-454234-696149-FFFFFF-FFF468-FFF468.png]
DoD 31 Comunity DoD 31 Spanish Comunity
Erste SS Panzer Grendier Division [DOD Clan]
Reply
#7
smalla Wrote:I can assign ip addresses of course, thats no problem.

get Wrote:ifconfig eth0:"numbers from 1 up to 99" 192.168.x.x netmask 255.255.255.0 up
and so on

It's the servers not being visible on the LAN server list, he said he can set the IPs for interfaces fine.
Reply
#8
Muppet Wrote:
smalla Wrote:I can assign ip addresses of course, thats no problem. But if I do that (+ip on command line) than the servers in lan server list did not show up, regardless to sv_lan 1. I can connect to them by using connect <ipaddress>, but cannot see them in server browser.

Try -ip <ip> not +ip <ip>.

If that fails, then take it out altogether, see what happens.

I tried both, none working. if -ip or +ip is set on the command line on srcds_run it won't show in the lan server list. So if i have multiple interfaces, I can't make all servers (not even two) to show up in LAN server list.

It seems to me that steam searches for LAN servers only on port 27015.
because if I start a server with no +-ip param but on different port (27025) it can't find the server either.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)