Last active
October 15, 2020 15:20
-
-
Save samuelb/be662536a2ddb97606e02ea2afb107e5 to your computer and use it in GitHub Desktop.
70-persistent-net.rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add to /etc/udev/rules.d/70-persistent-net.rules | |
# replace xx:xx:xx:xx:xx:xx with actual mac address and adjust the name (eth0). repeat line for every interface. | |
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="xx:xx:xx:xx:xx:xx", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment