On 09.05.2022 17:42, James Knott wrote:
On 2022-05-09 10:10 a.m., Andrei Borzenkov wrote:
You provided vague description of your problem and got vague suggestion. Start with showing actual facts like "ip -6 a" and marking what is wrong.
I already stated that I only get dynamic addresses and no persistent address.
wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000 inet6 fd48:1a37:2160:0:314d:2cb6:9ec9:c4c1/64 scope global temporary dynamic valid_lft 85611sec preferred_lft 13611sec inet6 fd48:1a37:2160:0:71f0:e1b4:77ce:12e4/64 scope global dynamic mngtmpaddr noprefixroute <--- ??? valid_lft 85611sec preferred_lft 13611sec inet6 2607:fea8:4c82:5900:314d:2cb6:9ec9:c4c1/64 scope global temporary dynamic valid_lft 85611sec preferred_lft 13611sec inet6 2607:fea8:4c82:5900:8d63:e1de:7def:14a8/64 scope global dynamic mngtmpaddr noprefixroute <--- ???
This is global non-temporary address.
valid_lft 85611sec preferred_lft 13611sec inet6 fe80::2579:66fb:acb:bda0/64 scope link noprefixroute valid_lft forever preferred_lft forever
On the desktop system, I have this line, where the address is based on the MAC: inet6 fd48:1a37:2160:0:76d4:35ff:fe5b:f5fa/64 scope global dynamic mngtmpaddr
Nothing requires to use MAC for building address. What is the output of cat /proc/sys/net/ipv6/conf/wlan0/addr_gen_mode
This address is persistent and has survived for years, through even replacing my firewall computer and cable modem and updating openSUSE. Also, the least significant 64 bits have remained through different prefixes, as they're based on the MAC. On my ThinkPad, I can't even get an address that survives a reboot.
Well, we have your word for it. Show the same output again again after reboot.