Subj : IP address keeps changing...help! To : comp.os.linux From : Joe Attardi Date : Thu Jul 08 2004 05:29 am Hi all, I'm running a Linux box on my home network mainly for purposes of NAT / internet sharing. Everything works fine - eth0 goes to the LAN, with an IP of 192.168.0.1, and eth1 goes to the cable modem, with an external IP. I'm also running dhcpd on eth0, to give out IP addresses and such to computers on my local network. My problem is - every once in a while, it seems that eth0 will request an IP address from dhcpd, so it gets assigned an IP of, say, 192.168.0.254. Since the other computers have the default gateway set to 192.168.0.1, obviously all the computers lose their connection, and I have to manually log in to the box and run the command 'ifconfig eth0 192.168.0.1' to set it back. Here is my /etc/sysconfig/networking/devices/eth0 file: ONBOOT=yes USERCTL=no PEERDNS=yes TYPE=Ethernet IPADDR=192.168.0.1 DEVICE=eth0 HWADDR=00:60:97:3b:69:e5 BOOTPROTO=none NETMASK=255.255.255.0 BOOTPROTO is not set to DHCP, and it's clearly set to use 192.168.0.1. Even when I restart the networking system (/etc/init.d/network restart), it still will pull an IP address from the DHCP server after a few hours. Is there _any_ way I can stop this from happening? Thanks for any help anyone can offer... Joe .