问题:Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]—— 找不到网卡。

克隆虚拟机的时候或其他情况出现以下问题(命令service network restart):
 
Bringing up interface eth0:  Device eth0 does not seem to be present,delaying initialization.                    [FAILED] 
 
1、造成的原因:
第一次创建的时候,在文件:
/etc/sysconfig/network-scripts/ifcfg-eth0
里面设定了网卡0绑定了MAC地址,所以在文件:
/etc/udev/rules.d/70-persistent-net.rules
里面还有该绑定的规则。
 
2、解决方法:
(1)如果文件:
/etc/sysconfig/network-scripts/ifcfg-eth0
里面有写定的MAC地址,先把改行删掉
(2)使用命令
# rm -rf /etc/udev/rules.d/70-persistent-net.rules
把绑定的文件70-persistent-net.rules删掉
(3)重启虚拟机
#reboot
重启后:
如果没有在ifcfg-eth0文件里面写了ONBOOT=yes要使用命令:
# service network restart
启动后,使用命令ifconfig即可看到ip
 
3、预防措施:
(1)练习或者安全要求不高的操作,建议在ifcfg-eth0文件里面去掉MAC地址一行
(2)要求安全的情况下,要修改ifcfg-eth0和70-persistent-net.rules下的绑定MAC
 
原文地址:https://www.cnblogs.com/miao-zp/p/4590748.html