Tag:vmware centos Nic cannot start
#首先要保证udev-post Start Chkconfig --list|grep udevudev-post 0:off 1:on 2:on 3:on 4:on 5:on 6:offservice udev-post start# comments The original eth0 line, and then changes the resulting eth1 to eth0vim /etc/ udev/rules.d/70-persistent-net.rules # pci device 0x8086:0x100f (e1000) #SUBSYSTEM = = " NET ", action==" Add ", drivers=="? * ", attr{address}==" 00:0a:31:75:62:3c ", attr{type}==" 1 ", kernel== "eth*", name= "eth0" # pci device 0x8086:0x100f (e1000) SUBSYSTEM== "NET", action== "Add", drivers== "? *", attr{address}== "00:0a:31:75:62:3c", attr{type}== "1", kernel== "eth*", name= "eth0" #最后修改网卡的配置文件cat /etc/sysconfig/network-scripts/ifcfg-eth0 device= Eth0type=ethernetuuid=cs802cs7-087a-af50-812b-f3d20053aa4aonboot=yesnm_controlled=yesbootproto=nonehwaddr= 00:0a:31:75:62:3c# Modify the MAC address as in the configuration file above ipaddr=192.168.1.100prefix=24gateway=192.168.1.254dns1= 202.103.24.68defroute=yesipv4_failure_fatal=yesipv6init=noname= "System eth0" #最后reboot系统
This article is from the "Wu Shanqiang" blog, make sure to keep this source http://shanqiangwu.blog.51cto.com/8067564/1632245
Resolution of the network card cannot be started after VMware cloning CentOS