[systemd-devel] RFC: Predictable Network Interface Names
Holger Winkelmann
hw at travelping.com
Thu Feb 14 09:35:13 PST 2013
HI,
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" ?
Many Thanks,
Holger
----- Original Message -----
> Seems we need to introduce aliases available across all tools ;)
>
> What about "eth0" as label to show the heritage ???
>
> Honestly, how are the labels exposed to userland tools?
>
> --
>
> Holger Winkelmann
> Travelping GmbH
> +49-171-5594745
>
> ### Sent from a mobile device. Sorry for brevity and typos... ###
>
> On 12.02.2013, at 09:07, Jan Engelhardt <jengelh at inai.de> wrote:
>
> >
> > On Monday 2013-01-07 23:29, Lennart Poettering wrote:
> >>
> >> For your example the new code would pick a name of "enp0s0d0", i.e. for
> >> pci bus 0, slot 0, and dev_id 0.
> >
> > Is it Solaris time yet? enp0s0d0, that's just like c0t0d0s0. And
> > next, we'll have "/pci at 0/pci at 0/pci at 1/pci at 0/pci at 2/network at 0,1" as
> > interface names, save for a too-short IFNAMSIZ issue :-p
> >
> > (Don't ask me why Sun likes to cascade PCI bridges so much.)
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
--
--
Holger Winkelmann
email: hw at travelping.com
mobil: +49-171-5594745
More information about the systemd-devel
mailing list