原文:linux 解决 Device eth0 does not seem to be present

在虚拟机中安装cent os系统,然后配置网络 执行命令ifconfig 没有看到eth 的信息 重启网卡报错: service network restart Shutting down loopback insterface: OK Bringing up loopback insterface: OK Bringing up interface eth : Device eth does ...

2019-01-10 15:44 0 4614 推荐指数:

查看详情

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

尝试了很多解决办法,后来找到原因了。为虚拟机重新生成Mac地址后,系统在启动时会自动监测变化,然后由/lib/udev/write_net_rules写入到/etc/udev/rules.d/70-persistent-net.rules中一个新的配置节,网卡的的序号依次递增(如原来为eth0 ...

Tue Apr 23 17:35:00 CST 2013 0 2895
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM