Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

Following network outage unable to bring up eth0 in a Virtual Machine

Following network outage unable to bring up eth0 in a Virtual Machine

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

Labels (3)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎11-15-2016
Views:
671
Contributors