80-net-setup-link.rules 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #
  2. # Udev 197 and above has implemented predictable network interface names
  3. # for hardware network interfaces. This new scheme does not affect
  4. # stacked network interfaces such as bonds, bridges or vlans.
  5. #
  6. # This file is here to prevent your interfaces from being renamed automatically,
  7. # because the new names will be drastically different from the eth*, wlan*, etc
  8. # names you are used to working with.
  9. #
  10. # To activate this function, copy 80-net-setup-link.rules from /lib/udev/rules.d/
  11. # to /etc/udev/rules.d/
  12. # Deleting the file from /etc/udev/rules.d/ works too but when you re-emerge
  13. # the current stable udev it will restore this dummy file there if it isn't there
  14. # already!
  15. #
  16. # If you want to deactivate this function, install a udev rules file as
  17. # /etc/udev/rules.d/80-net-setup-link.rules then reboot your system.
  18. #
  19. # This functionality has not been tested with gentoo. In fact, we are aware that
  20. # things will break if you activate it.
  21. #
  22. # If you are not comfortable testing this, leave this file as is. We will
  23. # publish a news item when you can migrate.
  24. #
  25. # If you do want to activate and help us come up with a migration plan, feel
  26. # free to do so and report bugs.
  27. # Your bugs should block the following tracker:
  28. # https://bugs.gentoo.org/454224
  29. #
  30. # Before you activate this function, it is important that you fully understand
  31. # the following documentation:
  32. #
  33. # http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
  34. #
  35. # Also, be aware that you can get the attributes of your network interface that
  36. # would be used to name the interface in the new scheme by doing the following
  37. # with this version of udev running:
  38. #
  39. # udevadm test-builtin net_id /sys/class/net/ifname 2> /dev/null
  40. #
  41. # for example, on my system, I can find that eth0's new name would be enp1s5.
  42. #