Cloning a virtual machine with Oracle vitual box, unable to find eth0 solution

Source: Internet
Author: User

with Oracle vitual Box cloning a virtual machine

When we need to use more than one virtual machine, if a single installation, it is too troublesome. Therefore, the general virtual machine software provides us with the ability to clone the existing virtual machine state. Oracle vitual box is no exception. Let's introduce how to clone the existing CentOS system with VBox.

1. First, we need to put our clone virtual machine in the off state.

2. Start cloning (copy), re-initialize the MAC address to tick.

3, and then patiently wait for the completion.

PS: Looks very simple? Keep looking down, it's important in the back.

It is important that the following actions are operated under root or root-privileged accounts.

4. When you enter the system, run the Ifconfig command, you will find only the LO and eth1 network card, the ETH0 network card is missing. Figure:

Let's solve this problem.

5. Follow the instructions

Get:

Comment out or delete the line of the existing eth0, and then change the eth1 corresponding to eth0. Effect

Save exit.

6. Then go to modify the IP address of the file, modify the eth0 corresponding MAC address and IP.

Note: The MAC address corresponds to the MAC address of the previous step eth0, and the IP is set according to its own network.

Revision changed to

7. The last step, modify the host name.

Instead of the original conflict can be.

Then run the reboot command and restart the machine.

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.