Skip to content

Instantly share code, notes, and snippets.

Created April 23, 2017 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/222f0cb08b7fbb9effe32b5f92deef0f to your computer and use it in GitHub Desktop.
Save anonymous/222f0cb08b7fbb9effe32b5f92deef0f to your computer and use it in GitHub Desktop.
/etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="60:45:cb:9a:0c:1f", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1b:21:bf:76:97", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment