[LARTC] iproute balancing trough virtual NIC

Roberto Barbieri roberto_barbieri at mm.st
Fri Dec 2 12:13:00 CET 2005


Hi,

i need to setup a equalized route like this:

# ip route add default scope global equalize nexthop via xx.xx.5.254  
dev eth1 nexthop via xx.xx.5.254 dev eth2


The problem i'm having is that i need to use virtual interfaces too.
Example (something like that):

  ip route add default scope global equalize nexthop via xx.xx.5.254  
dev eth1 nexthop via xx.xx.5.254 dev eth2 \
nexthop via xx.xx.5.254 dev eth1:0 nexthop via xx.xx.5.254 dev eth2:0

The problem is that ip route doesn't seem to accept virtual NIC as  
device.

There is a way to do this?

Thank you!

Roberto


More information about the LARTC mailing list