Re: Routing server traffic thru two external ips.
Getting some good feed back, but I am getting the impression that bird may not be the solution. A few have mentioned loadsharing, and I have looked into this. The issue with loadsharing, from what I've read, my ISP must support that two NIC can share the same IP. The is not an option for me. What I do know is that I can add a route to a specific IP to the routing table and it transmits through the second NIC(eth1), default is eth0. There is no interuption to the game and works great. So if I have 12 hosts( with unique ips ), can bird modify the routing table to put 6 hosts on eth0, and 6 on eth1? Parameters to use could be port, protocol, (bandwidth?). My previous e-mail Hi, I am new and would like to know if this is possible with bird. I currently have a game server setup behind a linux router/firewall which is hooked up to two cable modems via two NICS( eth0 and eth1 ). The idea is that if I have 12( or more ) players, how do I tell the kernel( with me telling using route ) TX packets to 6 players on eth0 and the other 6 on eth1. Any thoughts? Sincerely, Chuck Larson Linux newbie of 8 months _ _____________________________________________________________ Domain powered by www.iReg.com E-mail powered by www.1FreeEmail.com
Hi. On Tue, 20 Feb 2001 15:11:48 -0800 (PST) Chuck Larson <wyatt@coolsend.com> wrote:
Getting some good feed back, but I am getting the impression that bird may not be the solution. A few have mentioned loadsharing, and I have looked into this. The issue with loadsharing, from what I've read, my ISP must support that two NIC can share the same IP. The is not an option for me. What I do know is that I can add a route to a specific IP to the routing table and it transmits through the second NIC(eth1), default is eth0. There is no interuption to the game and works great. So if I have 12 hosts( with unique ips ), can bird modify the routing table to put 6 hosts on eth0, and 6 on eth1? Parameters to use could be port, protocol, (bandwidth?).
This is no problem that should be addressed with bird, I think. You need a kernel that is capable of "equal path multi routes" (I don't recall the correct name of this feature). This means, you add two default routes, one for eth0 and one for eth1. The kernel sees that there are different routes with equal metric for a given address and uses those routes in a round robin schedule (sending one packet over eth0, the next over eth1, the next over eth0 and so on). I think this should work (if I did not fully misunderstood your problem). Bye, Mike -- ------------------------------------ CompuLAN Europe GmbH Development - Wireless Solutions ------------------------------------
participants (2)
-
Chuck Larson -
Michael Renzmann