Nic modification method after VMware cloning Centos6.5

Source: Internet
Author: User

In the WMware virtual machine experiment, will use more than one virtual machine, in order to save time, direct cloning, but after cloning CentOS network card on MAC address and the original system MAC address conflict, resulting in the inability to connect LAN host, need to configure the network card, virtual machine to normal use.

    1. 1. cloning a virtual machine

Right click on virtual machine-manage-clone ..... (Super simple, not detailed here)

    1. 2. View the network card device

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/8D/0B/wKiom1iDN13C9-fXAACv9pdWxA0987.png-wh_500x0-wm_3 -wmp_4-s_4171128347.png "title=" A.png "alt=" Wkiom1idn13c9-fxaacv9pdwxa0987.png-wh_50 "/>

    1. 3. Edit the NIC device file

[Email protected] ~]# Vim/etc/udev/rules.d/70-persistent-net.rules

Delete or comment the network card device information of the source system, modify the current NIC device information as eth0

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/8D/08/wKioL1iDN2-Rn-YMAACcQoS7cnQ321.png-wh_500x0-wm_3 -wmp_4-s_770363201.png "title=" B.png "alt=" Wkiol1idn2-rn-ymaaccqos7cnq321.png-wh_50 "/>

    1. 4. Modify the NIC configuration file to change the MAC address to 00:0c:29:d7:e7:ab

[Email protected] ~]# Vim/etc/sysconfig/network-scripts/ifcfg-eth0

Modified: Hwaddr=00:0c:29:d7:e7:ab

    1. 5. Restart the network service

[[Email protected] ~] #service Network restart

    1. 6. View network information

[[Email protected] ~] #ifconfig

The eth1 is displayed, but the device name has been changed and the NIC module needs to be restarted or the system will be restarted.

    1. 7. Restart the NIC module

[[Email protected] ~] #modprobe-R e1000 # # #卸载模块

[[Email protected] ~] #modprobe e1000 # # #装载模块

    1. 8. Check the network information, the display is eth0, the network card will work properly.


This article from "Rookie of the World" blog, please be sure to keep this source http://guoxh.blog.51cto.com/10976315/1893580

Nic modification method after VMware cloning Centos6.5

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.