标签:linux
一、故障现象:
# 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
本文出自 “老男孩学IT” 博客,请务必保留此出处http://8588356.blog.51cto.com/8578356/1982775
标签:linux
原文地址:http://8588356.blog.51cto.com/8578356/1982775