VMware cloning CentOS modifies Linux MAC address

Source: Internet
Author: User

Device eth0 does not seem to be present, delaying initialization

Failure background:
In VMware Workstation, a virtual machine that has completely cloned an existing CentOS is discovered and the NIC is not started after booting. Restart the Network service and find the error message "Device eth0 does not seem to be present, delaying initialization."

Causes of failure:
Because of the cloning of virtual machines, VMware just modified the name of the virtual machine and other information, and did not modify any information on the virtual hard disk, causing the network card after cloning the MAC address and the operating system recorded in the MAC address does not match, causing eth0 to start up. The operating system records the addition of a new network card, the name Eth1,mac address of the new network card is the new MAC address assigned by VMware

Workaround:
Modify the/etc/udev/rules.d/70-persistent-net.rules file
Delete the information about eth0. The name of the network card that modifies the second eth1 is eth0.
Modify the MAC address of the/etc/sysconfig/network-scripts/ifcfg-eth0 MAC address to/etc/udev/rules.d/70-persistent-net.rules modified eth0.
Restart the server.

VMware cloning CentOS modifies Linux MAC address

Related Article

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.