Re: Routing Table (Feature)

Paul Jakma (paul@clubi.ie)
Wed, 17 Feb 1999 21:37:19 +0000 (/usr/local/etc/localtime)


On Tue, 16 Feb 1999, Richard B. Johnson wrote:

The `ifconfig` command only deletes one. The command has to be executed
twice to delete the second one. The problem is that when my ppp link
is shut down, I do not add two identical routes back (nor should I).
The result is that the second time the ppp link is established, I will
get an error if I try to delete two routes. So, a work-around of
always deleting two identical routes doesn't work very well.

and if we change route to delete all the routes, then you'll nuke
your ppp route.

maybe we should build some heuristics into the route command to
try and figure out when we should delete all duplicate routes,
and when not to.

or perhaps an "-amount_of_devices" parameter to route would be
more practical.

or maybe we should try put some AI stuff into the kernel to
always get the route that the user wants added in. surely an
improvement on the current kernel auto route add stuff.

8^)

somebody please point me at the patch where add_auto_route was
introduced. :)

regards,

Paul.

--
Paul Jakma		paul@clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:

It is better to live rich than to die rich. -- Samuel Johnson

- 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/