On 2022-05-11 9:04 a.m., Andrei Borzenkov wrote:
I have no idea where you got the magic number 7 from, but it is still not relevant to your original question. Your system does have a stable global non-temporary address which does not change as long as you do not change system configuration.
I can count. I have been running IPv6 with SLAAC for 12 years. When I first boot my desktop computer, I get one persistent address, in my case based on the MAC, and 1 privacy address based on a random number. The next day, I'll have 2 privacy addresses, then 3, then 4, then 5, then 6, then 7. The next day I will still have 7 privacy addresses, but what had been the oldest the day before has been discarded. Here are my current ULA addresses, but the same applies to my global addresses:
ifconfig|grep fd48 inet6 fd48:1a37:2160:0:f932:70a1:d12e:9eb2 prefixlen 64 scopeid 0x0<global> inet6 fd48:1a37:2160:0:c95e:fa9:3a87:9fe3 prefixlen 64 scopeid 0x0<global> inet6 fd48:1a37:2160:0:c538:d337:2c53:7d58 prefixlen 64 scopeid 0x0<global> inet6 fd48:1a37:2160:0:6d1a:c696:6f61:f1e7 prefixlen 64 scopeid 0x0<global> inet6 fd48:1a37:2160:0:59d:f82:d976:9ba0 prefixlen 64 scopeid 0x0<global> inet6 fd48:1a37:2160:0:76d4:35ff:fe5b:f5fa prefixlen 64 scopeid 0x0<global> inet6 fd48:1a37:2160:0:f55b:d2e7:78ca:3281 prefixlen 64 scopeid 0x0<global> inet6 fd48:1a37:2160:0:95fe:dc25:c2d7:a2e5 prefixlen 64 scopeid 0x0<global>
Unless I need new glasses, there are 8 listed, one of which is based on the MAC address. Tormorrow, there will still be 8, with one new one and the oldest discarded. This is the way it's been working for 12 years.