一、故障现象:
# 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]
原因: 主要是MAC地址重复,配置文件有无
1.Centos虚拟机克隆机的HWADDR为ifconfig -a的MAC地址(发现和之前克隆的MAC地址相同)
# vim /etc/sysconfig/network-scripts/ifcfg-eth0
修改MAC地址:HWADDR 或者删除 UUID不删也能用
2.删除/etc/udev/rules.d/70-persistent-net.rules
删除 etc/udev/rules.d/70-persistent-net.rules 删除后重启机器,系统会自动生成一个70-persistent-net.rules文件
# rm -rf /etc/udev/rules.d/70-persistent-net.rules
# reboot
转载于:https://blog.51cto.com/8588356/1982775