Vmware virtual machine cloning Centos6.5 NIC can not start the problem

1. Edit eth0 configuration files: vi / etc / sysconfig / network-scripts / ifcfg-eth0, HWADDR delete the row address and UUID of the line is as follows:

#HWADDR=00:0c:29:08:28:9f
#UUID=cee39dbb-6a10-4425-9daf-768b6e79a9c9

Tip: You can of course based on the actual HWADDR and UUID modifications without deleting. See
/etc/udev/rules.d/70-persistent-net.rules

2. Edit the file as follows:

Cloned in to see the virtual has two network cards, one is eth0, consistent with this card and cloned card, MAC, and different eth0 eth1 the new card, we can delete eth0 network card, and then the name of the network card eth1 instead eth0

Copy the mac address to get eth0

/ Etc / sysconfig / network-scripts / ifcfg-eth0 file

HWADDR = 00: 0c: 29: 1a: 6b : a2

 

vim  /etc/udev/rules.d/70-persistent-net.rules

Or directly /etc/udev/rules.d/70-persistent-net.rulesdelete this file, then restart the system, the file will be regenerated.

 

Guess you like

Origin www.cnblogs.com/aqicheng/p/10954437.html