解决 Error:No suitable device found: no device found for connection “System eth0“

解决 Error:No suitable device found: no device found for connection "System eth0"

 

在centos6.4和centos6.5测试没有问题

遇到的问题:

# 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'.

 

解决办法:

rm -rf  /etc/udev/rules.d/70-persistent-net.rules     //删除克隆之后的网络适配器

reboot      //重启后生成新的网络适配器

ifconfig     //查看自己新生成的HWaddr

解决 Error:No suitable device found: no device found for connection “System eth0“

 

 

vi /etc/sysconfig/network-scripts/ifcfg-eth0       //编辑这个文件,替换刚复制的HWaddr编码

解决 Error:No suitable device found: no device found for connection “System eth0“

 

service network restart   //重启网络!!!