PDA

View Full Version : FC2 Overriding static if in favor of dhcp system set for static


pkraus109
2004-09-17, 03:07 PM CDT
I have a fc2 box that when I set it with a static IP it will maintain the address for about a couple minutes then it will be reset with the DHCP assigned address.

Nothing I can find in my configuration files has anything set for DHCP. Even the GUI network app shows that it’s supposed to be a static address.

Any help is appreciated.


Configuration files below…
[root@advserver devices]# /sbin/mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok

[root@advserver devices]# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.254.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.254.9 0.0.0.0 UG 0 0 0 eth0

[root@advserver devices]# cat ifcfg-eth0
# Intel Corp.|82540EM Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:C0:9F:17:0F:5A
onBOOT=yes
TYPE=Ethernet
#DHCP_HOSTNAME=advserver.pel.com
IPADDR=192.168.254.203
NETMASK=255.255.255.0
USERCTL=no
PEERDNS=yes
GATEWAY=192.168.254.9
IPV6INIT=no

versitycobalt
2004-09-19, 12:00 PM CDT
I had tried static IP settings with ifconfig to find that i only kept it momentarily, then it reverted back to DHCP. I wasn't able to get the Gnome GUI to do it either, so I tried launching system-config-network (ASCII GUI) in a terminal and doing it that way, and it worked for me.

pkraus109
2004-09-21, 10:13 AM CDT
killed the dhclient process.
restarted network services.
Ip stuck.
Bounced the server and the ip still stayed.

Thanks for all the help!

Paul