Vmware clone centos to modify linux mac address

Source: Internet
Author: User


Vmware clone centos modify linux mac address Device eth0 does not seem to be present, delaying initialization fault Background: an existing centos virtual machine is completely cloned in vmware workstation, after startup, the NIC is not started. Restart the network service and find the error message "Device eth0 does not seem to be present, delaying initialization. "www.2cto.com Fault Cause: Due to the clone of the virtual machine, vmware only modified the Virtual Machine name and other information, and did not modify any information in the virtual hard disk, as a result, the MAC address of the cloned Nic does not match the mac address recorded in the operating system, and eth0 cannot be started. The operating system records the addition of a new Nic. The new Nic name is eth1, And the mac address is the new mac address assigned by vmware. Solution: Modify/etc/udev/rules. delete eth0 information from the d/70-persistent-net.rules file. Modify the NIC name of the second eth1 to eth0. modify the mac address in/etc/sysconfig/network-scripts/ifcfg-eth0 to/etc/udev/rules. the mac address of eth0 modified by d/70-persistent-net.rules. Restart the server.
 

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.