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