Centos 配置eth0 提示Device does not seem to be present

Centos 配置eth0 提示Device does not seem to be present一 故障现象 root c1node01 servicenetwo OK Bringinguplo centos 删除 ifconfigdevi

一、故障现象:

[root@c1node01 ~]# service network restart
Shutting down loopback insterface: [ OK ]
Bringing up loopback insterface: [ OK ]
Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]

二、解决方法一:

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

[root@c1node01 ~]# rm -rf /etc/udev/rules.d/70-persistent-net.rules
[root@c1node01 ~]# reboot ………………
[root@c1node01 ~]# service network restart
Shutting down loopback insterface:             [OK]                         
Bringing up loopback insterface:               [OK]                                            
Bringing up interface eth0:                    [OK]                                                          
[root@c1node01 ~]#

三、解决方法二

造成这样的原因,是因为在虚拟机(Vmware)中移动了Centos系统对应的文件,导致重新配置时,网卡的MAC地址变了,输入ifconfig -a,找不到eth0

安装完一个centos虚拟机,又拷贝一份,开机后网卡无法正常启动,报错:Device eth0 does not seem to be present, delaying initialization

解决:# mv /etc/sysconfig/network-scripts/ifcfg-eth0 
sysconfig/network-scripts/ifcfg-eth1

vim sysconfig/network-scripts/ifcfg-eth1

修改DEVICE="eth0" 为DEVICE="eth1"
**可删掉uuid、物理地址**

然后重启启动网卡尝试下

编程小号
上一篇 2025-01-10 21:33
下一篇 2025-01-10 21:27

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/bian-cheng-ji-chu/107150.html