-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 27 Jun 2003 10:05:11 +0930, Iain Buchanan wrote: > No one at psyche-list could solve this problem, so I throw it to you > guys :) No wonder with such a confusing thread. Surely, when someone asks you to run a recursive grep on the /etc/sysconfig dir, you would find where those routes are configured. Have you looked in the file /etc/sysconfig/network where some users still configured gateways? > 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! - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+/EVV0iMVcrivHFQRAvG4AJ9JgAMWSWQPFit1OfsbyzhYWp/R3gCeLCpL M7j8m7TgcwoT0bvIPxbF5Fw= =o/JC -----END PGP SIGNATURE-----