installed in the KVM CentOS Linux systems. Restart the system after the power outage, the network suddenly does not pass.
Ifconfig-a|more didn't see eth0. Then restart the Network service, the error is as follows:
Failure phenomena:
Service Network restart
Shutting down loopback insterface: [OK]
Bringing Up loopback insterface: [OK]
Bringing up interface Eth0:device eth0 does no seem to be present,delaying initialization. [FAILED]
Workaround:
1. First, open the/etc/udev/rules.d/70-persistent-net.rules
Vi/etc/udev/rules.d/70-persistent-net.rules:
Then log down the MAC address of the eth1 NIC.
2. Open/etc/sysconfig/network-scripts/ifcfg-eth0
Vi/etc/sysconfig/network-scripts/ifcfg-eth0:
Change device= "eth0" to Device= "eth1",
Change the current hwaddr address of the eth0 to the MAC address of the eth1 NIC that has been recorded. hwaddr= "XX:XX:XX:XX:XX:XX".
3. Finally, restart the network
Service Network restart
Or
/etc/init.d/network restart
In this way, the network service is normal.
This article is from the "Lin XI" blog, please be sure to keep this source http://lutaoxu.blog.51cto.com/4224602/1569459
CentOS Linux Solution device eth0 does not seem to be present