LXC clustering : underlay networking

Hi team,

I am trying to create a lxc clustering between two VM nodes which are in different subnet, but both the VM are reachable from each other. Which subnet should I use for the underlay network ? Other than VM’s subnet can we provide any other randomly?

For the fan bridge to function, all servers need to be in a shared /24 or /16 subnet.
If that’s not the case, then the fan cannot be used and you’ll have to pick a different option for networking.

Depending on setup ,that could be independent LXD managed bridges on each system with static routes in place or something more complex like OVN.