Skip to content

Instantly share code, notes, and snippets.

@supercoffee
Created September 19, 2014 01:24
Show Gist options
  • Save supercoffee/6b3318a6823f00b61ea1 to your computer and use it in GitHub Desktop.
Save supercoffee/6b3318a6823f00b61ea1 to your computer and use it in GitHub Desktop.
udev ethernet rules
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="e8:de:27:04:19:00", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="LAN"
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1f:bc:03:bd:6e", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="WAN"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment