Troubleshoot VMware virtual machines after cloning Linux, unable to find eth0

Source: Internet
Author: User

In the practice of building MySQL clusters, two redhat systems were cloned directly on the Windows operating system, using VMware to install Redhat Linux operating system.

When modifying the virtual machine IP address with the ifconfig command, eth0 cannot find it. Directly modify the configuration file/etc/sysconfig/network-scripts/ifcfg-eth0, after rebooting the system, also useless.

Use Ifconfig to see only found, no eth0, only eth1. So it's time to create a virtual machine and recreate a network card.

In/etc/udev/rules.d/70-persistent-net.rules, there are eth0 and eth1, where the MAC address of Eth0 is the address of the original system.


Steps to resolve:

1: Modify the/etc/udev/rules.d/70-persistent-net.rules file

Delete the Eth0 field and change the eth1 to eth0.

2: #vi/etc/sysconfig/network-scripts/ifcfg-eth0:

Modify the MAC address: Hwaddr=00:0c:29:96:38:f8 to match the MAC address of the/etc/udev/rules.d/70-persistent-net.rules.

3:reboot restart.


This article is from the "resolve Cannot find eth0" blog, please be sure to keep this source http://10732422.blog.51cto.com/10722422/1763042

Troubleshoot VMware virtual machines after cloning Linux, unable to find eth0

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.