netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sysctls below net.ipv[46].conf.all not working as expected
@ 2010-12-29 16:06 Uwe Kleine-König
  2010-12-30 20:20 ` Uwe Kleine-König
  2010-12-30 20:30 ` David Miller
  0 siblings, 2 replies; 5+ messages in thread
From: Uwe Kleine-König @ 2010-12-29 16:06 UTC (permalink / raw)
  To: 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

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-22 10:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-29 16:06 sysctls below net.ipv[46].conf.all not working as expected Uwe Kleine-König
2010-12-30 20:20 ` Uwe Kleine-König
2010-12-30 20:30 ` David Miller
2010-12-30 20:43   ` Uwe Kleine-König
2011-02-22  9:34     ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).