您的位置:首页 > 其它

" Device eth0 does not seem to be present, delaying initialization"

2017-05-13 18:12 387 查看
错误:"
Device eth0 does not seemto be present, delaying initialization",
是因为70-persistent-net.rule文件中的网卡名称与网卡配置文件(ifcfg-eth0)中的名称不一致造成的,即因名称不一致而找不到网卡eth0,所以网卡eth0不存在
解决一:
修改70-persistent-net.rule文件,将name修改为ifcfg-eth0文件中DEVICE的值,如下图:





然后重启系统 
reboot,
也可以修改ifcfg-eth0文件中DEVICE的值,修改此文件一般不需要重启系统,只需重启network 
service network restart
解决二:
直接删除70-persistent-net.rule文件然后重启系统

rm -f/etc/udev/rules.d/70-persistent-net.rule

reboot
 
或许还会报错:
Device eth0 hasdifferent MAC address than expected, ignoring
这是由于网卡mac地址配置错误导致的,即ifcfg-eth0文件中配置的网卡地址和实际硬件的mac地址不一致,
解决:修改ifcfg-eth0文件的mac配置,



查看eth0网卡的mac地址;ifconfig
eth0



 
总结:以上错误大都发生在虚拟机迁移或更改网卡时,因为虚拟机迁移和改换网卡时网卡的配置文件还是原来的配置信息。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐