You are not logged in.

#1 2011-12-02 07:08:18

nblock
Member
From: Austria
Registered: 2008-08-06
Posts: 123
Website

[SOLVED] Enable IPv6 Privacy Extensions via in sysctl.conf don't work

Hello,
in /etc/sysctl.conf, i have the following settings:

net.ipv6.conf.all.use_tempaddr=2
net.ipv6.conf.default.use_tempaddr=2

However, when the machine boots, i get the following error message:

Fri Dec  2 07:53:04 2011: error: "net.ipv6.conf.all.use_tempaddr" is an unknown key
Fri Dec  2 07:53:04 2011: error: "net.ipv6.conf.default.use_tempaddr" is an unknown key

Setting the values manually works for me:

sudo sysctl net.ipv6.conf.all.use_tempaddr=2
sudo sysctl net.ipv6.conf.default.use_tempaddr=2

Am i missing something here?

Last edited by nblock (2011-12-11 21:00:27)

Offline

#2 2011-12-03 11:37:51

ghen
Member
From: Belgium
Registered: 2010-08-31
Posts: 121

Re: [SOLVED] Enable IPv6 Privacy Extensions via in sysctl.conf don't work

The ipv6 kernel module is probably not loaded yet at the time sysctl.conf is parsed (hence those entries don't exist).  Try adding "ipv6" to your rc.conf MODULES array.

Offline

#3 2011-12-11 20:58:25

nblock
Member
From: Austria
Registered: 2008-08-06
Posts: 123
Website

Re: [SOLVED] Enable IPv6 Privacy Extensions via in sysctl.conf don't work

ghen wrote:

The ipv6 kernel module is probably not loaded yet at the time sysctl.conf is parsed (hence those entries don't exist).  Try adding "ipv6" to your rc.conf MODULES array.

Thank you very much, adding "ipv6" to MODULES array did the trick.

Offline

Board footer

Powered by FluxBB