Copy the Linux system in the virtual machine/vmware

Due to the replication system, the MAC address of the network card is also cloned during replication, resulting in two systems with the same MAC address. So you need to change two locations, first shut down the linux system

1. vim /etc/sysconfig/network-scripts/ifcfg-eth0 change HWADDR=newly generated mac address in the configuration file

2、vim /etc/udev/rules.d/70-persistent-net.rules

    

Change the address to mac address as above, and delete other eth1,....etc. restart network service network restart

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325824592&siteId=291194637