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, Noam Meltzer <[EMAIL PROTECTED]> wrote:
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
http://www.ssi.bg/~ja/#routes

The first one is one the sections of "Linux Advanced Routing & Traffic
Control HOWTO"
The second is a page with some kernel patches that can help you
achieve your goal. (It also points for what he calls nano's howto,
which explains how to use these patches)

goodluck,
Noam

On 8/16/05, Erez D <[EMAIL PROTECTED]> wrote:
> 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 was selected via eth3, then nothing is sent out (tcpdump shows nothing)
>  ( i know which route was selected by doing 'ip route show cache')
>
>  if i swap the order of the interfaces in the above line, then ppp0 does not work and eth3 does
>  so it seems that routes through the first interface specified does not work
>
>  however, if i only specify one of the interfaces (does not matter which) then it works ok for it.
>
>  any idea ?
>
>  btw: my box is configured to do nat via ppp0, but not via eth3 (it is done further on the way at the isp)
>
>  10x,
>  erez.
>

Reply via email to