pzg's blog

CentOS Linux解决Device eth0 does not seem to be present

在VMware里克隆出来的CentOS Linux。。

ifconfig…没有看到eth0.。然后重启网卡又报下面错误。

故障现象:

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 ………………
打开/etc/udev/rules.d/70-persistent-net.rules
记录下,eth0网卡的mac地址
接下来,打开/etc/sysconfig/network-scripts/ifcfg-eth0
将 HWADDR=的mac地址改成上面的mac地址

最后,重启网络

# service network restart

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注