[plug] k 2.2.3 a question.

Gavin Tweedie tweedie at nw.com.au
Fri Mar 19 10:25:43 WST 1999


> ~$ route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> network addr    *               255.255.255.0   U     0      0        0 eth0
> network addr    *               255.255.255.0   U     0      0        0 eth0
> 127.0.0.0       *               255.0.0.0       U     0      0        0 lo
> default         gateway addr    0.0.0.0         UG    0      0        0 eth0
> 
> 
> I know this doesn't affect anthing.  I just want to know:
> a) what is doing this (and why ??)
when you ifconfig up an interface it adds the route...just the way it is :)

> b) is there anyway to change it ???
Change your scrips so that they dont add a route as well
or
before your script adds the route, add in a "route del -net network addr"
then it will remove the "automatic" route and you script can do as it
pleases.

Gavin



More information about the plug mailing list