Hi
I just formed an lxd cluster with microcloud. now i would like several other networks than the one set up by microcloud init
So as the doc says:
lxc network create --target lxd-cluster-1 dev
lxc network create --target lxd-cluster-2 dev
lxc network create --target lxd-cluster-3 dev
lxc network create dev
ok i have containers in both network zones
+-----------------+---------+---------------------+-----------------------------------------------+-----------+-----------+---------------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | LOCATION |
+-----------------+---------+---------------------+-----------------------------------------------+-----------+-----------+---------------+
| active-gator | RUNNING | 240.12.0.117 (eth0) | | CONTAINER | 0 | lxd-cluster-3 |
+-----------------+---------+---------------------+-----------------------------------------------+-----------+-----------+---------------+
| bursting-urchin | RUNNING | 10.89.87.118 (eth0) | fd42:cfe1:182f:8389:216:3eff:fe38:55b0 (eth0) | CONTAINER | 0 | lxd-cluster-2 |
+-----------------+---------+---------------------+-----------------------------------------------+-----------+-----------+---------------+
| cosmic-ostrich | RUNNING | 10.89.87.174 (eth0) | fd42:cfe1:182f:8389:216:3eff:fecd:e978 (eth0) | CONTAINER | 0 | lxd-cluster-1 |
+-----------------+---------+---------------------+-----------------------------------------------+-----------+-----------+---------------+
| model-mallard | RUNNING | 240.10.0.74 (eth0) | | CONTAINER | 0 | lxd-cluster-1 |
+-----------------+---------+---------------------+-----------------------------------------------+-----------+-----------+---------------+
my network config is
lxc network show lxdfan0
config:
bridge.mode: fan
fan.underlay_subnet: 192.168.0.0/24
ipv4.nat: "true"
description: ""
name: lxdfan0
type: bridge
used_by:
- /1.0/instances/active-gator
- /1.0/instances/model-mallard
- /1.0/profiles/default
managed: true
status: Created
locations:
- lxd-cluster-1
- lxd-cluster-2
- lxd-cluster-3
and
lxc network show dev
config:
ipv4.address: 10.89.87.1/24
ipv4.nat: "true"
ipv6.address: fd42:cfe1:182f:8389::1/64
ipv6.nat: "true"
description: ""
name: dev
type: bridge
used_by:
- /1.0/instances/bursting-urchin
- /1.0/instances/cosmic-ostrich
managed: true
status: Created
locations:
- lxd-cluster-1
- lxd-cluster-2
- lxd-cluster-3
my problem is
- no ping from host to network dev zone
- no ping from conteneur in dev zone nework to conteneurs in lxdfan0 network
- ping ok from container in lxdfan0 network to container in dev network
what is missing in my configuration?