Ipv6 disable Autoconfig.

Sauron

New Member
Aug 14, 2009
5
0
1
Hi

On my gentoo openvz-container I would like to disable ipv6 autoconfig. It only needs a fixed ipv6-address.

In a normal gentoo you do following:
Gentoo ~# echo 0 > /proc/sys/net/ipv6/conf/eth0/autoconf
or with the sysctl
Gentoo ~# /sbin/sysctl -w net.ipv6.conf.eth0.autoconf=0

On my containter I get the following error:
Getnoo ~# error: permission denied on key 'net.ipv6.conf.eth0.autoconf'

Does anybody know how to disable ipv6 autoconf on openvz-container?

Kind Regards

Wouter