[LARTC] Multi-path routing only using last nexthop in default
route.
Julian Anastasov
ja at ssi.bg
Wed Jan 18 09:54:37 CET 2006
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 at ssi.bg>
More information about the LARTC
mailing list