[Cialug] Route updates

Dave Weis djweis at internetsolver.com
Thu Feb 15 08:41:07 CST 2007


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.) 

Default route comes either from /etc/sysconfig/network, GATEWAY=x.x.x.x, 
or the older way is to put it in /etc/sysconfig/network-scripts/ifcfg-eth*.

dave

>> -----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.



More information about the Cialug mailing list