VMware cloning Centos6.4 virtual machine NIC does not start problem

Source: Internet
Author: User
Tags uuid

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.