[SGVLUG] default route

Max Clark max at clarksys.com
Mon Nov 28 09:32:56 PST 2005


James,

There is a couple of different ways you can set this - I use 
/etc/sysconfig/networking.

HTH,
Max

[maxc at www ~]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=www.cthought.com
GATEWAY=216.152.251.65

-- 
   Max Clark
   max [at] clarksys.com
   http://www.clarksys.com

James Neff wrote:
> Greetings fellow LUG'ers,
> 
> I am running Mandriva Linux release 2006.0 (Cooker) for i586 and have a
> routing question.
> 
> My default route is not being saved in between reboots.  Where is the
> BEST place for me to add the default route to a configuration file? 
> 
> The route is correctly entered into
> /etc/sysconfig/network-scripts/ifcfg-eth0 but for some reason its still
> not coming up automatically.  I have to use the "route add default gw "
> command every time after a restart.
> 
> Thanks,
> 


More information about the SGVLUG mailing list