By default Ubuntu 21.10 (should be the same for 20.04) does generate temporary/privacy IPV6 addresses. I would like to disable this behavior in order to make my computer into a server, and to do so I would like to have an IPV6 address as stable as possible (notably to ease of process of configuring a DNS name without using DDNS, at least for the IPV6 address).
When looking at ip -6 address
it looks like this:
inet6 2a02:a03f:a0bb:abcd:ea4b:d152:592e:74da/64 scope global temporary dynamic
valid_lft 83659sec preferred_lft 69259sec
inet6 2a02:a03f:a0bb:abcd:3c0d:e2ad:569e:2536/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 83659sec preferred_lft 69259sec
I want an autoconfigured permanent addresses like this (taken from a server in the same network, the address seem to have been generated using the modified EUI-64 algorithm):
inet6 2a02:a03f:a0bb:abcd:211:32ff:fe59:76be/64 scope global dynamic
valid_lft 64840sec preferred_lft 50440sec
Please note I don't want to configure a static IPV6address!
That's why I ask this question today. Most Google searchs about this issue ends in nonsensical advice explaining how to configure a static IPV6 address. It's not the same thing than a permanent autoconfigured address. To generate those the OS must listen for the router to get the first 64 bits of the address and the complete the remaining bits with its MAC address.