On 27 Jun 2003, Iain Buchanan wrote: > 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!! you could brute force the thing and do rpm -e redhat-config-network. :-) It is not that hard to configure the thing by hand. > 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! Assuming you did not like my suggestion above try running a egrep -R "(203\.16\.234)|(203\.39\.28)" * at first on /etc. If that turns up nothing then do it as root from /. The worst thing that will happen is you will get nothing useful. HTH, -- ......Tom Registered Linux User #14522 http://counter.li.org tdiehl@xxxxxxxxxxxx My current SpamTrap -------> mtd123@xxxxxxxxxxxx