The NIC of the vmware cloned Centos6.X VM cannot be started.

Source: Internet
Author: User

The NIC of the vmware cloned Centos6.X VM cannot be started.
You can quickly create a linux Virtual Machine with CentOS 6.4 by using the full cloning function of vmware8. Symptoms after creation: ifconfig is used after startup, and no IP address is found. Only the loopback address is 127.0.0.1, And the MAC address and host name are the same as those of the source host (the source host uses the IP address configured manually ). No matter how you execute the following command, it does not help:/etc/init. d/network restartifup eth0 solution: 1. edit the eth0 configuration file: vi/etc/sysconfig/network-scripts/ifcfg-eth0, delete the row of the HWADDR address and UUID as follows: HWADDR = 00: 0c: 29: 08: 28: 9 fUUID = cee39dbb-6a10-4425-9daf-768b6e79a9c9 tip: Of course you can also modify according to the actual HWADDR and UUID without deleting. See/etc/udev/rules. d/70-persistent-net.rules after modifying the eth0 Nic file: [root @ oldboy ~] # Cat/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE = eth0TYPE = EthernetONBOOT = yesNM_CONTROLLED = yesBOOTPROTO = noneIPADDR = mask = 255.255.255.0DNS2 = 8.8.8.8GATEWAY = mask = noUSERCTL = no 2. clear the following files if necessary:>/etc/udev/rules. d/70-persistent-net.rules. Tip: You can choose not to change the machine name. 3. restart the system: reboot or restart outside the VM. 4. Cause prediction: VM cloning is a protection policy designed to protect source and clone machines from network configuration address conflicts.

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.