Description of the phenomenon:
VMware clones a new virtual host, but the NIC is not enabled properly, as prompted below.
Processing process:
1. Check that the NIC profile Ifcfg-eth0 is correct, and delete the MAC address when it is confirmed.
Cat/etc/sysconfig/network-scripts/ifcfg-eth0
Device=eth0
Hwaddr=00:0c:26:67:23:bd
uuid=63fd2ace-a99e-4053-96f3-23c6f01f1289
Onboot=yes
Nm_controlled=yes
Bootproto=none
ipaddr=192.168.0.10
netmask=255.255.255.0
gateway=192.168.0.1
dns1=8.8.8.8
Ipv6init=no
Userctl=no
Type=ethernet
2. Next look at the Linux Resource Manager configuration file, you will find a new line of network card information, at this time, to log off the original information, and the new name= "eth1" to Name= "eth0":
Cat/etc/udev/rules.d/70-persistent-net.rules
# PCI Device 0x8086:0x100f (e1000)
# subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "00:0c:26:67:23:bd
", attr{type}==" 1 ", kernel==" eth* ", name=" eth0 "
# PCI Device 0x8086:0x100f (e1000)
subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "00:0c:26:1e:7a:08
", attr{type}==" 1 ", kernel==" eth* ", name="eth1"
3. Write the newly generated MAC address information to the configuration file Ifcfg-eth0 in the following format:
echo "hwaddr=00:0c:26:1e:7a:08" >>/etc/sysconfig/network-scripts/ifcfg-eth0
4 Restart the virtual Linux host and restart the Network service again, display "OK", Linux can be used normally.
~
VMware clone Virtual host, Nic does not start problem resolution