当我们克隆centos虚拟机无法正常获取IP地址,重启网卡也提示Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]:该如何解决呢,今天为大家演示解决过程:
工具/原料
-
计算机
-
centos6.9 2.6.32-696.el6.x86_64
方法/步骤
-
1、重启网卡提示Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]:
-
2、这是因为克隆的机器没有正确的mac,UUID信息冲突导致的,首先将/etc/udev/rules.d/70-persistent-net.rules文件清空:
-
3、rm -f /etc/udev/rules.d/70-persistent-net.rules文件删除(或者重命名):cat /etc/udev/rules.d/70-persistent-net.rules
-
4、然后将网卡配置文件/etc/sysconfig/network-scripts/ifcfg-eth0的uuid和hwaddr这两行删除:
-
5、执行reboot命令,重启系统
-
6、这时重启网卡就能正常重启了:/etc/init.d/network restart
-
7、查看主机IP地址,正常获取:ip add
引用:https://jingyan.baidu.com/article/e75aca85006645142edac6df.html