Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization.
在linux下的虚拟机出现了这个问题,问题的产生是因为之间做过部分的修改,clone等操作。
补救方案。
CentOS Device does not seem to be present
故障现象:
[root@c1node01 ~]# 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地址
形如:HWADDR="00:0C:29:90:A7:23"
2.然后再做以下操作
[root@c1node01 ~]# rm -rf /etc/udev/rules.d/70-persistent-net.rules
[root@c1node01 ~]# reboot
………………
[root@c1node01 ~]# service network restart
Shutting down loopback insterface: [ OK ]
Bringing up loopback insterface: [ OK ]
Bringing up interface eth0: [ OK ]
[root@c1node01 ~]#