Proposed F19 Feature: systemd/udev Predictable Network Interface Names

Garry T. Williams gtwilliams at gmail.com
Thu Feb 7 03:38:20 UTC 2013


On 2-6-13 14:33:42 Michal Schmidt wrote:
> If you have Fedora 18 with updates applied your systemd is new
> enough to allow you to see the udev-generated names using:
> 
> udevadm info --export -p /sys/class/net/$IFACE | grep ID_NET
> 
> Example output:
> 
> E: ID_NET_NAME_MAC=enx000f53014229
> E: ID_NET_NAME_PATH=enp40s0f1d1
> E: ID_NET_NAME_SLOT=ens4f1d1

One (probably very common) data point, then:

    garry at vfr$ lspci|grep Ethernet
    00:19.0 Ethernet controller: Intel Corporation 82562V 10/100 Network Connection (rev 02)
    garry at vfr$ udevadm info --export -p /sys/class/net/em1 | grep ID_NET
    E: ID_NET_NAME_MAC=enx0019d1726ba9
    E: ID_NET_NAME_PATH=enp0s25
    garry at vfr$

-- 
Garry T. Williams



More information about the devel mailing list