Hi fellow Debian users! In my quest to advance the IPv6 preparedness of my home LAN I want to find a solution to use IP tokens on all my clients. IP tokens (keeping the host part of the IPv6 address static while getting the subnet part by SLAAC) seem very elegant to me, because it avoids DHCPv6 completely, and still makes mostly working DNS records possible.
Opinions on SLAAC+IP tokens are welcome ;) One of my clients is a surface laptop running Debian sid, Gnome, NetworkManager and getting connection via WiFi. The first hickup with this is, that seemingly ra is disabled on my NetworkManager configured device wl0: root@surface:~# ip token set ::5fac dev wl0 Error: ipv6: Router advertisement is disabled on device. This can easily corrected with echo 1 > /proc/sys/net/ipv6/conf/wl0/accept_ra But: Is this a misconfiguration on my machine, or to be expected, when using NetworkManager? I am using the following settings in the GUI: IPv5: "Disable", IPv6 "Automatic". Do I risk messing up other stuff by manually setting this eg. with the help of /etc/sysctl.conf? After that ip token set ::5fac dev wl0 works just fine and I get a nice ip with the token part in it: 2: wl0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default qlen 1000 link/ether 00:00:0f:00:00:00 brd ff:ff:ff:ff:ff:ff permaddr 6c:a1:00:20:ca:7b inet6 2a02:ab8:201:5b8::5fac/64 scope global dynamic mngtmpaddr proto kernel_ra valid_lft 86394sec preferred_lft 14394sec inet6 2a02:ab8:201:5b8:526a:2061:5984:24a/64 scope global dynamic noprefixroute valid_lft 86395sec preferred_lft 14395sec inet6 fe80::6e20:1d4b:4fa:e41f/64 scope link noprefixroute valid_lft forever preferred_lft forever But what is the correct way to do this "ip token set" with NetworkManager (or in spite of NetworkManager ;)? Should I use nmcli or something else? Is there maybe even a hidden Gnome GUI option? Any other comments on this maybe quixotic endavour are welcome ;) Thanks in advance, Ralph