[LARTC] DGD patch not detecting dead gateway

Tom Lobato tomlobato at gmail.com
Sun Jan 28 17:12:03 CET 2007


Hi!


Manish Kathuria Wrote:
>
>   The method I have adopted is to use a shell script which pings a
> popular remote site 's IP (for example www.yahoo.com or
> www.google.com) through each of the interfaces every 10 seconds. The
> default multipath route is replaced by a single default gateway if
> reply is not received for 4 consecutive tries from one of the links.
> This is to avoid very frequent failovers. However, the link is treated
> as live as soon as a  ping reply is received and the multipath route
> is activated.


Now I'm using the ping options:

    ping -n -w 10 -c 2 -I $lnk1_dev $lnk1_pingtarget

But so I'm getting some false negatives. Can you show what ping options you
use?




Tom Lobato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ds9a.nl/pipermail/lartc/attachments/20070128/8bd85059/attachment.html


More information about the LARTC mailing list