centos 6 虚拟机 重启网卡提示Bringing up interface eth0

    1、重启网卡提示            Bringing up interface eth0:  Device eth0 does not seem to be present,delaying initialization.                    [FAILED]:

centos 6 虚拟机 重启网卡提示Bringing up interface eth0_第1张图片

  1. 2、这是因为克隆的机器没有正确的mac,UUID信息冲突导致的,首先将/etc/udev/rules.d/70-persistent-net.rules文件清空:

    重启网卡提示Bringing up interface eth0:


  2. 3、rm -f /etc/udev/rules.d/70-persistent-net.rules文件删除(或者重命名):cat /etc/udev/rules.d/70-persistent-net.rules

    重启网卡提示Bringing up interface eth0:

  3. 4、然后将网卡配置文件/etc/sysconfig/network-scripts/ifcfg-eth0的uuid和hwaddr这两行删除:

    重启网卡提示Bringing up interface eth0:



  4. 5、执行reboot命令,重启系统

    重启网卡提示Bringing up interface eth0:


  5. 6

    6、这时重启网卡就能正常重启了:/etc/init.d/network restart

    重启网卡提示Bringing up interface eth0:


  6. 7

    7、查看主机IP地址,正常获取:ip add

    重启网卡提示Bringing up interface eth0:


你可能感兴趣的:(服务器)