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

0 0 投票数
文章评分
订阅评论
提醒
guest

0 评论
内联反馈
查看所有评论
0
希望看到您的想法,请您发表评论x