lkml.org 
[lkml]   [1999]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectip route , needed feature ?

Hello Alexey , Having done a little playing around with the
'ip' tool . I have a suggestion for a new feature . If it
doesn't already exist .

For: ip route

flush - Flushes all routes , except the interface defined routes .
will remove all routes to interfaces that have not been
installed by ifconfig .

Reasoning :
f.e.: given :
ifconfig eth0 10.0.0.1 netmask 255.255.255.0
ifconfig eth1 10.0.1.1 netmask 255.255.255.0

Now we add thru a route daemon gated/in.route/... a whole
series of routes . At present I have no easy way to get back
to a clean state without 'reboot' . Is there some feature
already in place within 'ip' or 'route' that will allow me to
reasonably easily clean my route stack back to just the
interface routes ? Also can 'ip' be used under 2.0.x series ?
Tia, JimL
+-----------------------------------------------------------------------+
| James W. Laferriere - Network Engineer - babydr@baby-dragons.com |
| System Techniques - 25416 - 22nd S. - Des-Moines, WA 98198 |
| Give me VMS -or- Give me Linux -but- only on AXP |
+-----------------------------------------------------------------------+


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.281 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site