<div><div>Hi!<br><br><br></div><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
Manish Kathuria Wrote:<br>
<br>
The method I have adopted is to use a shell script which pings a<br>
popular remote site 's IP (for example <a href="http://www.yahoo.com">www.yahoo.com</a> or<br>
<a href="http://www.google.com">www.google.com</a>) through each of the interfaces every 10 seconds. The<br>
default multipath route is replaced by a single default gateway if<br>
reply is not received for 4 consecutive tries from one of the links.<br>
This is to avoid very frequent failovers. However, the link is treated<br>
as live as soon as a ping reply is received and the multipath route<br>
is activated.</blockquote> </div>Now I'm using the ping options:<br><br> ping -n -w 10 -c 2 -I $lnk1_dev $lnk1_pingtarget<br><br>But so I'm getting some false negatives. Can you show what ping options you use?
<br><br><br><br><br>Tom Lobato<br><br><br><br>