linux启动网卡报:Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization 解决方法

linux启动网卡报:Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization 处理方法:
故障重现:
1、之前一直用vm来搭建虚拟机,但发现vm太占用内存了,于是果断更换成Hyper-V,无奈Hyper-V没用过,安装好系统配置好ip,.一直无法连接外网。按照网上的方法重新添加网卡后仍不行,于是反复按照百度教程添加网卡重启网卡,删除网卡,结果报错误:Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization 如图, 原因是网卡mac地址不匹配导致,
linux启动网卡报:Bringing up interface eth0:  Device eth0 does not seem to be present,delaying initialization 解决方法
2、解决方法:直接登录虚拟机,vi /etc/udev/rules.d/70-persistent-net.rules 然后将如图中的都删除,然后重启linux即可解决,重启后该文件会自动获取最新的网卡信息
linux启动网卡报:Bringing up interface eth0:  Device eth0 does not seem to be present,delaying initialization 解决方法

立贴保存,以免忘记

西数超哥学习乐园,西数超哥基础运维经验教程分享的学习乐园,西数超哥博客,运维经验教程交流学习分享的博客

原创文章,作者:zhang sir,如若转载,请注明出处:https://www.ysidc.top/318.html