赵荣涛's Archivers

From admin on 2014-08-10 23:52:29

Device eth0 does not seem to be present, delaying initialization解决办法

VMware克隆CentOS虚拟机,启动网卡报错:

Device eth0 does not seem to be present,delaying initialization

<img title="1" src="http://www.oicto.com/wp-content/uploads/2014/08/11.png" alt="" width="742" height="129" />

报错原因:

克隆虚拟机时,把原虚拟机的MAC地址也克隆过来了。

解决办法为:

1.使用ifcnfig -a 查看当前主机mac地址

<img class="aligncenter size-full wp-image-1529" title="3" src="http://www.oicto.com/wp-content/uploads/2014/08/3.png" alt="" width="586" height="313" />

记录下查询的MAC地址。同时可以看到,没有查询到eth0网卡,而是eth1。实际上network-scripts下查看是没有eth1网卡的。

2.修改eth0网卡硬件地址为当前地址
vi /etc/sysconfig/network-scripts/ifcfg-eth0

<img class="aligncenter size-full wp-image-1530" title="5" src="http://www.oicto.com/wp-content/uploads/2014/08/5.png" alt="" width="463" height="421" />




3.删除70-persistent-net.rules文件
rm -f /etc/udev/rules.d/70-persistent-net.rules

4.重启系统 reboot

 

 

 

 

 

 

 

 

 

查看完整版本: Device eth0 does not seem to be present, delaying initialization解决办法

Tags: