Cloning CentOS No network card eth0 Unable to turn on the Internet service

Source: Internet
Author: User

#问题:

A CentOS6.6 was cloned on VMware and no eth0,ifconfig output was found after booting:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/70/D1/wKioL1W_BTPysQa3AAEpPwtJK2c767.jpg "title=" Qq20150803133950.png "alt=" Wkiol1w_btpysqa3aaeppwtjk2c767.jpg "/>


View/etc/sysconfig/network-scripts/ifcfg-eth0 file exists as follows:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/70/D5/wKiom1W_A8vweOLxAADh1ZUDjVM113.jpg "title=" Qq20150803134052.png "alt=" Wkiom1w_a8vweolxaadh1zudjvm113.jpg "/>

Restart network services, service network restart, with the following prompts:

Device eth0 does not seem to be present,delaying initialization

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/70/D2/wKioL1W_BfyAKgsbAACglmixcC0138.jpg "title=" Qq20150803135429.png "alt=" Wkiol1w_bfyakgsbaacglmixcc0138.jpg "/>


#解决办法:

Because this virtual machine is cloned, the MAC address is the same as the source virtual machine, so you need to modify the MAC address

The steps are as follows:

1.vi/etc/sysconfig/network-scripts/ifcfg-eth0

Modify the HWADDR to:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/70/D6/wKiom1W_BXDRytWjAAEuXakMF2M914.jpg "title=" Qq20150803140821.png "alt=" Wkiom1w_bxdrytwjaaeuxakmf2m914.jpg "/>


2. Delete/etc/udev/rules.d/70-persistent-net.rules and restart

#rm/etc/udev/rules.d/70-persistent-net.rules
#reboot


3. Verification success

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/70/D6/wKiom1W_B2eCOfUTAAJQ-uW-Xss886.jpg "title=" Qq20150803141617.png "alt=" Wkiom1w_b2ecofutaajq-uw-xss886.jpg "/>

Cloning CentOS No network card eth0 Unable to turn on the Internet service

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.