vim /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net",ACTION=="add",DRIVERS=="?*",ATTR{address}=="00:0C:29:33:A7:DD",ATTR{type}=="1" ,KERNEL=="eth*",NAME="eth33"
注意:修改 ATTR{address} 和 NAME 的值
ATTR{address} :是网卡的MAC地址.
NAME : 网卡名
update-grub
reboo