当前位置: > CentOS > CentOS故障 >

解决 CentOS网卡eth0启用不了问题

时间:2014-07-06 19:12来源:blog.csdn.net 作者:双树双树
[root@localhost Desktop]# service network restart
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  Error: No suitable device found: no device found for connection 'System eth0'.
                                                           [FAILED]

 

CentOS虚拟机中启用不了eth0网卡解决办法:

1./etc/udev/rules.d/70-persistent-net.rules 文件

删除eth0网卡

将eth1网卡的NAME="eth1"修改为"eth0",并复制ATTR{address}中的值(MAC地址)

 

2./etc/sysconfig/network-scripts/ifcfg-eth0 文件

将复制的ATTR{address}值覆盖#HWADDR

 

重启服务:service network restart

(责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容