CentOS Device does not seem to be present
故障现象:
# service network restart
Shutting down loopback insterface: [ OK ]
Bringing up loopback insterface: [ OK ]
Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]
解决办法:
1.修改Centos虚拟机克隆机的HWADDR为ifconfig -a的MAC地址
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0C:29:DC:79:AF
…………………………
…………………………
看到上面的“HWaddr 00:0C:29:DC:79:AF”没有?把“00:0C:29:DC:79:AF”记录下来,然后
# vim /etc/sysconfig/network-scripts/ifcfg-eth0
把里面的HWADDR改成刚才记下来的那个,
即:HWADDR=00:0C:29:DC:79:AF
保存退出。
2.接着进行如下操作
# rm -rf /etc/udev/rules.d/70-persistent-net.rules
# reboot
…………………………
# service network restart
Shutting down loopback insterface: [ OK ]
Bringing up loopback insterface: [ OK ]
Bringing up interface eth0: [ OK ]
看到三个OK,网络配置成功