Re:I spent a week without IPv4 to understand IPv6 transition...
by xnyanta on Tuesday March 07, 2023 @09:49AM
(#35055924)
Well, that is unfortunate because it invalidates a lot of the benefit of the link-local address while providing "pivacy" over the local link scope... I have not encountered any equipment in the wild that does this, thankfully. The only distros I use (NixOS and VyOS) do not have this behaviour by default so this was news to me.
Re:I spent a week without IPv4 to understand IPv6 transition...
by bert64 on Tuesday March 07, 2023 @10:27AM
(#35056365)
The link-local address is generated when you first enable the interface (ie when you load the drivers for your NIC), it won't change unless you manually force it to.
Linux will use EUI-64 if left to its own devices, or privacy extensions if you're using something like networkmanager. This makes sense because a desktop oriented distro will typically use networkmanager while a server oriented distro will not, and having a predictable eui-64 address is usually beneficial for a server.
Windows and many Linux distros by default enable the privacy extensions on the link local address; it's randomized for a period of time. This is right off a Windows 10 VM:
ipconfig:
Notice that there's no ff:fe in the middle of the address?RHEL 9:
Fedora Core 35: Ubuntu 22.04: I don't have a Debian right on hand but IIRC they do the same thing. Alpine uses EUI64 I think though.