Re: [LARTC] Trouble using "nexthop"

Linux Advanced Routing and Traffic Control

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

 



Hi Jorge,

Thanks. Unfortunately not the fix:

# ip ro add default scope global nexthop via 66.xx.yy.209 dev eth1 nexthop via 65.yy.xx.97 dev eth2
RTNETLINK answers: Invalid argument

# ip ro add default equalize scope global nexthop via 66.xx.yy.209 dev eth1 nexthop via 65.yy.xx.97 dev eth2
RTNETLINK answers: Invalid argument

Sigh,
Whit


On Wed, Dec 05, 2001 at 06:15:28PM +0100, jcastellet@xxxxxxxxxxx wrote:
> I think you must include "scope global" words, line must be like this:
> 
> # ip ro add default scope global \
>  nexthop via 65.yy.xx.97 dev eth2 \
>  nexthop via 66.xx.yy.209 dev eth1
> 
> If you want to equalize traffic you must add the "equalize" word after
> "default" :
> 
> # ip ro add default equalize scope global \
>  nexthop via 65.yy.xx.97 dev eth2 \
>  nexthop via 66.xx.yy.209 dev eth1
> 
> Regards,
> Jorge



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