extra route?

Rick Stevens rstevens at vitalstream.com
Tue Jul 11 02:12:22 UTC 2006


On Mon, 2006-07-10 at 16:57 -0500, Bob McClure Jr wrote:
> On Mon, Jul 10, 2006 at 02:41:41PM -0700, chuck lawrence wrote:
> > greetings,
> > 
> > I've got a centos web server.  is it ok to ask questions here?
> 
> Nope.  Sorry.  Next. ;-)
> 
> > this server was working fine in my test area.  I moved it to the 
> > production network today, changing everything I could find relating to 
> > hostname and network stuff.
> > 
> > it comes up on the new network, with the new hostname, and appears to 
> > work just fine, except...
> > 
> > somewhere there is still a reference to either the old hostname, or the 
> > old route, or both.  I can't get to or from this server from my test 
> > area subnet, and the routing table shows, in addition to the correct 
> > routes, the old one, too.
> > 
> > I modified the following files to effect this change, but I guess I 
> > missed something?
> > 
> > /etc/hosts
> > /etc/nsswitch.conf
> > /etc/sysconfig/network
> > /etc/sysconfig/network-scripts/ifcfg-eth0
> 
> Check for /etc/sysconfig/static-routes.  That file is not normally
> necessary.

Also look for /etc/sysconfig/network-scripts/route-ethx files.

> 
> > also, I'm having no success deleting the bogus route.  could someone 
> > provide an example of a "route del" command?

"route delete -net www.xxx.yyy.zzz netmask aaa.bbb.ccc.ddd"

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-   To understand recursion, you must first understand recursion.    -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list