LARTC
[Top] [All Lists]

Re: [LARTC] DGD patch not detecting dead gateway

To: "Tom Lobato" <tomlobato@gmail.com>
Subject: Re: [LARTC] DGD patch not detecting dead gateway
From: "Manish Kathuria" <mkathuria@tuxtechnologies.co.in>
Date: Sun, 28 Jan 2007 22:05:26 +0530
Cc: lartc@mailman.ds9a.nl
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <7fe14e000701280812u55b87308p331ed368e2d6412a@mail.gmail.com>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <7fe14e000701182100l5b1474eai853a0077c821a835@mail.gmail.com> <1df4abe60701191045q32c78d97h1ebee0846b5181f@mail.gmail.com> <45B55986.6020402@gmail.com> <7fe14e000701280812u55b87308p331ed368e2d6412a@mail.gmail.com>
Sender: lartc-bounces@mailman.ds9a.nl
On 1/28/07, Tom Lobato <tomlobato@gmail.com> wrote:
> 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


Please see the script posted earlier. The simple ping command with the
following options is repeated every 10 seconds using an endless loop.

ping -I $EXTIF1 -c 1 $TESTIP > /dev/null  2>&1

--
Manish Kathuria
Tux Technologies
http://www.tuxtechnologies.co.in/
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>