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:
node ip route list:
container ip route list:
node route -6:
container route -6:
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