[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3616572.1745574403@warthog.procyon.org.uk>
Date: Fri, 25 Apr 2025 10:46:43 +0100
From: David Howells <dhowells@...hat.com>
To: Andrew Lunn <andrew@...n.ch>, Jakub Kicinski <kuba@...nel.org>
Cc: dhowells@...hat.com, Jedrzej Jagielski <jedrzej.jagielski@...el.com>,
Przemek Kitszel <przemyslaw.kitszel@...el.com>,
Tony Nguyen <anthony.l.nguyen@...el.com>,
Paulo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: Is it possible to undo the ixgbe device name change?
Andrew Lunn <andrew@...n.ch> 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
Powered by blists - more mailing lists