Removing a network route from the route table

Removing a network route from the route table

Post by Jeff » Mon, 23 Oct 2000 04:00:00



By the look of it this is a network route?
If so try: route del -net 211.224.1.0 netmask 255.255.255.0
basically you do exactly what you did to add just put del in instead


Quote:> My router table has an entry like the following:

> 211.224.1.0     *               255.255.255.0   U     0
> 0        0 eth0

> The command:

> route del 211.224.1.0

> gives the error:

> SIOCDELRT: No such process

> This seems to be true with any network entry, that is, any
> number which ends in 0.
> How do I remove this entry?  (One of the numbers is a typo
> and was entered accidently.)

> Thanks,
> Dan