SRCDS Steam group


Multiple NICS
#1
I'm running a server with Debian 5.0 that I want to use as both a file server and a game server for a LAN party I'm having in two days.

The machine has 2 nics: eth0 and eth1. I want to set it up so that all samba traffic goes over eth0, and the game server traffic goes over eth1.

I got samba working properly; all it took was a simple edit to smb.conf, and now all samba traffic is done over eth0.

However, I have been unable to find a way to get srcds to run on eth1. I've tried a number of different things, including +ip and messing with iptables, but no matter what I do it always tried to connect over eth0 (or sometimes fails to connect at all).

So my question is: How do I do this? I have two days to figure this out.
Reply
#2
Bind a static ip to eth1, and use the ip in the startup
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#3
pengy Wrote:Bind a static ip to eth1, and use the ip in the startup

I can't use a static IP on this network.

Also, as I said in the OP, I already tried using the +ip option and wasn't able to see the server at all.
Reply
#4
Why can you not use a static ip? If your lanning, then you can.
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#5
pengy Wrote:Why can you not use a static ip? If your lanning, then you can.

I didn't realize I was here to justify the conditions I'm lanning in.

Suffice to say, it isn't my network.

If you can suggest a way to tell the server to use a specific IP that works in a dynamic LAN setting (+ip x.x.x.x does not), then I'm more than willing to try it.
Reply
#6
+ip forces the server to run on a specified address, if the ip that was assigned to your second nic card(eth1) was put it there, it should run off of that IP, however, if your setup is running something odd because you haven't told me what your situation is, then that may not work.
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#7
Make sure when using the ip address, you use the internal ip (Example: 192.168.1.1), also when specifying the IP command, you must also specify the port as well.
Ryan White
Owner & CEO
GigabiteServers.com
Reply
#8
dualcore1289 Wrote:Make sure when using the ip address, you use the internal ip (Example: 192.168.1.1), also when specifying the IP command, you must also specify the port as well.

Here's the current situation: I already specify the port. When I specify the port but not the IP address, I can join the game in the server browser (although it is on the IP address I do NOT want to be connecting to).

However, when I add '+ip' with the address that I DO want to connect to (and yes, it's the internal one), the server doesn't show up in the server browser at all.
Reply
#9
Look guys, when I run the server with the option +ip and use eth0 or eth1's ip, the server simply won't show up in the game browser. If you have any idea what might be causing this, please tell me. Otherwise I need to find another way to do this.
Reply
#10
in the +ip are you using your LAN ip?
~ trewq
Reply
#11
King Goilio Wrote:in the +ip are you using your LAN ip?

Yes. Of the nic that I want it to use.

For example: at the moment the line reads "+ip 10.10.101.205". All of our LAN IPs are 10.10.101.xxx addresses.
Reply
#12
When you force an IP, It wont show up in lan i think. Try with -ip for source games, unless its hlds. The server is still there, its just that its not in the lan tab of the server browser
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)