Solve the problem that the NIC cannot be started after VMware clones CentOS.
(1) Ensure that udev-post is started
# Chkconfig -- list udev-post
Udev-post 0: Disable 1: Enable 2: Enable 3: Enable 4: Enable 5: Enable 6: Disable
#/Etc/init. d/udev-post start
(2) Delete All Nic configurations (delete the 70-persistent-net.rules file), restart and re-allocate the network card
# Cd/etc/udev/rules. d
[Root @ xjuCentOS rules. d] # rm-rf 70-persistent-net.rules
[Root @ xjuCentOS rules. d] # cd/etc/sysconfig/network-scripts
[Root @ xjuCentOS network-scripts] # rm-rf ifcfg-eth *
# Cat ifcfg-eth0 [root @ xjuCentOS network-scripts] #
TYPE = Ethernet
BOOTPROTO = none
IPADDR = 10.238.208.10
PREFIX = 25
GATEWAY = 10.238.208.1
DEFROUTE = yes
20174_failure_fatal = yes
IPV6INIT = no
NAME = eth0
UUID = 9573a563-bfb5-478a-8e03-04dbba7c098e
ONBOOT = yes
LAST_CONNECT = 1431947250