篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了#proxmox#Centos 配置eth0 提示Device does not seem to be present相关的知识,希望对你有一定的参考价值。
故障现象:
[root@wonlion.com~]# service network restartShutting down loopback insterface: [ OK ]Bringing up loopback insterface: [ OK ]Bringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. [FAILED]
第一种解决办法:
[root@wonlion.com~]# rm -rf /etc/udev/rules.d/70-persistent-net.rules[root@wonlion.com~]# reboot ………………[root@wonlion.com~]# service network restart
Shutting down loopback insterface: [ OK ]Bringing up loopback insterface: [ OK ]Bringing up interface eth0: [ OK ][root@wonlion.com~]#
还有一种故障导致:
造成这样的原因,是因为在虚拟机(Vmware)中移动了Centos系统对应的文件,导致重新配置时,网卡的MAC地址变了,输入ifconfig -a,找不到eth0 ·······安装完一个centos虚拟机,又拷贝一份,开机后网卡无法正常启动,报错:Device eth0 does not seem to be present,delaying initialization 解决办法:# mv /etc/sysconfig/network-scripts/ifcfg-eth0sysconfig/network-scripts/ifcfg-eth1vimsysconfig/network-scripts/ifcfg-eth1修改DEVICE="eth0"为DEVICE="eth1"可删掉uuid、物理地址然后重启启动网卡尝试下