I'm running a RedHat 9 system, and I'm trying to configure its primary
network interface (eth0) to have a static IP address. I run 'setup',
configure all of the proper settings under 'Network Configuration' (to
my knowledge), and verify the contents of
/etc/sysconfig/network-scripts/ifcfg-eth0:
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.8.15
NETMASK=255.255.255.0
GATEWAY=192.168.8.1
But if I do a network restart (or even a reboot, for that matter),
whenever the eth0 interface comes back up, it keeps querying my DHCP
server for its settings, and configuring the interface as such.
Am I missing a configuration step? I've tried various things like
getting rid of the dhclient-eth0.leases file and dropping the lease
before resetting the network, but I can't find any combination that
will solve my problem. It seems like I must be missing some simple and
obvious way to turn the DHCP client off. But if it's down the
/etc/rc.d/init.d/network rabbit hole, I haven't found it yet.
Any help would be much appreciated. I'm looking forward to moving on
past this one.
Thanks,
Kevin