VMware cloning or porting of centOS6.5 virtual machine cannot be solved by internet

Source: Internet
Author: User

VMware cloning or porting of centOS6.5 virtual machine cannot be solved by internet

First, delete the original network card

650) this.width=650; "src=" http://img2.ph.126.net/iC7pgprWvaxi9_10j_Bxzw==/6631397619189698087.jpg "style=" border : 0px;height:auto; "/>

Second, restart the system

With command: Vim/etc/sysconfig/network-scripts/ifcfg-eth0

View the configuration of the Eth0 NIC, which still exists, such as:

650) this.width=650; "src=" http://img1.ph.126.net/NJLk0_N-bZoVHvXfXlDv8g==/6631203005631584812.jpg "style=" border : 0px;height:auto; "/>

And note that the MAC address of the net is:00:0c:29:e5:38:14

With command: Vim/etc/udev/rules.d/70-persistent-net.rules

Viewing files: 70-persistent-net.rules

650) this.width=650; "src=" http://img1.ph.126.net/DZqKS-xA_292dpC9BkcAWg==/6631416310887375628.jpg "style=" border : 0px;height:auto; "/>

From this you can see that the MAC addresses of the two files are the same.

Third, shut down the system, add a network card

View the file again after rebooting the system: 70-persistent-net.rules as shown:

650) this.width=650; "src=" http://img1.ph.126.net/kyvRkaiMAjYneSxxceXiaQ==/6631206304166468113.jpg "style=" border : 0px;height:auto; "/>

More than a network card, MAC address is: 00:0c:29:5f:8d:77 write it down. and change the eth1 to eth0

The first NIC is shown off.

Edit the Ifcfg-eth0 file under the/etc/sysconfig/network-scripts/directory

Change its MAC address to 00:0c:29:5f:8d:77 such as, save exit, and restart the system.

650) this.width=650; "src=" http://img1.ph.126.net/TPRqdwggOJzqHph13WpuZQ==/6631206304166468119.jpg "style=" border : 0px;height:auto; "/>

With command: Ifconfig view

650) this.width=650; "src=" http://img0.ph.126.net/NqSqzxOlY-f9zA_CbtqXMg==/6631408614305981223.jpg "style=" border : 0px;height:auto; "/>

Everything OK!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


This article from the "Network Learning Notes" blog, reproduced please contact the author!

VMware cloning or porting of centOS6.5 virtual machine cannot be solved by internet

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.