Load balancing over 4 interfaces
Hello Szymon,
Thanks, It was not space problem after last backslash, I have upgraded from iproute-2.4.7-7 to iproute 2.4.7-11 and this started working !
I'm now sure that it was iproute 2.4.7-7 problem. Thanks
Monday, April 19, 2004, 10:06:53 AM, you wrote:
Quoted 25 lines · SM> GolemMTM wrote:
Quoted 25 lines
Hello lartc!
I have strange problem setting load balancing over 4 interfaces. Something won't accept more than 3 interfaces,
While setting:ip route add default scope global \
nexthop via 0.0.0.0 dev pvc0 weight 1 \ nexthop via 0.0.0.0 dev pvc1 weight 1 \ nexthop via 0.0.0.0 dev pvc2 weight 1It's ok:
ip r l
default
nexthop dev pvc0 weight 1
nexthop dev pvc1 weight 1
nexthop dev pvc2 weight 1But while I try to do same over 4 interfaces:
ip route add default scope global \nexthop via 0.0.0.0 dev pvc0 weight 1 \ nexthop via 0.0.0.0 dev pvc1 weight 1 \ nexthop via 0.0.0.0 dev pvc2 weight 1 \ nexthop via 0.0.0.0 dev pvc3 weight 1
Quoted 2 lines
Quoted 2 lines
I have: RTNETLINK answers: Invalid argument
Where is problem ??
SM> Check if you don't have any space after the last backslash. SM> Once I had 5 uplinks load balanced, so definitely iproute can handle SM> this (now I have 3 uplinks).
SM> I use RedHat 9 with iproute 2.4.7-11 (taken from Fedora Core).
SM> Szymon Miotk
Signature · 6 lines
Best regards, Golem mailto:[email protected] _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/