Problems with network configuration

Kevin Brown plug-discuss@lists.plug.phoenix.az.us
Wed, 01 Jan 2003 15:15:08 -0700


Mark Phillips wrote:
> I am trying to setup one of my machines with a fixed internal IP address 
> instead of getting one from DHCP. I used ifconfig to change the IP address 
> for eth0, but how do I make it permanent? Every time I reboot, the machine 
> gets the address from my router via DHCP.

In RH you have to edit the /etc/sysconfig/network-scripts/ifcfg-ethX files to 
change their setup permanently.  I don't know where it is stored in other distros.