Create the file /etc/udev/rules.d/70-persistent-net.rules
1 |
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="02:01:02:03:04:05", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="eth0" |
where eth0 is the name that you want to use.