复制虚拟机centos系统配置网卡后提示异常

    xiaoxiao2021-03-25  65

    异常信息如下:

    Bringing up interface eth0:  Device eth0 does not seem to be present, delaying initialization.      [FAILED]

    今天在本机的虚拟机复制一个操作系统centos,在启动后配置IP及mac地址,发现mac跟之前的操作系统一样。重启服务时出现已上异常

    CentOS Device does not seem to be present  故障现象: [root@localhost~]# 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@localhost~]# rm -rf /etc/udev/rules.d/70-persistent-net.rules  [root@localhost~]# reboot  ………………  [root@localhost~]# service network restart  Shutting down loopback insterface:                                                                                                        [   OK   ]  Bringing up loopback insterface:                                                                                                             [   OK   ]  Bringing up interface eth0:                                                                                                                      [   OK   ]  [root@localhost~]#

    hu_wenjie 认证博客专家 Kubernetes/容器 Linux/CentOS 系统架构 运维开发工程师,负责系统各层级的自动化监控开发、系统的自动化巡检开发、熟悉微服务项目的自动化部署、集群方案部署、熟练掌握故障分析定位等。
    转载请注明原文地址: https://ju.6miu.com/read-40964.html

    最新回复(0)