Linux-Hams archive - September 1997: Re: To del a network route ?

Re: To del a network route ?

Terry Dawson (lhb.baxm@utl.pt)
Thu, 11 Sep 1997 10:33:08 +1000


Patrick Arnoul wrote:

> How to delete the default "network" route created by the mandatory
> steps needed to setup a baycom interface ? This is my question.

> The command "route del -net 44.151.96.0" is not accepted, only routes
> to hosts can be removed.

You're using an alpha kernel (I can tell :) and experiencing an
alpha feature. In 2.1.* kernels the network route is automatically
created based on the netmask you supply.

A simple 'route del 44.151.96.0' works on 2.0.* kernels, that may
still work on the 2.1.* kernels. If not, the 2.1.* kernels will use
a new routing command called iproute which should enable you to
make the appopriate deletion.

regards
Terry