# how to set custom interface names

find out the MAC address of your interface:
```
ip addr show
```

then create a file in `/etc/systemd/network/10-${name:?}.link` with the contents:
```
[Match]
MACAddress=${mac_address:?}

[Link]
Name=${name:?}
```

don't forget to run `update-initramfs -u` afterwards to make sure the configuration takes effect.