After installing the CENTOS6 system, the purified system clones several out to facilitate the late-stage experiment; because the MAC address regenerates after cloning, the actual effect is that Eth1,eth0 is cloned. The clone system will regenerate a MAC address because the system will become eth1 in Eth0 plus 1.
There are two ways to solve this problem:
Law One:
1.root Login, Cp/etc/udev/rules.d/70-persistent-net.rules/etc/udev/rules.d/70-persistent-net.rules.bak
2.vi/etc/udev/rules.d/70-persistent-net.rules, delete all content
3.reboot
4.vi/etc/udev/rules.d/70-persistent-net.rules, modify eth1 to eth0, record MAC address
5. Click the desktop system-perference-network connctions, delete auto-eth0, modify the system eth0 name as Eth0
6.vi/etc/sysconfig/network-scripts/ifcfg-eth0, modify the address where the MAC address is recorded in step 4
7. Restart, check the configuration
Law II:
1..root Login, Cp/etc/udev/rules.d/70-persistent-net.rules/etc/udev/rules.d/70-persistent-net.rules.bak
2.vi/etc/udev/rules.d/70-persistent-net.rules, delete eth0 related content, modify eth1 to Eth0
3. Record the MAC address of this new eth0
4.vi/etc/sysconfig/network-scripts/ifcfg-eth0, modify the address where the MAC address is recorded in step 2
5. Restart, check the configuration
In addition:
Select the network settings for the virtual machine:
Bridged:connected directly to the physical network
Replicate Physical network connection state tick
This allows you to use the same network segment IP as the physical machine.
CentOS 7 vmware Virtual machine Cloning network issues:
In fact, CentOS7 in this issue is more simple to deal with, as long as the configuration file about the network card hwaddr and UUID two lines to delete the
This article is from the "Small ops" blog, please make sure to keep this source http://wangyongchun.blog.51cto.com/10421552/1768404
About the NIC name modification after Linux cloning on VMware