[Cialug] Route updates

Daniel Wittenberg daniel-wittenberg at starken.com
Thu Feb 15 08:40:59 CST 2007


Default gateway is held in /etc/sysconfig/network file as GATEWAY  -OR-
in /etc/sysconfig/network-scripts/ifcfg-<interface>.  If you have
multiple gateway statements the last one read wins, and makes things
very interesting for troubleshooting :)

Dan

On Thu, 2007-02-15 at 08:38 -0600, Nathan C. Smith wrote:
> If there is nothing in the static-routes file where is the default
> route
> coming from?  A file for the interface configuration?
> 
> (network config is one area where the GUI has been my crutch for too
> long.)
> 
> -Nate
> 
> > -----Original Message-----
> > From: Dave Weis [mailto:djweis at internetsolver.com]
> > Sent: Thursday, February 15, 2007 8:35 AM
> > To: Central Iowa Linux Users Group
> > Subject: Re: [Cialug] Route updates
> >
> > Nathan C. Smith wrote:
> > > Where is route information stored?
> > > If I do a route add  or del is the new route permanent?
> >
> > No it's not.
> >
> > > Is the information about routing stored somewhere in /etc
> or /var ?
> > > I'm mostly asking about debian/ubuntu, but curious about
> > redhat/fedora.
> >
> > On redhat based systems there is a file called
> > /etc/sysconfig/static-routes that is created by the sysadmin to
> > automatically make static routes when the system boots. The normal
> > routes for each interface are created when the interfaces come up.
> >
> > dave
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
> >
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
> 
> 
> 
-- 
=======================
Daniel Wittenberg
RHCE
President/CTO
The Starken Group Ltd.
http://www.starken.com
(877) 782-7536 x1001


More information about the Cialug mailing list