Version
All
Issue
Following network outage unable to bring up eth0 in a Virtual Machine
Symptoms
Following message received when attempting 'service network restart':
#service network restart Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization. [ FAILED ] |
Cause
In a VM or cloned environment the new network interface may have changed on machine, as Linux remembers MAC Addresses in case an old interface is available. The MAC address from the 'ifconfig -a' command should match the fields located in the following two files:
/etc/udev/rules.d/70-persistant-net.rules
/etc/sysconfig/network-scripts/ifcfg-eth0
Solution
Removing the '70-persistant-net.rules' file and rebooting server should resolve issue, however at times it may be necessary to manually update the 'ifcfg-eth0' file as well.
Please review following guide for further details: 11.2. Interface Configuration Files