Re: sudo sysctl -w net.ipv6.conf.default.use_tempaddr=2
On 2025-12-21, Richmond wrote:
> Does anyone know why these two settings have no effect?
>
> cat /etc/sysctl.conf|grep -v ^#
>
> net.ipv6.conf.all.use_tempaddr=2
>
> cat /etc/sysctl.d/99-ipv6-privacy.conf
> net.ipv6.conf.all.use_tempaddr=2
>
> Whereas the subject line works after wifi is switched off and on again.
Could you check
grep -r use_tempaddr /etc/sysctl*
But I think "all" set use_tempaddr for existing interface and "default"
set it for future interface. I have "all" and "default" for various
parameters in my conf. So if you add in your conf
net.ipv6.conf.default.use_tempaddr=2
it should be used at boot.
Reply to: