solved (was: load balancing problems)

2005-08-21 Thread Erez D
the problem with the howto on LARTC was that it didn't really explain wat it was doing so unless you have the same scenario, it will not work i'm trying to describe shortly how to do that, if one have any problems, i will be happy to help maybe i'll write a more detailed howto later first use

Re: solved (was: load balancing problems)

2005-08-21 Thread guy keren
and your scenario was tested with TCP connections? with udp connections (e.g. video streaming over UDP)? how does it handle making sure all packets belonging to the same virtual stream are sent via the same route? --guy On Sun, 21 Aug 2005, Erez D wrote: i'm trying to describe shortly how to

Re: load balancing problems

2005-08-17 Thread Noam Meltzer
Hi Erez, What you are requesting to do is not trivial, though not too complicated. Basically I would suggest you'll read the following documents (the first has a link for the second, but it was worth mentioning here too): http://lartc.org/howto/lartc.rpdb.multiple-links.html

Re: load balancing problems

2005-08-17 Thread Erez D
hi the command line i have used originated from http://lartc.org/howto/lartc.rpdb.multiple-links.html about: http://www.ssi.bg/~ja/#routes are you aware of a specific bug/patch relevant the command i issued, or is it just a pointer to the patches available in general. 10x erez. On 8/17/05,

Re: load balancing problems

2005-08-17 Thread Noam Meltzer
Hi, The command for itself is not enough. The problem is that you send one packet from interface A and the other from interface B. Each interface has a different IP and thus the target machine will not know how to handle it. (It's a bit more complicated, but n/m for now) What you need to achieve

Re: load balancing problems

2005-08-17 Thread Erez D
noam, first, thanks for your reply. i wrote the original mail after reading the howto. i removed the tables, for debug simplicity. i used ping, so there is no need for all the packages be sent to the same interface as ping is connectionless (anyway, linux cache the route and so will do send all

Re: load balancing problems

2005-08-17 Thread Erez D
of cource i did 'ip route del default' before ;-) (otherwise i would get an error, anyway) no, everything else works, all the other static routes work to both ppp0 and eth3, and if i swap the order of the command line, then ppp0 works as default but not eth3, so it seems the problem is not

load balancing problems

2005-08-16 Thread Erez D
hi i have 2 internet connetions: via eth3 and ppp0 i wanted to do load balancing so i did: ip route add default nexthop via ip1 dev eth3 weight1 nexthop via ip2 dev ppp0 weight 1 i test by pinging the internet i get funny results: if the route was selected via ppp0 then it works if the route