LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Routes showing up twice in route command (http://www.linuxquestions.org/questions/linux-networking-3/routes-showing-up-twice-in-route-command-4175414714/)

sdonald 07-03-2012 02:37 PM

Routes showing up twice in route command
 
I am having network problems and hopefully have a pointer to my problem. Executing the route command shows:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
89.89.41.0 * 255.255.255.0 U 0 0 0 eth1
89.89.41.0 * 255.255.255.0 U 0 0 0 eth1
89.89.43.0 * 255.255.255.0 U 0 0 0 eth0
89.89.43.0 * 255.255.255.0 U 0 0 0 eth0
89.89.42.0 * 255.255.255.0 U 0 0 0 eth2
89.89.42.0 * 255.255.255.0 U 0 0 0 eth2
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default Wfleet43 0.0.0.0 UG 0 0 0 eth0

Why does each entry show up twice? Could this be causing a problem?
I tried removing one of each route, but they come back on reboot.
Any information would be helpful.

zer0signal 07-03-2012 09:39 PM

What Distro is this running on....


If this is a Redhat based OS, please look in:

ls -l /etc/sysconfig/network-scripts/

for a route file...

sdonald 07-05-2012 02:10 PM

It is redhat linux.
There is an ifcfg-eth0, ifcfg-eth1, and ifcfg-eth2 with the correct data. They were last modified in 2004.
None of the other files in /etc/sysconfig/network-scripts have been modified since installation.

linuxconf --hint routing returns
IPV4ROUTING="true"
DEV_RECONF_ROUTES=""

/etc/sysconfig/static-routes has length of 0 and is empty.

Why would these routes be added twice at boot time?


All times are GMT -5. The time now is 01:55 PM.