VMware cloning Centos6.4 virtual machine NIC does not start problem
In the course of learning, it is found that the following problems cannot be solved.
Quickly create a Linux virtual machine version of centos 6.4 with the full cloning feature of Vmware8.
post-creation symptoms: Use ifconfig after startup, no IP address found, only loopback address is 127.0.0.1,
mac address and host name are the same as the source host (IP configured by the source host manually).
No matter how the following command is executed:
/etc/init.d/network  RESTART
ifup eth0
solution:
1. Edit eth0 configuration file: Vi /etc/sysconfig/network-scripts/ifcfg-eth0, Delete HWADDR address the row and UUID line are as follows:
hwaddr=00:0c:29:08:28:9f
uuid=cee39dbb-6a10-4425-9daf-768b6e79a9c9
tip: Of course, you can also modify the actual hwaddr and UUID without deleting it. See
/etc/udev/rules.d/70-persistent-net.rules
eth0 Nic File modified:
[[email protected] ~]# cat /etc/sysconfig /NETWORK-SCRIPTS/IFCFG-ETH0
device=eth0
onboot=yes
NM_CONTROLLED= YES
bootproto=none
IPADDR=10.0.0.27
NETMASK=255.255.255.0
dns2=8.8.8.8
dns1=10.0.0.254
userctl=no
2. If necessary, empty the following files:
>/etc/udev/rules.d/70-persistent-net.rules.
Hint: The machine name can not be changed
3. Reboot the system: Reboot or reboot outside the VM.
4. Reason guessing: VM Cloning is a protection policy to protect the source machine and clone machine from initiating network configuration address conflicts.
This article is from the "Corner" blog, be sure to keep this source http://qiangjiao.blog.51cto.com/10991722/1785451
VMware cloning Centos6.4 virtual machine NIC does not start problem