----- Original Message -----
From: "AAAunderground" <spencer at sihope.com>
To: <tclug-list at mn-linux.org>
Sent: Thursday, June 21, 2001 02:38
Subject: [TCLUG] default gw


> I have RH 7.1 on a box. I installed it without a nic. After installing the
> nic and configuring the network everything is peachy. When I reboot
(rarely)
> ifconfig forgets about the default gw. It is a quick command to tell it
whats
> up, but needless. I know there must be an init file I need to update, I
just
> have yet to find the correct one. Can I get one clue?

If memory serves...

/etc/sysconfig/network/network-scripts/ifcfg-eth0

should contain lines like:

IPADDR=192.168.100.100
NETMASK=255.255.255.0
etc.

You can add a

GATEWAY=192.168.100.1