On Fri 13 Nov 2026 at 00:59:40 (+0000), Andy Smith wrote:
> On Thu, Nov 12, 2026 at 09:39:17AM +0000, Tim Woodall wrote:
> > You can also add a file, something like this:
> 
> Franco did post this link which already had that advice:
> 
>     https://wiki.debian.org/NetworkInterfaceNames#custom
> 
> > tim@dirac:/sys (none)$ cat /etc/systemd/network/10-eth0.link
> > [Match]
> > MACAddress=80:80:80:80:80:80
> > 
> > [Link]
> > Name=eth0
> 
> …however if you are going to do this it is not advised to rename back to
> a name that the system could normally pick (e.g. eth0). Best to pick
> "lan0" or something like that.

Or you could copy the way that iwd does it for wireless interfaces:

  [Match]
  Type=ether    (in place of iwd's wlan)

  [Link]
  NamePolicy=keep kernel

as documented in man systemd.link.

Cheers,
David.

Reply via email to