Hello,
Thanks for the reply, I have pasted my complete routing table below.
Email Lists wrote:
-> -----Original Message-----
-> From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] 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@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.
Here is my complete route table:
./route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
69.13.211.0 * 255.255.255.192 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 69.13.211.1 0.0.0.0 UG 0 0 0 eth0
The big difference between mine and yours is that the 169.254.0.0 route
is showing up on eth0 - which is the only port connected. I can get into
the box, but the box can not get out to anyplace. I could be looking in
the wrong place for the solution, I figured that this looks wrong to
have this apparent self-assigned IP on my only active ethernet port.
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???
This is my only active port. If I shut it down, the machine goes away.
What does your routing table say?
see above
What does ifconfig say?
./ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:48:89:09:EC
inet addr:69.13.211.30 Bcast:69.13.211.63 Mask:255.255.255.192
inet6 addr: fe80::230:48ff:fe89:9ec/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:301425 errors:0 dropped:0 overruns:0 frame:0
TX packets:39974 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:21343464 (20.3 MiB) TX bytes:8486082 (8.0 MiB)
Base address:0x2000 Memory:c8200000-c8220000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2627 errors:0 dropped:0 overruns:0 frame:0
TX packets:2627 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3340381 (3.1 MiB) TX bytes:3340381 (3.1 MiB)
- rh
--
Robert - Abba Communications
Computer & Internet Services
(509) 624-7159 - www.abbacomm.net
Dale
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos