Search

Language:  
Search for:

Available article translations:

Container is not accessible over IPv6

APPLIES TO:
  • Parallels Cloud Server 6.0
  • Parallels Virtuozzo Containers for Linux
  • Parallels Server

Symptoms

IPv6 network does not function properly inside a container. Hardware node is configured correctly and external hosts are accessible over IPv6, however these hosts are not accessible from the container.

Cause

Most likely the iptables chain FORWARD contains prohibiting rules.

Resolution

If the container works in host-routed mode then check iptables-save output for prohibiting entries and remove those, e.g.:

[root@server ~]# ip6tables-save
# Generated by ip6tables-save v1.4.7 on Mon Aug 20 23:28:37 2012
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [3833:285729]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p ipv6-icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp6-adm-prohibited
-A FORWARD -j REJECT --reject-with icmp6-adm-prohibited
COMMIT
# Completed on Mon Aug 20 23:28:37 2012

If the container works in bridged mode, then similar rules may also affect the networking. In order to bypass iptables rules for bridged containers disable corresponding check in sysctl:

# sysctl net.bridge.bridge-nf-call-ip6tables=0

In order to preserve changes after reboot:

# echo "net.bridge.bridge-nf-call-ip6tables = 0" >> /etc/sysctl.conf

Search words:

default gateway ipv6




909d99074e442b52ce54cc7b31cf065d 2897d76d56d2010f4e3a28f864d69223 bf1c3a170005eae151f49ba2720abde9 ca05eaf5b843fbd53589c90d7228a6df eb0ea3b827d18de2329b6477e24c1d59 3d9560cc94370f9e1bd9256d230e5ee8

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Desktop Virtualization
- Parallels Desktop 9 for Mac
- Parallels Transporter
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac Enterprise Edition
- Parallels Management-Mac for Microsoft SCCM
Server Virtualization
- Parallels Cloud Server
- Parallels Containers for Windows 6.0 Beta
- Parallels Virtuozzo Containers
Automation
- Parallels Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Web Presence Builder
- Parallels Plesk Automation
- Parallels Small Business Panel
- Value-added Services for Hosters
- Parallels Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification