vzctl start: set ipv6.conf.all.forwarding=0
IPv6 forwarding should be enabled on the host system
(since it acts as a router) but disabled in CT. By default,
kernel (at least RHEL6-based, with net namespaces) derives
IP configuration of CT from the host, so we need to explicitly
disable forwarding in vzctl on CT start.
This makes DHCP6 working inside CT with veth device.
If a user wants to enable IPv6 forwarding, he can still use
standard /etc/sysctl.conf mechanism for that.
Issue PSBM-7458.
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed