Last active
August 1, 2017 16:15
-
-
Save TrogloGeek/edf2446d9a5886a664b2 to your computer and use it in GitHub Desktop.
/etc/udev/rules.d/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
#you may use `lshw -class network` to get mac addresses | |
#wan0 | |
SUBSYSTEM=="net", KERNEL=="eth*", ATTR{address}=="11:22:33:44:55:66", NAME="wan0" | |
#lan0 | |
SUBSYSTEM=="net", KERNEL=="eth*", ATTR{address}=="11:22:33:44:55:67", NAME="lan0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment