Load balancing over 4 interfaces

Linux Advanced Routing and Traffic Control

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

 



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

-- 
Pozdrowienia,
 GolemMTM

_______________________________________________
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