VMware cloning Linux virtual Machine network card is not available online solution

Source: Internet
Author: User

When learning Linux, it is often necessary to clone multiple virtual machines to build an intranet environment. However, cloning the generated virtual machine Nic Mac error, but not the normal network.

After a search, finally found a solution:


1.ifconfig-a # Note the MAC address 00:0c:29:7b:93:9e

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6E/97/wKiom1WARViD-c_FAADn2jpFzIc455.jpg "title=" 1.png " alt= "Wkiom1warvid-c_faadn2jpfzic455.jpg"/>


2.vi/etc/udev/rules.d/70-persistent-net.rules

Change the default eth1 to Eth0, save

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6E/97/wKiom1WARaGw26B-AABhYP-yspw088.jpg "style=" float: none; "title=" 2.png "alt=" Wkiom1waragw26b-aabhyp-yspw088.jpg "/>


3.vi/etc/sysconfig/network-scripts/ifcfg-eth0 , fill in the MAC address you just recorded, and note that device is also "eth0"

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6E/93/wKioL1WAR1Di0PyCAADdtWCk_1w491.jpg "style=" float: none; "title=" 3.png "alt=" Wkiol1war1di0pycaaddtwck_1w491.jpg "/>

4. Restart Linux to resolve the issue.


Add:

Above we can get MAC address,>> append to/etc/sysconfig/network-scripts/ifcfg-eth0 via ifconfig |sed-n ' 1p ' |awk ' {print $} ' , and then modify it to save yourself from recording the MAC address.

VMware cloning Linux virtual Machine network card is not available online solution

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.