centos虛擬機,開機後網卡無法正常啟動,報錯:Device eth0 does not seem to be present,delaying initialization ...
一.故障現象:
[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]
解決辦法:
[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、物理地址
然後重啟啟動網卡嘗試下
原文地址:https://blog.csdn.net/xiaobei4929/article/details/40515247