aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLennartPoettering <LennartPoettering@web>2015-11-12 01:28:06 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-11 10:58:40 +0100
commitc8f2c6b122e8dc463b0464dd653d8bcfb7c46627 (patch)
tree1ddfc3b713b629d60993bad24064d48fe95348d8 /docs
parentDeal with 80-net-setup-link.rules introduced in 209. (diff)
downloadsystemd-c8f2c6b122e8dc463b0464dd653d8bcfb7c46627.tar.gz
systemd-c8f2c6b122e8dc463b0464dd653d8bcfb7c46627.tar.bz2
systemd-c8f2c6b122e8dc463b0464dd653d8bcfb7c46627.zip
Diffstat (limited to 'docs')
-rw-r--r--docs/PredictableNetworkInterfaceNames.mdwn7
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/PredictableNetworkInterfaceNames.mdwn b/docs/PredictableNetworkInterfaceNames.mdwn
index 5f06561f1..901bfd56a 100644
--- a/docs/PredictableNetworkInterfaceNames.mdwn
+++ b/docs/PredictableNetworkInterfaceNames.mdwn
@@ -58,10 +58,9 @@ Does this have any drawbacks? Yes, it does. Previously it was practically guaran
You basically have four options:
-1. You disable the assignment of fixed names, so that the unpredictable kernel names are used again. For this, simply mask udev's rule file for the default policy: `ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules` (since v209: this file was called `80-net-name-slot.rules` in release v197 through v208)
-1. You create your own manual naming scheme, for example by naming your interfaces "internet0", "dmz0" or "lan0". For that create your own udev rules file and set the NAME property for the devices. Make sure to order it before the default policy file, for example by naming it `/etc/udev/rules.d/70-my-net-names.rules`
-1. You alter the default policy file, for picking a different naming scheme, for example for naming all interface names after their MAC address by default: `cp /usr/lib/udev/rules.d/80-net-setup-link.rules /etc/udev/rules.d/80-net-setup-link.rules`, then edit the file there and change the lines as necessary.
-1. You pass the net.ifnames=0 on the kernel command line (since v199)
+1. You disable the assignment of fixed names, so that the unpredictable kernel names are used again. For this, simply mask udev's rule file for the default policy: `ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules`
+1. You create your own manual naming scheme, for example by naming your interfaces "internet0", "dmz0" or "lan0". For that create your own .link files in /etc/systemd/network/, that choose an explicit name or a better naming scheme for one, some, or all of your interfaces. See [[systemd.link(5)|http://www.freedesktop.org/software/systemd/man/systemd.link.html]] for more information.
+1. You pass the net.ifnames=0 on the kernel command line
## How does the new naming scheme look like, precisely?