Environment Description:
In virtual machine VMS, centos6.6 's operating system
Fault Description:
Vi/etc/sysconfig/network-scripts/ifcfg-eth0
An error occurred after modifying the IP address of the virtual machine and when restarting the NIC using service network restart: error:no suitable device found:no device found for connection "Sys TEM eth0 "
Workaround:
Based on this error, looked up on the internet, found a lot of friends have encountered, this error using the 2nd way to solve.
1, delete the/etc/udev/rules.d/70-persistent-net.rules file, and restart the system.
2, if the above does not work (This method is recommended)
(1), ifconfig -a View the value of the physical Mac hwaddr
(2), vim Edit file/etc/sysconfig/network-script/ifcfg-eth0 modified Ifconfig detected in the Mac HWADDR value;
Error:no suitable device Found:no device found for connection "System eth0"