Sure that would work too i'm sure. I checked yesterday and the GATEWAY variable was set in the /etc/sysconfig/network file, so maybe i need to try adding it to the ifcfg-eth0 file. It's a production box for us so hard to test too much on it but Anton ahd a good suggestion for how to briefly and safely test itlike this: /etc/init.d/network restart ; sleep 10; route add default gw 192.168.1.1 This is good stuff, i wish i had thought of it, sometimes simple solutions like this just eascape me :( Thanks for the suggestions! ----- Original Message ----- From: "Jeff Nelson" <stutterstutt at comcast.net> To: "TCLUG Mailing List" <tclug-list at mn-linux.org>; "TCLUG Mailing List" <tclug-list at mn-linux.org> Sent: Monday, April 05, 2004 1:29 PM Subject: Re: [TCLUG] RHEL AS 2.1 default route > At 08:38 PM 4/4/2004, Mike Partyka wrote: > >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? > > Dunno why it wasn't added. When I needed to configure a static address for > a NIC card, > I put a GATEWAY variable in with the other definitions in > /etc/sysconfig/network-scripts/ifcfg-eth0. This worked for me. > > -Jeff > ---------------------------------------------------------------------------- ---- > _______________________________________________ > 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