re: mysterious routes appearing

Iain Buchanan <[email protected]>
Newsgroups gmane.linux.redhat.release.psyche
Message-ID <1056411182.1767.18.camel@orpheus>
On Tue, 2003-06-24 at 02:59, Keith Morse wrote:
> On 23 Jun 2003, Iain Buchanan wrote:
> 
> > [snip]
> > 
> > Where are these routes coming from?  I can't find any file in
> > /etc/sysconfig/network-scripts that has the information.  I delete the
> > routes using redhat-config-network but when I run redhat-config-network
> > again, the routes are back.
> k
> 
> The other place to look is /etc/sysconfig/static-routes.

Thanks I missed that one.  Now /etc/sysconfig/static-routes is empty (it
did have the routes in it) Also,
/etc/sysconfig/network-scripts/route-eth0 is empty (it also had the
routes in it).

Now I do ifdown eth0 and then ifup eth0 and the routes come back again. 
Then I run redhat-config-network and the routes are listed under eth0. 
Any more ideas?

route -n:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
203.16.234.0    172.16.0.8      255.255.255.0   UG    0      0        0 eth0
172.16.0.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
203.39.28.0     172.16.0.4      255.255.255.0   UG    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         172.16.0.4      0.0.0.0         UG    0      0        0 eth0

The ok routes are obviously 2, 4 & 5.  The other two come back all the time!

Thanks,
-- 
Iain Buchanan <[email protected]>
Don't let Krusty's death get you down, boy.  People die all the time.
Just like that.  Why, you could wake up dead tomorrow.  Well, good night.

		-- Homer Simpson
		   Bart the Fink
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA+944tjKy7cKDHw6kRAud7AJ9sPBwYejn/4rOetJcY9GYc3nNsBgCfVPoP
BWk6RW7+Sf6YsYEi+H8L+3A=
=Tkf1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.