Obtaining interface list, which can be used to drill down into details:
$ ls /sys/class/net/ br0 eno1 enp5s0 lo lxcbr0 veth-tf64-v90 vlan90 vlan90_br0 wlp6s0 rpb@nuc:~/data/passwords$ ls /sys/class/net/enp5s0 addr_assign_type carrier dev_id gro_flush_timeout master operstate proto_down testing upper_br0 address carrier_changes dev_port ifalias mtu phys_port_id queues threaded addr_len carrier_down_count dormant ifindex name_assign_type phys_port_name speed tx_queue_len broadcast carrier_up_count duplex iflink napi_defer_hard_irqs phys_switch_id statistics type brport device flags link_mode netdev_group power subsystem uevent
Provides some descriptive details and places of interest:
$ sudo udevadm test-builtin net_id /sys/class/net/enp5s0 Trying to open "/etc/systemd/hwdb/hwdb.bin"... Trying to open "/etc/udev/hwdb.bin"... Trying to open "/usr/lib/systemd/hwdb/hwdb.bin"... Trying to open "/lib/systemd/hwdb/hwdb.bin"... Trying to open "/lib/udev/hwdb.bin"... === trie on-disk === tool version: 252 file size: 12198286 bytes header size 80 bytes strings 2478998 bytes nodes 9719208 bytes Loading kernel module index. Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy Found container virtualization none. Using default interface naming scheme 'v252'. Parsed configuration file "/usr/lib/systemd/network/99-default.link" Parsed configuration file "/usr/lib/systemd/network/73-usb-net-by-mac.link" Created link configuration context. ID_NET_NAMING_SCHEME=v252 ID_NET_NAME_MAC=enx54b2030473fa enp5s0: MAC address identifier: hw_addr=54:b2:03:04:73:fa → x54b2030473fa ID_OUI_FROM_DATABASE=PEGATRON CORPORATION sd-device: Failed to chase symlinks in "/sys/devices/pci0000:00/0000:00:1c.1/0000:05:00.0/of_node". sd-device: Failed to chase symlinks in "/sys/devices/pci0000:00/0000:00:1c.1/0000:05:00.0/physfn". enp5s0: Parsing slot information from PCI device sysname "0000:05:00.0": success enp5s0: dev_port=0 enp5s0: PCI path identifier: domain=0 bus=5 slot=0 func=0 phys_port= dev_port=0 → p5s0 ID_NET_NAME_PATH=enp5s0 Unload kernel module index. Unloaded link configuration context.
The raw details contributing to the previous data:
$ udevadm info /sys/class/net/enp5s0 P: /devices/pci0000:00/0000:00:1c.1/0000:05:00.0/net/enp5s0 M: enp5s0 R: 0 U: net I: 2 E: DEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:05:00.0/net/enp5s0 E: SUBSYSTEM=net E: INTERFACE=enp5s0 E: IFINDEX=2 E: USEC_INITIALIZED=5978173 E: ID_NET_NAMING_SCHEME=v252 E: ID_NET_NAME_MAC=enx54b2030473fa E: ID_OUI_FROM_DATABASE=PEGATRON CORPORATION E: ID_NET_NAME_PATH=enp5s0 E: ID_BUS=pci E: ID_VENDOR_ID=0x8086 E: ID_MODEL_ID=0x157b E: ID_PCI_CLASS_FROM_DATABASE=Network controller E: ID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller E: ID_VENDOR_FROM_DATABASE=Intel Corporation E: ID_MODEL_FROM_DATABASE=I210 Gigabit Network Connection E: ID_PATH=pci-0000:05:00.0 E: ID_PATH_TAG=pci-0000_05_00_0 E: ID_NET_DRIVER=igb E: ID_NET_LINK_FILE=/usr/lib/systemd/network/99-default.link E: ID_NET_NAME=enp5s0 E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/enp5s0 E: TAGS=:systemd: E: CURRENT_TAGS=:systemd: