Gateway problem
Waldher, Travis R
Travis.R.Waldher at boeing.com
Mon Feb 13 17:10:43 UTC 2006
> -----Original Message-----
> From: Administrator TOOTAI [mailto:admin at tootai.net]
> Sent: Sunday, February 12, 2006 4:49 AM
> To: Getting started with Red Hat Linux
> Subject: Re: Gateway problem
>
> brad.mugleston at comcast.net a écrit :
>
> >Running FC4 on one of my computers and for some reason it will
> >not store the gateway after a reboot. I need to type in
> >
> > route add default gw 192.168.1.1 ath0
> >
> >and then it works until the next reboot. I can't remember how or
> >where to put that to make it there after a reboot.
> >
> >
> In /etc/sysconfig/[network,network-scripts] or
> /etc/sysconfig/static-route Ifup-aliases should do it from your ifcfg-ath0
>
> --
> Daniel
I prefer to see the system default gateway (of which, there can only be one) in /etc/sysconfig/network. Add a line:
GATEWAY=x.x.x.x
It drives me nuts when people put the gateways on specific interfaces.
Of course, this is all personal preference.
More information about the Redhat-install-list
mailing list