Re: Is it possible to undo the ixgbe device name change?

From: David Howells
Date: Fri Apr 25 2025 - 05:47:15 EST


Andrew Lunn <andrew@xxxxxxx> wrote:

> It is systemd which later renames it to enp1s0 or enp1s0np0. If you
> ask me, you are talking to the wrong people.

Aha! It can be configured with systemd-udev.

See https://systemd.io/PREDICTABLE_INTERFACE_NAMES/

And also "man systemd.link".

# cat /etc/systemd/network/10-testnet.link
[Match]
MACAddress=00:11:22:33:44:55 <--- your MAC address here
[Link]
Description=Test Network
Name=enp1s0 <--- the name you want here


David