re: persistant routes!

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

 



No one at psyche-list could solve this problem, so I throw it to you
guys :)

In short:
I add some routes with either redhat-config-network, or route add, or
both, (can't quite remember)

Later, I no longer want those routes.  So I use route del to get rid of
them.  Then I notice that every time I start eth0 (eg at boot and any
other time), the routes come back.  So I use redhat-config-network and
delete them.  I immediately re-run redhat-config-network and the routes
are listed there again!!

So this time I delete them again, go to /etc/sysconfig/network-scripts
and delete the routes from route-eth0.  I also find them in
/etc/sysconfig/static-routes so I delete them from there.  Now I restart
eth0, and they're back again!!

I have grep'd _every_single_file_ in /etc for the route ip, and found
nothing.  I've also looked at various daemons and programs that ppl have
mentioned (RIP, OSPF, rdisc) to see if they're setting the routes, but
nothing has turned up.  I doubt this is the answer anyway, because I
originally added the routes.

This is really getting annoying, as every time I boot or restart eth0,
these routes come back, which screws up some internet access.
$ route -n
Kernel IP routing table
   Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
1: 203.16.234.0    172.16.0.8      255.255.255.0   UG    0      0        0 eth0
2: 172.16.0.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
3: 203.39.28.0     172.16.0.4      255.255.255.0   UG    0      0        0 eth0
4: 10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 eth0
5: 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
6: 0.0.0.0         172.16.0.4      0.0.0.0         UG    0      0        0 eth0

(I added the numbers myself to make it easier) routes 1 & 3 are the
problem ones.  I know what all the others are there for, and I put them
there.  (PS I'm not a newbie :)  Any suggestions would be greatly
appreciated!

TIA,
-- 
Iain Buchanan <iain@xxxxxxxxxxxxxxxxxxx>
Bob Barker: "Which one of these lovely womanoids will take home atomic tiara?" 

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux