配置号IP地址后,使用ifconfig命令,没有显示eth0,重启网卡(service network restart)又遇到以下报错信息

Linux RedHat下解决“Device eht0 does not seem to be present, delay nitialzation”报错问题 Linux 第1张

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

Linux RedHat下解决“Device eht0 does not seem to be present, delay nitialzation”报错问题 Linux 第2张

报错信息:

Linux RedHat下解决“Device eht0 does not seem to be present, delay nitialzation”报错问题 Linux 第3张

解决办法:

首先使用ifconfig -a命令,记录下eth1的mac地址:00:0C:29:C5:AA:CF

Linux RedHat下解决“Device eht0 does not seem to be present, delay nitialzation”报错问题 Linux 第4张

然后打开/etc/sysconfig/network-scripts/ifcfg-eth0

Linux RedHat下解决“Device eht0 does not seem to be present, delay nitialzation”报错问题 Linux 第5张

Linux RedHat下解决“Device eht0 does not seem to be present, delay nitialzation”报错问题 Linux 第6张

将"DEVICE=eth0"更改位"DEVICE=eth1",然后保存退出,重启网卡(service network restart)

将mac地址更改为之前记录的eth1的mac地址:00:0C:29:C5:AA:CF

Linux RedHat下解决“Device eht0 does not seem to be present, delay nitialzation”报错问题 Linux 第7张

查看IP地址(ifconfig),正常了

Linux RedHat下解决“Device eht0 does not seem to be present, delay nitialzation”报错问题 Linux 第8张

 

本文参考资料:https://www.cnblogs.com/xred/p/3682141.html

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄