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