<div dir="ltr">Good day everybody<br><br>I have two link files for mvc-sw1 and mvc-sw2. <br><br># mvc-sw1<br>```<br># Fixed MAC and name for eno2 (Switch 1 connection) when debug board is plugged in<br># Renamed to mvc-sw1 by PCI Address and set custom MAC address.<br>[Match]<br>Property=DEVPATH=/devices/pci0000:00/0000:00:10.0/0000:05:00.0/net/eno2<br><br>[Link]<br>MACAddress=02:00:00:00:05:00<br>Name=mvc-sw1<br>```<br><br># mvc-sw2<br>```<br># Fixed MAC and name for enp6s0 (Block Diagram) when debug board is plugged in<br># Renamed to mvc-sw2 by PCI Address and set custom MAC address.<br>[Match]<br>Property=DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:06:00.0/net/enp6s0<br><br>[Link]<br>MACAddress=02:00:00:00:06:00<br>Name=mvc-sw2<br>```<br><br>I update the initrd file and rebooted and the system comes up with eno2 and enp6s0 instead of the expected mvc-sw1 and mvc-sw1.<br>Looking at udevadm info I get the following<br>```<br>P: /devices/pci0000:00/0000:00:10.0/0000:05:00.0/net/eno2<br>L: 0<br>E: DEVPATH=/devices/pci0000:00/0000:00:10.0/0000:05:00.0/net/eno2<br>E: INTERFACE=eno2<br>E: IFINDEX=4<br>E: SUBSYSTEM=net<br>E: USEC_INITIALIZED=8968404<br>E: ID_NET_NAMING_SCHEME=v245<br>E: ID_NET_NAME_ONBOARD=eno2<br>E: ID_NET_LABEL_ONBOARD=Onboard ETHERNET Controller<br>E: ID_NET_NAME_PATH=enp5s0<br>E: ID_BUS=pci<br>E: ID_VENDOR_ID=0x11ab<br>E: ID_MODEL_ID=0x0f13<br>E: ID_PCI_CLASS_FROM_DATABASE=Network controller<br>E: ID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller<br>E: ID_VENDOR_FROM_DATABASE=Marvell Technology Group Ltd.<br>E: ID_PATH=pci-0000:05:00.0<br>E: ID_PATH_TAG=pci-0000_05_00_0<br>E: ID_NET_DRIVER=oak<br>E: ID_NET_LINK_FILE=/etc/systemd/network/10-oxb-mvc-sw1-debug.link<br>E: ID_NET_NAME=eno2<br>E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/eno2 /sys/subsystem/net/devices/eno2<br>E: TAGS=:systemd:<br>```<br><br>```<br>P: /devices/pci0000:00/0000:00:11.0/0000:06:00.0/net/enp6s0<br>L: 0<br>E: DEVPATH=/devices/pci0000:00/0000:00:11.0/0000:06:00.0/net/enp6s0<br>E: INTERFACE=enp6s0<br>E: IFINDEX=5<br>E: SUBSYSTEM=net<br>E: USEC_INITIALIZED=8928106<br>E: ID_NET_NAMING_SCHEME=v245<br>E: ID_NET_NAME_PATH=enp6s0<br>E: ID_BUS=pci<br>E: ID_VENDOR_ID=0x11ab<br>E: ID_MODEL_ID=0x0f13<br>E: ID_PCI_CLASS_FROM_DATABASE=Network controller<br>E: ID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller<br>E: ID_VENDOR_FROM_DATABASE=Marvell Technology Group Ltd.<br>E: ID_PATH=pci-0000:06:00.0<br>E: ID_PATH_TAG=pci-0000_06_00_0<br>E: ID_NET_DRIVER=oak<br>E: ID_NET_LINK_FILE=/etc/systemd/network/10-oxb-mvc-sw2-debug.link<br>E: ID_NET_NAME=enp6s0<br>E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/enp6s0 /sys/subsystem/net/devices/enp6s0<br>E: TAGS=:systemd:<br>```<br><br>ID_NET_LINK_FILE seems to indicate it used the link file, but I'm not sure why the interface names were not changed ? <br><br>I'm on Ubuntu Focal 245.4<br><br>Any guidance would be appreciated. <br><br>Kind regards<br>Henti</div>