From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arthur van Leeuwen Date: Fri, 27 Apr 2001 11:41:18 +0000 Subject: Re: [LARTC] Will advanced linux routing help me Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Fri, 27 Apr 2001, Sushil Suresh wrote: > At the moment we are using trace and ping to check the availability of a > particular site, and the status of a particular ISP Yes, that is the only thing you can do. > The problem faced in making use of these commands in a script is that, they > may fail in case of congestion and may be misunderstood as failure of a > particular ISP. Unfortunately, this cannot be helped, unless you have some layer-2 indication of the link still being up (something like carrier detect on modems). This is not usually the case, however. > Also how and why do you flush the route cache? The why is trivial: to make sure the routing code starts off with a clean slate and you're not surprised by routes you think you have deleted. The how is equally simple: ip route flush table cache Doei, Arthur. -- /\ / | arthurvl@sci.kun.nl | Work like you don't need the money /__\ / | A friend is someone with whom | Love like you have never been hurt / \/__ | you can dare to be yourself | Dance like there's nobody watching _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/