Resolution of the network card cannot be started after VMware cloning CentOS

Source: Internet
Author: User

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

Related Article

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.