VMware virtual machine can not be cloned under centOs6.4 system links NAT network mode solution

Analysis: copy a virtual machine out before or after the mac address of the address, causing not find the NAT mode network links and other issues;

Solution:

1, first check or generated and will not be repeated before a clone mac address;

 

 2, enter the file vi /etc/udev/rules.d/, can be solved in two ways;

  Mode (1) vi /etc/udev/rules.d//70-persistent-net.rules modify the file, first remove eth0, because before this clone mac address and mac address is the same,

  Then modify eth1 to eth0 (in fact eth1 mac address and your generation is the same);

 

   Fashion (2): delete 70-persistent-net.rules file (command: rm -rf 70-persistent-net.rules);

  Execute the command init 6 reboot, it will not regenerate a mac duplicate addresses

3, enter the file vi / etc / sysconfig / network-scripts / ifcfg-eth0, modified mac address (70-persistent-net.rules corresponding mac address);

 

 4. Restart: init 6

 

 

 

Guess you like

Origin www.cnblogs.com/damoblog/p/12057812.html