天天看點

linux 虛拟機克隆網卡問題,解決虛拟機克隆導緻網卡故障的問題

Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization.

在linux下的虛拟機出現了這個問題,問題的産生是因為之間做過部分的修改,clone等操作。

不就方案。

CentOS Device does not seem to be present

故障現象:

[[email protected] ~]# 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]

解決辦法

1.修改Centos虛拟機克隆機的HWADDR為ifconfig -a的MAC位址

形如:HWADDR="00:0C:29:90:A7:23"

2.然後再做以下操作

[[email protected] ~]# rm -rf /etc/udev/rules.d/70-persistent-net.rules

[[email protected] ~]# reboot

………………

[[email protected] ~]# service network restart

Shutting down loopback insterface: [ OK ]

Bringing up loopback insterface: [ OK ]

Bringing up interface eth0: [ OK ]

[[email protected] ~]#