I want to test ipv6 with two containers in separate networks within the same project, within the same lxd-host.
Containers are “one” and “two”.
My two networks are configured as:
BR001 - configured as:
config:
ipv4.address: 10.241.98.1/24
ipv4.nat: "true"
ipv6.address: fd42:d264:4416:5fe8::1/64
ipv6.nat: "true"
description: ""
name: BR001
type: bridge
used_by:
- /1.0/instances/one
managed: true
status: Created
locations:
- none
The other network BR002
config:
ipv4.address: 10.221.208.1/24
ipv4.nat: "true"
ipv6.address: fd42:d264:4416:5fe8::2/64
ipv6.nat: "true"
description: ""
name: BR002
type: bridge
used_by:
- /1.0/instances/two
managed: true
status: Created
locations:
- none
The instances can ping their gateways:
root@one:~# ping6 fd42:d264:4416:5fe8::1
PING fd42:d264:4416:5fe8::1(fd42:d264:4416:5fe8::1) 56 data bytes
64 bytes from fd42:d264:4416:5fe8::1: icmp_seq=1 ttl=64 time=0.121 ms
root@two:~# ping6 fd42:d264:4416:5fe8::2
PING fd42:d264:4416:5fe8::2(fd42:d264:4416:5fe8::2) 56 data bytes
64 bytes from fd42:d264:4416:5fe8::2: icmp_seq=1 ttl=64 time=0.149 ms
However, I can’t seem to get the containers to communicate in-between.
root@one:~# ping6 fd42:d264:4416:5fe8:216:3eff:feab:f109
PING fd42:d264:4416:5fe8:216:3eff:feab:f109(fd42:d264:4416:5fe8:216:3eff:feab:f109) 56 data bytes
^C
— fd42:d264:4416:5fe8:216:3eff:feab:f109 ping statistics —
2 packets transmitted, 0 received, 100% packet loss, time 1031ms
I am not a ipv6 guru, so I suspect I’m doing something wrong with either:
- How my networks need to be configured
- How my host is setup
- Something else?
Anyone that can advice here?