[systemd-devel] RFC: Predictable Network Interface Names

Kay Sievers kay at vrfy.org
Thu Feb 14 09:48:23 PST 2013


On Thu, Feb 14, 2013 at 6:35 PM, Holger Winkelmann <hw at travelping.com> wrote:
> we just start  using the network name schema. Anybody
> can explain how the LAbels:
>
> "ID_NET_NAME_ONBOARD_LABEL=Ethernet Port 1"
>
> defined here:
>
> http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-net_id.c#n52
>
> are exposed to user land tools? Can a user land tool i.e. tcpdump or ip tools address
> interfaces by using the Label "Ethernet Port 1" ?

The ID_NET_NAME_ONBOARD_LABEL property only exists when the firmware
provides it, which is not too common.

And the device name itself will have almost the same information, it
will be named eno1, which should be good enough for most cases.

But sure, if tools want, they can query the data from udev,  just
doubt that ID_NET_NAME_ONBOARD_LABEL is too useful in the end.

Kay


More information about the systemd-devel mailing list