Re: SLAAC private addresses and privacy extensions
Roy Marples
Mon Jan 27 13:44:07 2020
Hi Julian
On 27/01/2020 13:17, Julian Wollrath wrote:
I am using Debian Sid and enabled the usage of RFC 7217 address via
'slaac private' which gives me a stable address but this is not a
temporary address, i.e. ip addr gives me
iface: [...]
inet6 IPv6::address scope global dynamic mngtmpaddr noprefixroute
valid_lft 300sec preferred_lft 60sec
Since RFC 4941 is supported, is there also a way, to get temporary
addresses managed by dhcpcd or do I have to enable it with setting
"net.ipv6.conf.all.use_tempaddr = 2"
with possibly setting also the preferred and maximum valid lifetime via
sysctl and then that part is handled by the kernel?
Unlike the BSD's, Linux does not allow a 3rd party to manage temporary
addresses. All dhcpcd can do is say "you can manage temporary addresses from
this SLAAC address."
So you'll need to set net.ipv6.conf.all.use_tempaddr = 2.
You're also correct about the lifetimes of the temporary addresses.
Roy
Archive administrator: postmaster@marples.name