Mac modifications after cloning a virtual machine.

Source: Internet
Author: User

VMware virtual machine After cloning operation, will find that the cloned host eth0 will be missing, instead there will be a new Mac network card eth1, restart the network card, found that error, no device found for connection ' System eth0′, The specific error code is as follows:

  1. Shutting down loopback interface: [OK]
  2. Bringing Up loopback interface: [OK]
  3. Bringing up interface Eth0:Error:No suitable device found:no device found for connection ' System eth0′.[ FAILED]
  4. Ii. solution after the virtual machine is copied, because the physical address has changed, this time the VM will usually regenerate a MAC address, the following steps:
  5. 1) Modify MAC Address
    1. Vim/etc/sysconfig/network-scripts/ifcfg-eth0
    2. #下面的HWADDR就是设置MAC地址
    3. Hwaddr="00:0c:29:ad:81:e4"2) is to solve the problem of eth1

      Delete the/etc/udev/rules.d/70-persistent-net.rules file, this file deleted, after restarting the system automatically generated, you can safely delete.

      Java code
      1. rm-rf/etc/udev/rules.d/70-persistent-net.rules
      3) Reboot the system to complete cloning: reboot

      4) Setup reset IP and DNS

Mac modification after cloning a virtual machine.

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.