Re: Multi-path routing only using last nexthop in default route.

Linux Advanced Routing and Traffic Control

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

 



	Hello,

On Mon, 16 Jan 2006, Jody Shumaker wrote:

> ${IP} route add default table 221 proto static \
>             nexthop via ${EXTGW2} dev ${EXTIF2} weight 1\
>             nexthop via ${EXTGW1} dev ${EXTIF1} weight 5
>
> With this command, connections going out from my network always seem to use
> the GW1 route.  I if I reverse the order of the nexthop's to list GW1 first
> and GW2 second, then the reverse happens and all outgoign connections use
> GW2.  I'm going to attempt to test this better by attempting a large number
> of connections to a large list of ip's, but in running this setup I've never
> seen it use both gateway's.

	Do you have script to ping/arping the gateways on eth device(s)?
The NOARP devices are always preferred if the GWs on ARP devices are
not marked reachable in ARP cache.

Regards

--
Julian Anastasov <ja@xxxxxx>
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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