(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 specific to a certain interface.
i looked again using 'ip rule show, ip route show, ip route show table local, ip route show table default, ip link show, ip addr show' and didn't see anything out of the ordinary.
i also rechecked the firewall (iptables) rules, including postrouting.
it seems like a bug in 'ip route'
i just wander which patch fixes it
10x
erez.
On 8/17/05, Noam Meltzer <[EMAIL PROTECTED]> wrote:
Hi,
one other thought:
the ppp0 is a tunnel - it is carried upon another, real, interface.
is it possible that after you have changed the default route you
caused the ppp0 to stop working?
Noam
On 8/17/05, Erez D < [EMAIL PROTECTED]> wrote:
> 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.
> > >
> >
>
>
