Skip to contentSkip to conversation

Load balancing over 4 interfaces

LARTC GolemMTM 1 participant 1 message Apr 18, 2004

lore
Share & tools
lore

GolemMTM

author
#0 lore raw

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 ??

Any suggestions how to make It working over 4 interfaces ? Thanks

Signature · 6 lines
Pozdrowienia,
 GolemMTM

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/