[CentOS] What on Centos is wiping out my eth0 IP address every 5 minutes?

Rock Rocksockdoc at gmail.com
Tue Jul 23 22:51:05 UTC 2013


On Tue, 23 Jul 2013 14:50:35 -0700, John R Pierce wrote:

> the interface is probably configured for DHCP via 
> /etc/sysconfig/network-scripts/ifcfg-eth0  and your system is 
> undoubtedly running network-manager.

I don't know *how* to tell if I'm running network-manager, but, 
I'm running whatever everyone else runs on Centos since the 
home broadband network has been working for a year or more with
this laptop without problems.

When I set the laptop back to normal (on the home wireless network), 
here is what shows up when I right click on the network icon: 
 http://i43.tinypic.com/11h7ynk.png

Interestingly, that ifcfg-eth0 file doesn't exist in:
$ ls /etc/sysconfig/network-scripts/ifcfg-eth0
=> ifcfg-Auto_eth0  ifdown-post	ifup-ippp    ifup-tunnel
=> ifcfg-lo	 ifdown-ppp	ifup-ipv6    ifup-wireless
=> ifcfg-wlan0	 ifdown-routes	ifup-isdn    init.ipv6-global
=> ifdown	 ifdown-sit	ifup-plip    net.hotplug
=> ifdown-bnep	 ifdown-tunnel	ifup-plusb   network-functions
=> ifdown-eth	 ifup		ifup-post    network-functions-ipv6
=> ifdown-ippp	 ifup-aliases	ifup-ppp
=> ifdown-ipv6	 ifup-bnep	ifup-routes
=> ifdown-isdn	 ifup-eth	ifup-sit

But, that file does apparently exist elsewhere:
$ sudo updatedb; locate ifcfg-eth0
=> /etc/sysconfig/networking/devices/ifcfg-eth0
=> /etc/sysconfig/networking/profiles/default/ifcfg-eth0

$ cat /etc/sysconfig/networking/devices/ifcfg-eth0
=> DEVICE="eth0"
=> NM_CONTROLLED="yes"
=> ONBOOT=yes
=> TYPE=Ethernet
=> BOOTPROTO=none
=> DEFROUTE=yes
=> IPV4_FAILURE_FATAL=no
=> IPV6INIT=no
=> NAME="System eth0"
=> UUID=5fb06ba0-0bb0-7ffb-45a1-d6edd65f3e03
=> HWADDR=A0:BE:C1:D8:E5:F1 
=> IPADDR=192.168.1.254
=> PREFIX=24
=> GATEWAY=192.168.1.20
=> LAST_CONNECT=1346858976

Q: Does the information above help?





More information about the CentOS mailing list