How to configure assign same network address in fan overlay network?

Hi.

When configuring the lxd cluster to use the fan overlay network, the bandwidth of the fan overlay network address is set differently for each node.

Currently, only fan overlay_subnet = / 8, / 16 is supported.

So, when configuring overlay network in lxd cluster, is it possible to set the same network address band (i.e, 172.16.10.0/24)?

And…

Is there any way to know which overlay subnet I have used so far?

Thank you

The fan is completely stateless.

Example with a /16 underlay:

  • Overlay set as 240.0.0.0/8
  • One server at 172.16.10.2 gets 240.10.2/0/24 as fanbr0 subnet
  • One server at 172.16.5.2 gets 240.5.2.0/24 as fanbr0 subnet

Example with a /24 underlay:

  • Overlay set as 240.0.0.0/8
  • One server at 192.168.1.1 gets 240.1.0/0/16 as fanbr0 subnet
  • One server at 192.168.1.2 gets 240.2.0.0/16 as fanbr0 subnet