atom feed5 messages in org.kernel.vger.netdevsysctls below net.ipv[46].conf.all no...
FromSent OnAttachments
Uwe Kleine-KönigDec 29, 2010 8:05 am 
Uwe Kleine-KönigDec 30, 2010 12:19 pm 
David MillerDec 30, 2010 12:29 pm 
Uwe Kleine-KönigDec 30, 2010 12:42 pm 
Uwe Kleine-KönigFeb 22, 2011 1:34 am 
Subject:sysctls below net.ipv[46].conf.all not working as expected
From:Uwe Kleine-König (u.kl@pengutronix.de)
Date:Dec 29, 2010 8:05:27 am
List:org.kernel.vger.netdev

Hello,

I did the following:

cassiopeia:~# sysctl net.ipv6.conf.all.use_tempaddr net.ipv6.conf.all.use_tempaddr = 0

cassiopeia:~# sysctl net.ipv6.conf.eth0.use_tempaddr net.ipv6.conf.eth0.use_tempaddr = 0

cassiopeia:~# sysctl -w net.ipv6.conf.all.use_tempaddr=1 net.ipv6.conf.all.use_tempaddr = 1

cassiopeia:~# sysctl net.ipv6.conf.all.use_tempaddr net.ipv6.conf.all.use_tempaddr = 1

cassiopeia:~# sysctl net.ipv6.conf.eth0.use_tempaddr net.ipv6.conf.eth0.use_tempaddr = 0

Here I would have expected that eth0's use_tempaddr is 1, too. The problem is not that this entry isn't writeable:

cassiopeia:~# sysctl -w net.ipv6.conf.eth0.use_tempaddr=1 net.ipv6.conf.eth0.use_tempaddr = 1

cassiopeia:~# sysctl net.ipv6.conf.eth0.use_tempaddr net.ipv6.conf.eth0.use_tempaddr = 1

I got the same results when using net.ipv4.conf.all.rp_filter (and net.ipv4.conf.eth0.rp_filter resp.)

Is this a bug or just my failure to see how conf/all works?

Best regards Uwe