Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

IPv6

634 bytes added, 03:21, 11 April 2012
no edit summary
venet devices are not fully IPv6 compliant, but still works if you statically assign IPv6 addresses. They do not properly support MAC addresses and consequently link local addresses and can not play nice with neighbor discovery or router advertisements, router discovery, or auto-conf. They also require additional modifications to the layer 3 forwarding behaviour of the host via sysctl.
 
== Configure the Node ==
In order for IPv6 to work for containers you must have a fully functioning IPv6 interface on the host node.
 
== CentOS Node Configuration for IPv6 ==
 
<pre>Add the below to the file /etc/sysconfig/network
 
NETWORKING_IPV6=yes
IPV6FORWARDING=yes
IPV6_DEFAULTDEV=eth0
IPV6_DEFAULTGW=aaaa:bbbb:a01a::1
IPV6_AUTOCONF=no
 
Add the below to the file /etc/sysconfig/network-scripts/ifcfg-ethX X being your interface number
 
IPV6INIT=yes
IPV6ADDR=aaaa:bbbb:cccc:0000:0100::1
 
/etc/sysctl.conf also needs
 
net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.all.proxy_ndp = 1
</pre>
 
== venet example ==
2
edits