CentOS配置eth0重启报错提示Device eth0 does not seem to be present,delaying initialization.

故障现象:CentOS6.6 从虚拟机中克隆的一个Linux服务器,配置好ifcfg-eth0网卡后,重启网络报错

故障原因:可能是克隆虚拟机后,虚拟机(Vmware)中移动了Centos系统对应的配置文件,导致重新配置时,网卡的MAC地址变了,输入ifconfig eth0,找不到eth0

解决办法:需要删除旧虚拟机的网络配置文件[root@hejian ~]# rm -f /etc/udev/rules.d/70-persistent-net.rules,然后重启虚拟机[root@hejian ~]#shutdown -r now

然后再重启网络[root@hejian ~]#/etc/init.d/network restart

猜你喜欢

转载自www.cnblogs.com/hejian2836/p/10542028.html