About Linux virtual machine, when the virtual machine copy, because the virtual machine configuration file will record the MAC address of the network card, so the Linux inside the recorded network card address and the actual conflict, so Linux will automatically increase the network card address.
For example, the original is eth0, then it will become eth1. So this machine will be a problem, resulting in no network card, unable to obtain an IP address.
The solution to this problem is to first modify the Ifcfg file inside the/etc/sysconfig/network-scripts to eth0 and eth1.
Then delete the files that record the MAC address of the NIC, and let Linux restart with the default eth0 and eth1 for the two NIC names.
The file that needs to be deleted is/etc/udev/rules.d/70-persistent-net.rules.
Ensure that the eth0 and ETH1 are configured correctly, and then restart the Linux server.
Solve the problem of changing the address restart of Hyerv Linux virtual machine NIC