解决 CentOS网卡eth0启用不了问题
转自:http://www.centoscn.com/CentosBug/osbug/2014/0423/2850.html
[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