James Knott wrote:
On 04/19/2015 12:51 PM, Per Jessen wrote:
The funny thing is - I only had to do that sysctl update on my ancient 10.3 system. On my 13.1 and 13.2 systems, the interface picks the default from /proc/sys/net/ipv6/conf/default/use_tempaddr (I suspect) when the interface is created.
As I mentioned, it worked for me with earlier versions and by changing the value, I could have either or both privacy and SLAAC addresses.
Right.
So, it wasn't when the interface was created. In fact the interface would be created long before I was in a position to change that value.
What I can't figure is - when are the default values used? At startup, net.ipv6.conf.default.use_tempaddr is set to '2'. By kernel default, the interface-specific setting is '0'. So which value will be given when a new interface is created (by loading the module) - 0 or 2? Let me try to recap - On/after startup, your net.ipv6.conf.default.use_tempaddr is '2', as is mine. Your device-specific net.ipv6.conf.ethX.use_tempaddr is '0', whereas mine is '2'. Your ethX only has the link-local and the SLAAC address, no random, whereas my ethX has all three. (this is all on 13.1). When you use sysctl to apply a '2' to net.ipv6.conf.ethX.use_tempaddr, your ethX gets a random/temp address too. I can't help thinking that something changes your net.ipv6.conf.ethX.use_tempaddr after startup - NetworkManager? -- Per Jessen, Zürich (7.4°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org