[CentOS] Problem deleting an active route

Fri Sep 22 07:50:49 UTC 2006
Email Lists <lists06 at abbacomm.net>

-> -----Original Message-----
-> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
-> Behalf Of Dale
-> Sent: Friday, September 22, 2006 12:01 AM
-> To: CentOS mailing list
-> Subject: Re: [CentOS] Problem deleting an active route
-> 
-> Hello,
-> 
-> Distro is a standard CentOS 4.4. Nothing unusual is installed or is
-> running on this box as it was just setup a couple of weeks ago.
-> 
-> As root, I type:
->     ./route del -net 169.254.0.0
-> 
-> which returns an error of:
-> 
-> SIOCDELRT: Invalid argument
-> 
-> This route shows up in Webmin as well as when I type: ./route
-> 
-> This is not configured as a network interface anyplace I can see. eth0
-> has a legitimate, public IP assigned to it
-> 
-> Dale

Im pretty sure if you want to delete a route that you need to use a more
verbose syntax with netmask and gw and etc.

When I do a route on one of my boxes it comes up

[root at srv ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
10.0.0.0        *               255.255.255.0   U     0      0        0 eth1
200.55.44.0     *               255.255.255.0   U     0      0        0 eth0
169.254.0.0     *               255.255.0.0     U     0      0        0 eth1
default         br1.abbacomm.ne 0.0.0.0         UG    0      0        0 eth0

eth0 is active and up. Eth1 is not active and not plugged into anything.

I show the route as well only because I have an inactive interface meaning
it is not admin up and so there really is no route because the interface
isn't talking to another external interface.

There is no reason to delete it that I can think of.

If it is not on your active interface, down the other one as long as you can
get back in the machine and forget about it???

What does your routing table say?

What does ifconfig say?

 - rh

--
Robert - Abba Communications
   Computer & Internet Services
 (509) 624-7159 - www.abbacomm.net