Proposal: enable stateless persistant network interface names

Martin Pitt mpitt at debian.org
Sat May 9 10:44:47 BST 2015


Hey Paul,

Paul Wise [2015-05-09 16:15 +0800]:
> Is there a tool to list interfaces based on their characteristics?
> Right now at $work our initial setup code does glob eth* in
> /sys/class/net in order to setup a bond interface using all NICs, so
> network works no matter which NIC one plugs a cable into. It sounds
> like this proposal would break that, so we would need a way to list
> all Ethernet interfaces but not the bond interface and not any USB
> network interfaces etc.

en* should be the equivalent with ifnames (but not with biosdevname!).
Wifis are called wl*, and virtual interfaces like vlans, bridges,
bonds, etc. are assigned by the admin (or at least not by the kernel
and udev) anyway.

However, I don't know how USB ethernet interfaces look like (neither
in the kernel driver nor with ifnames).

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)




More information about the Pkg-systemd-maintainers mailing list