MULTIPATH Link

Hi All.

I am trying to create a debian router with load balance, but i get no success....

I set up a table with 2 default routes, as said in LARTC tutorial:

ip rule add prio 222 table 222
ip route add default table 222 proto static \
nexthop via $IPGW1 dev $INTERFACE1 weight $WE1 \
nexthop via $IPGW2 dev $INTERFACE2 weight $WE2

But it doesn matter what I do, all packets go bu the second route (IPGW2). If I change the command above to this:

ip route add default table 222 proto static \
nexthop via $IPGW2 dev $INTERFACE2 weight $WE2 \
nexthop via $IPGW1 dev $INTERFACE1 weight $WE1

I will get the second route too (IPGW1 in this case)

I am using etch, uname gives-me "Linux gateway 2.6.18-3-486 #1 Mon Dec 4 15:59:52 UTC 2006 i686 GNU/Linux"

Anyone can help or give an ideia??

Thanks a lot

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

MULTIPATH Link

I have exactly the same problem. I have made apt-get upgrade; apt-get upgrade on 26 Feb 2007, so I think all packages on my system are up to date. Besides, I have seen people asking the same question on the web rather often.

MULTIPATH Link

I have managed to solve (workaround) this problem by recompiling Debian's kernel without CONFIG_IP_ROUTE_MULTIPATH_CACHED=y option set. Everything works great!

Syndicate content