Re[2]: Load balancing over 4 interfaces

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

SM> GolemMTM wrote:
>> 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 1
>> 
>> It's ok:
>> ip r l
>> default
>>         nexthop dev pvc0 weight 1
>>         nexthop dev pvc1 weight 1
>>         nexthop dev pvc2 weight 1
>> 
>> But 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
>> 
>> 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



-- 
Best regards,
 Golem                            mailto:golem@xxxxxxxxxxx

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux