Solve Problems Related to the inability to access the Internet when cloning VM hosts in centos

Source: Internet
Author: User

Solve Problems Related to the inability to access the Internet when cloning VM hosts in centos
1. Production Environment

VMWare: 12.1.1

Centos: 6.6 64-bit

2. Requirements

Because we often need to build an environment and conduct experiments, and it takes too long to redeploy the host, the VM clone host function has become the best choice.

3. Problem Description

The host cannot access the Internet after cloning.

4. Solutions

① Run the ifconfig command to check the network card on which the cloned host runs. The eth1 network card is displayed here.

② Cd/etc/udev/rules. d. Run the cat command to view 70-persistent-net.rules and find the MAC address of the corresponding Nic.

2, cd/etc/sysconfig/network-scripts vim ifcfg-eth0

So far, the problem has been solved.

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.