Add IPv6 address to container VE 3.3

Nov 4, 2014
24
2
3
Hi,

I just got IPv6 at home, and I can't figure out how I add IPv6-addresses to containers. (me + networks = bad combination:()

Changes I have made:
1. added net.ipv6.conf.all.forwarding=1 and net.ipv6.conf.all.proxy_ndp=1 to /etc/sysctl.conf + reboot
2. Added IP(2001:xxxx:xxxx:0:21e:67ff:1:2) to container in web GUI.

What else do I have to do to make this work? :)

There are a couple of post like this, but most of them are "This is what I got now" without an clear explanation on how they got there.

ping6:
Code:
node -> container - Works.
container -> node - Works.
node -> Any IPv6 - Works.
Any IPv6 -> node - Works.
container -> Any IPv6 - Fails. (no reply, just PING ipv6.google.com(arn02s06-in-x06.1e100.net) 56 data bytes)
Any IPv6 -> container - Fails (Destination unreachable: Address unreachable)

node ip route list:
Code:
192.168.1.5 dev venet0  scope link 192.168.1.6 dev venet0  scope link 
192.168.1.9 dev venet0  scope link 
192.168.1.14 dev venet0  scope link 
192.168.1.0/24 dev vmbr0  proto kernel  scope link  src 192.168.1.3 
10.0.0.0/8 dev vmbr1  proto kernel  scope link  src 10.0.0.3 
default via 192.168.1.1 dev vmbr0

container ip route list:
Code:
default dev venet0  scope link

node route -6:
Code:
Kernel IPv6 routing tableDestination                    Next Hop                   Flag Met Ref Use If
2001:xxxx:xxxx:0:21e:67ff:1:2/128 ::                         U    1024 0     0 venet0
2001:xxxx:xxxx::/64            ::                         UAe  256 0    58 vmbr0
fd6b:xxxx:xxxx::/64            ::                         UAe  256 0    58 vmbr0
fe80::1/128                    ::                         U    256 0     0 venet0
fe80::/64                      ::                         U    256 0     0 vmbr0
fe80::/64                      ::                         U    256 0     0 vmbr1
fe80::/64                      ::                         U    256 0     0 eth0
fe80::/64                      ::                         U    256 0     0 venet0
::/0                           fe80::e091:f5ff:fecc:a5a1  UGDAe 1024 0   113 vmbr0
::/0                           ::                         !n   -1  1   335 lo
::1/128                        ::                         Un   0   1     3 lo
2001:xxxx:xxxx:0:21e:67ff:fe6e:6101/128 ::                         Un   0   1     3 lo
fd6b:xxxx:xxxx:0:21e:67ff:fe6e:6101/128 ::                         Un   0   1    76 lo
fe80::1/128                    ::                         Un   0   1     0 lo
fe80::21e:67ff:fe6e:6101/128   ::                         Un   0   1     0 lo
fe80::21e:67ff:fe6e:6101/128   ::                         Un   0   1     7 lo
fe80::ccfd:d7ff:fefc:f48f/128  ::                         Un   0   1     0 lo
ff00::/8                       ::                         U    256 0     0 vmbr0
ff00::/8                       ::                         U    256 0     0 vmbr1
ff00::/8                       ::                         U    256 0     0 eth0
ff00::/8                       ::                         U    256 0     0 venet0
::/0                           ::                         !n   -1  1   335 lo

container route -6:
Code:
Kernel IPv6 routing tableDestination                    Next Hop                   Flag Met Ref Use If
2001:xxxx:xxxx:0:21e:67ff:1:2/128 ::                         U    256 0     0 venet0
fe80::/64                      ::                         U    256 0     0 venet0
::/0                           ::                         U    1   0     0 venet0
::/0                           ::                         U    1024 0     0 venet0
::/0                           ::                         !n   -1  1   150 lo
::1/128                        ::                         Un   0   1    23 lo
2001:xxxx:xxxx:0:21e:67ff:1:2/128 ::                         Un   0   1     7 lo
ff00::/8                       ::                         U    256 0     0 venet0
::/0                           ::                         !n   -1  1   150 lo
 
I don't understand you. You say, you've got IPV6 at home, ok, from you provider or did you add an tunnelbroker? When you get IPV6 from your provider everything should work automaticly. When you add some tunnelbroker, you need RADVD to broadcast IPV6 Adresses and Routes. Also fine is to have an Multicast DNS Service, do set the IPV6 DNSserver automaticly on every host.

I also have OpenVZ and KVM Machines running on PVE. IPV6 work out of the box.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!