VMware virtual machine After cloning operation, will find that the cloned host eth0 will be missing, instead there will be a new Mac network card eth1, restart the network card, found that error, no device found for connection ' System eth0′, The specific error code is as follows:
- 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]
- Ii. solution after the virtual machine is copied, because the physical address has changed, this time the VM will usually regenerate a MAC address, the following steps:
- 1) Modify MAC Address
- Vim/etc/sysconfig/network-scripts/ifcfg-eth0
- #下面的HWADDR就是设置MAC地址
- Hwaddr="00:0c:29:ad:81:e4"2) is to solve the problem of eth1
Delete the/etc/udev/rules.d/70-persistent-net.rules file, this file deleted, after restarting the system automatically generated, you can safely delete.
Java code
- rm-rf/etc/udev/rules.d/70-persistent-net.rules
3) Reboot the system to complete cloning: reboot4) Setup reset IP and DNS
Mac modification after cloning a virtual machine.