Re: [bitfolk] Disable predictable network interface names by…

Top Page
Author: Andy Smith
Date:  
To: users
Subject: Re: [bitfolk] Disable predictable network interface names by default?

Reply to this message
gpg: Signature made Tue Apr 5 14:12:18 2022 UTC
gpg: using DSA key 0E4236CB52951E14536066222099B64CBF15490B
gpg: Good signature from "Andy Smith <andy@strugglers.net>" [unknown]
gpg: aka "Andrew James Smith <andy@strugglers.net>" [unknown]
gpg: aka "Andy Smith (UKUUG) <andy.smith@ukuug.org>" [unknown]
gpg: aka "Andy Smith (BitFolk Ltd.) <andy@bitfolk.com>" [unknown]
gpg: aka "Andy Smith (Linux User Groups UK) <andy@lug.org.uk>" [unknown]
gpg: aka "Andy Smith (Cernio Technology Cooperative) <andy.smith@cernio.com>" [unknown]
On Sun, Apr 03, 2022 at 05:55:12PM +0000, Andy Smith wrote:
> The version of udev that will come with the next Debian stable and
> Ubuntu LTS releases has learned about Xen network interfaces and as
> a result they will be subjected to "predictable network interface
> naming":
>
>     https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

>
> That is, you won't have an eth0 any more, it will be en123abc or
> whatever, based on MAC address.


Having now tested this, eth0 will actually get renamed to enX0.

         Starting Raise network interfaces...
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.


Debian GNU/Linux bookworm/sid debtest1 hvc0

debtest1 login: root
Password:
Linux debtest1 5.16.0-5-amd64 #1 SMP PREEMPT Debian 5.16.14-1 (2022-03-15) x86_64
root@debtest1:~# ip link
2: enX0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:16:5e:00:02:39 brd ff:ff:ff:ff:ff:ff


So it actually is entirely predictable, if of questionable point.

Cheers,
Andy

--
https://bitfolk.com/ -- No-nonsense VPS hosting