Solution:
1. view the mac address of the VM Nic
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/00101IF7-0.png "title =" QQ20130922155450.png "alt =" 155557253.png"/>
2. Modify/etc/udev/rules. d/70-persistent-net.rules
# vi /etc/udev/rules.d/70-persistent-net.rules# This file was automatically generated by the /lib/udev/write_net_rules# program, run by the persistent-net-generator.rules rules file.## You can modify it, as long as you keep each rule on a single# line, and change only the value of the NAME= key.# PCI device 0x1022:0x2000 (pcnet32)SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:8f:89:97", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
3. vi/etc/sysconfig/network-scripts/ifcfg-eth0
Change HWADDR = "00: 0c: 29: 8f: 89: 97" to the above mac address.
4. restart the system and Nic
This article from the "Liu yalei" blog, please be sure to keep this source http://liuyalei.blog.51cto.com/7767729/1300148