iproute2 load balancing problem - TechRepublic
General discussion
December 25, 2002 at 01:38 PM
luie

iproute2 load balancing problem

by luie . Updated 23 years, 5 months ago

using iproute2 for load balancing following problems are encountered:
1) when one interface/ISP is down packets that were routed to that interface are not rerouted to the other interface.
2) ip route add default scope global nexthop via $P1 dev $IF1 weight 1 nexthop via $P2 dev $IF2 weight 1
a) using this rule means both ISPs have equal priority,
b) which one will the kernel choose?
c) making the weight of one ISP higher means it has lower priority, right?

This discussion is locked

All Comments