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