[ale] flushing routing table....

James P. Kinney III jkinney at localnetsolutions.com
Thu Nov 1 08:32:30 EST 2001

Unfortunately, there is no "flush" in the route command. You can echo a
null to the /proc/net/rt_cache to clear out the cache and then do the
same for the /proc/net/route  . This will probably leave the box in an
unstable state since it will now have lost the local loopback route. It
might be better to flush the cache with a null write and use route del
$i in a loop to remove all the standing routes.

On Thu, 2001-11-01 at 08:22, John Wells wrote:
> I'm using RH 7.1, route version 1.96.  Does anyone
> know a way to automatically flush the routing table?
> When I try "route flush", I get:
> Flushing `inet' routing table not supported.
> Thanks,
> John
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
James P. Kinney III   \Changing the mobile computing world/
President and COO      \          one Linux user         /
Local Net Solutions,LLC \           at a time.          /
770-493-8244             \.___________________________./

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 

 PGP signature

More information about the Ale mailing list