OK, I think i have derived the answer from the earlier response. Please tell
me if i have this wrong.

Looking at my RHEL WS 3 box at home, the network file has only two lines
which describe the hostname and the whether or not to use networking. This
box uses DHCP which is why i have no gateway listed in that file.

The server at work was statically addressed during the setup. At which time
i would have set for eth0 the gateway among other things. But for some
reason the GATEWAY entry was not added to /etc/sysconfig/network and that is
why rebooting it results in no default gateway. So if i add
GATEWAY=192.168.1.1 then it should be "all good"?

Can anyone tell me why during the setup the GATEWAY varable isn't added to
/etc/sysconfig/network when you setup your NIC?

Thanks again!


----- Original Message ----- 
From: "Anton Yurchenko" <phila at cascopoint.com>
To: "TCLUG Mailing List" <tclug-list at mn-linux.org>
Sent: Sunday, April 04, 2004 8:06 PM
Subject: Re: [TCLUG] RHEL AS 2.1 default route


> Mike Partyka wrote:
>
> > Hello,
> >
> > Can someone tell me where the default route information on Redhat
> > Enterprise Linux is stored? We have about a dozen of these servers at
> > work and it seems that whenever one is rebooted we cannot get a hold
> > of it again remotely, when i check netstat -rn it seems as though is
> > has no default route. when i do "route add default gw 192.168.1.1" and
> > restart the NIC is works again.
>
> /etc/sysconfig/network
>
> variable is called GATEWAY
> set it to you liking
>
> >
> > Thanks,
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> >http://www.mn-linux.org tclug-list at mn-linux.org
> >https://mailman.real-time.com/mailman/listinfo/tclug-list
> >
>
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> http://www.mn-linux.org tclug-list at mn-linux.org
> https://mailman.real-time.com/mailman/listinfo/tclug-list


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list