LARTC
[Top] [All Lists]

Re: [LARTC] DGD patch not detecting dead gateway

To: lartc@mailman.ds9a.nl
Subject: Re: [LARTC] DGD patch not detecting dead gateway
From: "Tom Lobato" <tomlobato@gmail.com>
Date: Sun, 28 Jan 2007 14:12:03 -0200
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=FlrlJOO1uoAeqv/isUnrGulxBJVvUWR+rlTxk93B8EUD14gB2iVpeAkfSV/1ur8zQbllyY1FfABCDgoQQ/HUMrksfk7tu/9V5SQxuBqKswNiKZ9OhYerFUkUBBO4MFYzhnc7e5y1sM08dHMEoPoIes21IjNImYodLaHKpJq0aiA=
In-reply-to: <45B55986.6020402@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>
Sender: lartc-bounces@mailman.ds9a.nl
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



_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
<Prev in Thread] Current Thread [Next in Thread>