Re: [hlds_linux] srcds with multiple ip address
In the past I've created servers with RFC1918 addresses behind NAT devices. In theory that would mean that the server thinks that its single IP is an RFC1918 address, so therefore you should be able to put your machine behind a simple NAT router (try something like m0n0wall if you don't have anything handy, it'll happily move 10Mbit with a P2 200 or so). Once behind NAT just tie several addresses to the router and forward the ports for each address to said SRCDS server. -Scott Gary wrote: > UDP doesn't like to be multihomed. If you want to do some type of > layer 4/7 load balancing you're going to have to spend some cash. > >> Network interface "bonding" (AKA Etherchannel, AKA Port Aggregation >> Protocol) is used to load balance multiple OSI layer 2 links (usually >> fast or gigabit Ethernet). It's used for redundancy and load balancing, >> not for adding multiple IP addresses to a user process. >> I suggest trying the 0.0.0.0 address theory that was suggested earlier. >> >> >> -Daniel >> >> ___ >> 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 > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] srcds with multiple ip address
UDP doesn't like to be multihomed. If you want to do some type of layer 4/7 load balancing you're going to have to spend some cash. Network interface "bonding" (AKA Etherchannel, AKA Port Aggregation Protocol) is used to load balance multiple OSI layer 2 links (usually fast or gigabit Ethernet). It's used for redundancy and load balancing, not for adding multiple IP addresses to a user process. I suggest trying the 0.0.0.0 address theory that was suggested earlier. -Daniel ___ 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
Re: [hlds_linux] srcds with multiple ip address
John Sheu wrote: If I recall correctly, there's something called "ethernet bonding" that might be useful in your case. It's somewhere in the Linux kernel, let me look it up... Ah, there we go. "Bonding driver support", under "Device Drivers" -> "Network device support". Network interface "bonding" (AKA Etherchannel, AKA Port Aggregation Protocol) is used to load balance multiple OSI layer 2 links (usually fast or gigabit Ethernet). It's used for redundancy and load balancing, not for adding multiple IP addresses to a user process. I suggest trying the 0.0.0.0 address theory that was suggested earlier. -Daniel ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] srcds with multiple ip address
If I recall correctly, there's something called "ethernet bonding" that might be useful in your case. It's somewhere in the Linux kernel, let me look it up... Ah, there we go. "Bonding driver support", under "Device Drivers" -> "Network device support". -John Sheu On Tue, 2005-11-08 at 04:51 -0800, Erik Hollensbe wrote: > On Nov 7, 2005, at 2:27 PM, m0gely wrote: > > > K1ll3rD wrote: > >> I really don't think this is possible, I don't think steam will > >> allow me to > >> bind the process to multiple IP addresses. > > > > I was going to reply and say don't specify any IP at all. The game > > should multi-home itself just fine. But I did a quick netstat and saw > > that SRCDS doesn't do this, while HLDS does. SRCDS binds to one IP. > > Interesting. Maybe they'll fix this. IIRC, HLDS didn't do this > > before > > CS 1.3 either. > > > Has anyone tried feeding it the IP 0.0.0.0, which normally expands to > all IP-bound interfaces on the machine? > -- > Erik Hollensbe > [EMAIL PROTECTED] > > > ___ > 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
Re: [hlds_linux] srcds with multiple ip address
On Nov 7, 2005, at 2:27 PM, m0gely wrote: K1ll3rD wrote: I really don't think this is possible, I don't think steam will allow me to bind the process to multiple IP addresses. I was going to reply and say don't specify any IP at all. The game should multi-home itself just fine. But I did a quick netstat and saw that SRCDS doesn't do this, while HLDS does. SRCDS binds to one IP. Interesting. Maybe they'll fix this. IIRC, HLDS didn't do this before CS 1.3 either. Has anyone tried feeding it the IP 0.0.0.0, which normally expands to all IP-bound interfaces on the machine? -- Erik Hollensbe [EMAIL PROTECTED] ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] srcds with multiple ip address
K1ll3rD wrote: I really don't think this is possible, I don't think steam will allow me to bind the process to multiple IP addresses. I was going to reply and say don't specify any IP at all. The game should multi-home itself just fine. But I did a quick netstat and saw that SRCDS doesn't do this, while HLDS does. SRCDS binds to one IP. Interesting. Maybe they'll fix this. IIRC, HLDS didn't do this before CS 1.3 either. -- - m0gely http://quake2.telestream.com/ Q2 | Q3A | Counter-strike ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] srcds with multiple ip address
I really don't think this is possible, I don't think steam will allow me to bind the process to multiple IP addresses. The whole reasoning behing this is to be able to increase my upload bandwith, 2 or 3 different ISP which are conneted to the same box. Given some users are on cable, and some are on DSL, they could just pick the faster link. Of course you need to know all IPs in order for this two work but ... I have a linux gateway setup this way and it work great for ip rules and traffic shaping but again, I don't think the application will let me do this. K - Original Message - From: "Ben Kennish" <[EMAIL PROTECTED]> To: Sent: Monday, November 07, 2005 2:23 PM Subject: Re: [hlds_linux] srcds with multiple ip address Regime wrote: Think he means a failover kind of solution, where if one connection fails, you can still use the other. Does not sound very usefull if you ask me.. but thats just my opinion. If you really want to loadbalance the way you say, you'd have to have half the people connect to one IP and the other half to the next.. If its even possible. Unnecessary awkwardness.. UNLESS... perhaps he means the server has connectivity with multiple ISPs, each of which have set up routing to his server with a different IP. So if one link goes down he could still use another. Although this has many problems, not least of which that players are unlikely to think: "oh, the server has gone down. well i better try one of it's other IP addresses!" ;) How are they going to even know that it has multiple IP addresses? etc etc ... -- Ben www.benkennish.co.uk ___ 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
Re: [hlds_linux] srcds with multiple ip address
Regime wrote: Think he means a failover kind of solution, where if one connection fails, you can still use the other. Does not sound very usefull if you ask me.. but thats just my opinion. If you really want to loadbalance the way you say, you'd have to have half the people connect to one IP and the other half to the next.. If its even possible. Unnecessary awkwardness.. UNLESS... perhaps he means the server has connectivity with multiple ISPs, each of which have set up routing to his server with a different IP. So if one link goes down he could still use another. Although this has many problems, not least of which that players are unlikely to think: "oh, the server has gone down. well i better try one of it's other IP addresses!" ;) How are they going to even know that it has multiple IP addresses? etc etc ... -- Ben www.benkennish.co.uk ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] srcds with multiple ip address
what direction are you trying to load balance? I assume downstream, since its a server, and most of your volume is to the client. The problems you will have are varied depending on exactly what your configuration is... Common problems include packet out of sequence problems, and/or replying with the wrong source address. If you are using ADSL to connect to the same ISP twice, and both connections are on the same subnet, then you will have a ton of ARP problems for your defaut gateway. The best solution, and it may not be an option, is have a router that can load balance by session, and that doesn't use a hash to figure out which session goes on which link... (Cisco would work well, many of thier customers don't, I know, I work for one of thier competitors... There might be firewalls that can do this, but I've never used one that could, other than a 3rd party plugin for Checkpoint that did an OK job of balancing, but that was a while ago... If you want to describe the topology in greater detail, I might come up with something for you... Steve K1LL3rD wrote: > I would be able to do load balancing on multiple internet connection doing > it this way, probably just easier to slap a firewall in front and have > multiple Internet address translate to one. > > K > > > - Original Message - > From: "Ben Kennish" <[EMAIL PROTECTED]> > To: > Sent: Monday, November 07, 2005 11:23 AM > Subject: Re: [hlds_linux] srcds with multiple ip address > > >> Hi K, >> >> K1LL3rD wrote: >> >>> Got a server with multiple net connection which I would like to start >>> using different IPs. >> >> >> Just curious but why do you want to do this? i.e. What is the purpose >> of running the same server on multiple IP addresses? >> >> If you don't specify an ip argument, I believe it listens on all >> available addresses but it might be that it listens on the first >> available one; I can't remember. >> >> -- >> Ben >> >> ___ >> 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 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] srcds with multiple ip address
Think he means a failover kind of solution, where if one connection fails, you can still use the other. Does not sound very usefull if you ask me.. but thats just my opinion. If you really want to loadbalance the way you say, you'd have to have half the people connect to one IP and the other half to the next.. If its even possible. Unnecessary awkwardness.. Ben Kennish wrote: K1LL3rD wrote: I would be able to do load balancing on multiple internet connection doing it this way, probably just easier to slap a firewall in front and have multiple Internet address translate to one. I don't understand how having multiple IPs pointing to one machine is load balancing. One IP pointing to many machines perhaps. But many IPs to one machine? ___ 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
Re: [hlds_linux] srcds with multiple ip address
K1LL3rD wrote: I would be able to do load balancing on multiple internet connection doing it this way, probably just easier to slap a firewall in front and have multiple Internet address translate to one. I don't understand how having multiple IPs pointing to one machine is load balancing. One IP pointing to many machines perhaps. But many IPs to one machine? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] srcds with multiple ip address
I would be able to do load balancing on multiple internet connection doing it this way, probably just easier to slap a firewall in front and have multiple Internet address translate to one. K - Original Message - From: "Ben Kennish" <[EMAIL PROTECTED]> To: Sent: Monday, November 07, 2005 11:23 AM Subject: Re: [hlds_linux] srcds with multiple ip address Hi K, K1LL3rD wrote: Got a server with multiple net connection which I would like to start using different IPs. Just curious but why do you want to do this? i.e. What is the purpose of running the same server on multiple IP addresses? If you don't specify an ip argument, I believe it listens on all available addresses but it might be that it listens on the first available one; I can't remember. -- Ben ___ 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
Re: [hlds_linux] srcds with multiple ip address
Hi K, K1LL3rD wrote: Got a server with multiple net connection which I would like to start using different IPs. Just curious but why do you want to do this? i.e. What is the purpose of running the same server on multiple IP addresses? If you don't specify an ip argument, I believe it listens on all available addresses but it might be that it listens on the first available one; I can't remember. -- Ben ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
[hlds_linux] srcds with multiple ip address
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Got a server with multiple net connection which I would like to start using different IPs. /usr/bin/screen -S dod /var/dod/srcds_run -console -game dod -maxplayers 13 +map dod_forestfortress_b2 +ip x.x.x.x +ip x.x.x.x +ip x.x.x.x -pidfile srcds.pid -tickrate 66 +mani_path mani_admin_plugin Obvioulsy the above doesn't work as it will take the last argument +ip x.x.x.x and only use the specified IP. Is this possible without having to place a firewall in front of the box and doing some nasty nating? K -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux