What? I have a box with 1 physical interface and 4 IP addresses and this works just fine:
gamesrv1:~# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:1f:29:50:02:e7 inet addr:72.237.4.30 Bcast:72.237.4.127 Mask:255.255.255.128 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:76902609 errors:0 dropped:0 overruns:0 frame:0 TX packets:85135888 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:7705813491 (7.1 GiB) TX bytes:14536877789 (13.5 GiB) Memory:f0180000-f01a0000 eth0:1 Link encap:Ethernet HWaddr 00:1f:29:50:02:e7 inet addr:72.237.4.31 Bcast:72.237.4.127 Mask:255.255.255.128 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Memory:f0180000-f01a0000 eth0:2 Link encap:Ethernet HWaddr 00:1f:29:50:02:e7 inet addr:72.237.4.32 Bcast:72.237.4.127 Mask:255.255.255.128 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Memory:f0180000-f01a0000 eth0:3 Link encap:Ethernet HWaddr 00:1f:29:50:02:e7 inet addr:72.237.4.34 Bcast:72.237.4.127 Mask:255.255.255.128 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Memory:f0180000-f01a0000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:77 errors:0 dropped:0 overruns:0 frame:0 TX packets:77 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:10036 (9.8 KiB) TX bytes:10036 (9.8 KiB) gamesrv1:~# netstat -an | grep 27015 tcp 0 0 72.237.4.30:27015 0.0.0.0:* LISTEN tcp 0 0 72.237.4.31:27015 0.0.0.0:* LISTEN udp 0 0 72.237.4.34:27015 0.0.0.0:* udp 0 0 72.237.4.32:27015 0.0.0.0:* udp 0 0 72.237.4.30:27015 0.0.0.0:* udp 0 0 72.237.4.31:27015 0.0.0.0:* DreamDemon, make sure you are uisng +ip (with a "+") to specify the IP for srcds when you start it, not -ip (with a "-"). - Dave Björn Rohlén wrote: > You do not load up a second tcp/ip-stack just because you alias your > interface, since you are using ONE stack, you will get one port per > protocol used. The only reason this works so well on services, is due > to the ip-header containing the calling domain/ip and apache/sendmail > applying rulesets based on this. In short, you can not use same port > on a virtual device if that port is already used on either another > virtual device (due to them not really existing, just responding to > another arp-request) or in use on the actual adapter. Since this is > not really "multihomed", but rather one adapter, with one stack and a > "poisoned" arp/routing-table, it will not work. > > -TheG > > On Tue, Mar 24, 2009 at 6:58 AM, [-DSR-][TA]DreamDemon > <dreamde...@dsrclan.com> wrote: >> I'm having some major issues with source based games. We currently have >> a root server with Cent5 x86_64 running. This machine has 1 nic but has >> multiple ip's. Even with games seperated by ip, the default port 27015 >> is incrementing and not able to be set to that for the default on other >> ip addresses. I will use class c addressing to illustrate. >> >> ie: >> DODS - 192.168.2.100:27015 - eth0 >> TF2 - 192.168.2.101:27016(auto-incremented) - eth0:0 >> >> So how can I resolve this? The aliases are set proper but the source >> games are still detecting the port in use. >> >> Thanks. >> >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >> > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > -- Dave Parker Utica College Integrated Information Technology Services (315) 792-3229 Registered Linux User #408177 _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux