<div dir="ltr"><div>thanks!</div><div><br></div><div>$ udevadm info /sys/class/net/*<br>P: /devices/pci0000:00/0000:00:1f.6/net/eno1<br>L: 0<br>E: DEVPATH=/devices/pci0000:00/0000:00:1f.6/net/eno1<br>E: INTERFACE=eno1<br>E: IFINDEX=3<br>E: SUBSYSTEM=net<br>E: USEC_INITIALIZED=1182514<br>E: ID_MM_CANDIDATE=1<br>E: ID_NET_NAMING_SCHEME=v245<br>E: ID_NET_NAME_MAC=enx5065f34d8a34<br>E: ID_OUI_FROM_DATABASE=Hewlett Packard<br>E: ID_NET_NAME_ONBOARD=eno1<br>E: ID_NET_LABEL_ONBOARD=Onboard Lan<br>E: ID_NET_NAME_PATH=enp0s31f6<br>E: ID_BUS=pci<br>E: ID_VENDOR_ID=0x8086<br>E: ID_MODEL_ID=0x15b7<br>E: ID_PCI_CLASS_FROM_DATABASE=Network controller<br>E: ID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller<br>E: ID_VENDOR_FROM_DATABASE=Intel Corporation<br>E: ID_MODEL_FROM_DATABASE=Ethernet Connection (2) I219-LM<br>E: ID_PATH=pci-0000:00:1f.6<br>E: ID_PATH_TAG=pci-0000_00_1f_6<br>E: ID_NET_DRIVER=e1000e<br>E: ID_NET_LINK_FILE=/usr/lib/systemd/network/99-default.link<br>E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/eno1<br>E: TAGS=:systemd:<br><br>P: /devices/pci0000:00/0000:00:1d.0/0000:03:00.0/0000:04:02.0/0000:05:00.0/net/ens8f0<br>L: 0<br>E: DEVPATH=/devices/pci0000:00/0000:00:1d.0/0000:03:00.0/0000:04:02.0/0000:05:00.0/net/ens8f0<br>E: INTERFACE=ens8f0<br>E: IFINDEX=2<br>E: SUBSYSTEM=net<br>E: USEC_INITIALIZED=1746487<br>E: ID_MM_CANDIDATE=1<br>E: ID_NET_NAMING_SCHEME=v245<br>E: ID_NET_NAME_MAC=enx001b21708410<br>E: ID_OUI_FROM_DATABASE=Intel Corporate<br>E: ID_NET_NAME_PATH=enp5s0f0<br>E: ID_NET_NAME_SLOT=ens8f0<br>E: ID_BUS=pci<br>E: ID_VENDOR_ID=0x8086<br>E: ID_MODEL_ID=0x10e8<br>E: ID_PCI_CLASS_FROM_DATABASE=Network controller<br>E: ID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller<br>E: ID_VENDOR_FROM_DATABASE=Intel Corporation<br>E: ID_MODEL_FROM_DATABASE=82576 Gigabit Network Connection (Gigabit ET Quad Port Server Adapter)<br>E: ID_PATH=pci-0000:05:00.0<br>E: ID_PATH_TAG=pci-0000_05_00_0<br>E: ID_NET_DRIVER=igb<br>E: ID_NET_LINK_FILE=/usr/lib/systemd/network/99-default.link<br>E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/ens8f0<br>E: TAGS=:systemd:<br><br>P: /devices/pci0000:00/0000:00:1d.0/0000:03:00.0/0000:04:02.0/0000:05:00.1/net/ens8f1<br>L: 0<br>E: DEVPATH=/devices/pci0000:00/0000:00:1d.0/0000:03:00.0/0000:04:02.0/0000:05:00.1/net/ens8f1<br>E: INTERFACE=ens8f1<br>E: IFINDEX=4<br>E: SUBSYSTEM=net<br>E: USEC_INITIALIZED=1770489<br>E: ID_MM_CANDIDATE=1<br>E: ID_NET_NAMING_SCHEME=v245<br>E: ID_NET_NAME_MAC=enx001b21708411<br>E: ID_OUI_FROM_DATABASE=Intel Corporate<br>E: ID_NET_NAME_PATH=enp5s0f1<br>E: ID_NET_NAME_SLOT=ens8f1<br>E: ID_BUS=pci<br>E: ID_VENDOR_ID=0x8086<br>E: ID_MODEL_ID=0x10e8<br>E: ID_PCI_CLASS_FROM_DATABASE=Network controller<br>E: ID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller<br>E: ID_VENDOR_FROM_DATABASE=Intel Corporation<br>E: ID_MODEL_FROM_DATABASE=82576 Gigabit Network Connection (Gigabit ET Quad Port Server Adapter)<br>E: ID_PATH=pci-0000:05:00.1<br>E: ID_PATH_TAG=pci-0000_05_00_1<br>E: ID_NET_DRIVER=igb<br>E: ID_NET_LINK_FILE=/usr/lib/systemd/network/99-default.link<br>E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/ens8f1<br>E: TAGS=:systemd:<br><br>P: /devices/pci0000:00/0000:00:1d.0/0000:03:00.0/0000:04:04.0/0000:06:00.0/net/eth2<br>L: 0<br>E: DEVPATH=/devices/pci0000:00/0000:00:1d.0/0000:03:00.0/0000:04:04.0/0000:06:00.0/net/eth2<br>E: INTERFACE=eth2<br>E: IFINDEX=5<br>E: SUBSYSTEM=net<br><br>P: /devices/pci0000:00/0000:00:1d.0/0000:03:00.0/0000:04:04.0/0000:06:00.1/net/eth3<br>L: 0<br>E: DEVPATH=/devices/pci0000:00/0000:00:1d.0/0000:03:00.0/0000:04:04.0/0000:06:00.1/net/eth3<br>E: INTERFACE=eth3<br>E: IFINDEX=6<br>E: SUBSYSTEM=net<br><br>P: /devices/virtual/net/lo<br>L: 0<br>E: DEVPATH=/devices/virtual/net/lo<br>E: INTERFACE=lo<br>E: IFINDEX=1<br>E: SUBSYSTEM=net<br>E: USEC_INITIALIZED=1019476<br>E: ID_MM_CANDIDATE=1<br>E: ID_NET_LINK_FILE=/usr/lib/systemd/network/99-default.link<br><br>P: /devices/virtual/net/lxdbr0<br>L: 0<br>E: DEVPATH=/devices/virtual/net/lxdbr0<br>E: DEVTYPE=bridge<br>E: INTERFACE=lxdbr0<br>E: IFINDEX=7<br>E: SUBSYSTEM=net<br>E: USEC_INITIALIZED=136341357<br>E: ID_MM_CANDIDATE=1<br>E: ID_NET_NAMING_SCHEME=v245<br>E: ID_NET_DRIVER=bridge<br>E: ID_NET_LINK_FILE=/usr/lib/systemd/network/99-default.link<br>E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/lxdbr0<br>E: TAGS=:systemd:<br><br>P: /devices/virtual/net/piholelxd<br>L: 0<br>E: DEVPATH=/devices/virtual/net/piholelxd<br>E: INTERFACE=piholelxd<br>E: IFINDEX=10<br>E: SUBSYSTEM=net<br>E: USEC_INITIALIZED=149466251<br>E: ID_MM_CANDIDATE=1<br>E: ID_NET_DRIVER=veth<br>E: ID_NET_LINK_FILE=/usr/lib/systemd/network/99-default.link<br>E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/piholelxd<br>E: TAGS=:systemd:</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 16, 2021 at 7:45 AM Zbigniew JÄ™drzejewski-Szmek <<a href="mailto:zbyszek@in.waw.pl">zbyszek@in.waw.pl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Dec 16, 2021 at 07:27:44AM -0500, Tim Safe wrote:<br>
> Thanks for the reply! Here's the output:<br>
> <br>
> $ udevadm test-builtin net_id /sys/class/net/ens8f0<br>
> ID_NET_NAME_SLOT=ens8f0<br>
> <br>
> $ udevadm test-builtin net_id /sys/class/net/ens8f1<br>
> ID_NET_NAME_SLOT=ens8f1<br>
> <br>
> $ udevadm test-builtin net_id /sys/class/net/eth2<br>
> ID_NET_NAME_SLOT=ens8f0<br>
> <br>
> $ udevadm test-builtin net_id /sys/class/net/eth3<br>
> ID_NET_NAME_SLOT=ens8f1<br>
<br>
Thanks. What does 'udevadm info /sys/class/net/*' say?<br>
<br>
Zbyszek<br>
<br>
</blockquote></div>