CentOS1, [[email protected] ~]# ifconfig-a [[email protected] ~]# Vim/etc/udev/rules.d/70-persistent-net.rules Delete The first Mac corresponding to the nonexistent record, change the following eth1 to Eth0[[email protected] ~]# Vim/etc/sysconfig/network-scripts/ifcfg-eth0 Delete mac address and UUID, Modify IP address, [[email protected] ~]# modprobe-r e1000[[email protected] ~]# modprobe e1000[[email protected] ~]# service Network Restart heavy-duty NIC driver, restart Network Service [[email protected] ~]# Ifconfigeth0 Link encap:ethernet
Debian
vim/etc/udev/rules.d/z25_persistent-net.rules# PCI device 0x10ec:0x8139 (8139too) subsystem== "NET", drivers== "? *", attrs{address}== "00:e0:4c:39:a4:99", Name= "eth0" # PCI device 0x10ec:0x8167 (r8169) subsystem== "NET", drivers== "? *", attrs{address}== "00:16:17:c0:a3:66", name= "eth1"
This article comes from "Life is endless, tossing and turning." "Blog, be sure to keep this provenance http://990487026.blog.51cto.com/10133282/1704688
NIC information injection problem after VMWare linked clone OS