[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Unwanted route in routeing table



William L. Thomson Jr. wrote:
For some reason on all my RH 9 boxes I have a route that just shows up
in my routing table. I am not sure what is putting it there. I have
nothing abnormal at the moment. I have looked in all the places I know
to look, but still have no explanation for it.

When I enter route -n here is the output

192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.1.254   0.0.0.0         UG    0      0        0 eth0

Now where is this route coming from and how can I get rid of it

169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0

I keep manually removing it, but if I reboot or restart the network it
appears again.

What is going on? I have more than one machine with this entry in the
routing table.

The correct solution to get rid of it is to add the line:


NOZEROCONF=yes

to ALL interface config files. That means in ifcfg-eth0 AND ifcfg-lo AND for any other interfaces you have. Doing this prevents the route from being set, and I've verified it on my RHL9 system. This is because ifup sets it for every interface.

-ste





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]