Eth0 cannot be found after cloning Ubuntu Virtual Machine on Vmware

Source: Internet
Author: User

Ubuntu 8.04.1 server is installed on Vmware, and a virtual machine is cloned. Eth0 disappears and an eth1 error occurs.

The reason is that Ubuntu records the MAC address of the NIC. The MAC address of the original VM is recorded as eth0. After cloning, VMWare assigns a new MAC address to the VM to avoid conflicts. In ubuntu, the newly discovered address is set to eth1.

In ubuntu 7. X, the corresponding file is the/etc/iftab file. In ubuntu 8.04.1, the corresponding file is:

/Etc/udev/rules. d/70-persistent-net.rules

Modify the file directly and delete the row corresponding to eth0. Modify the "eth1" of the corresponding line of eth1 to "eth0.

Another method is to delete all the contents and restart the system. The system also discovers the hardware of the NIC and generates the file again.

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.