Lxd multiple private networks and multiple containers team

I’m using lxd 3.15 with clustering enabled.

There is a scenario that i have problem with it.

I want to have for example 2 containers in network A and 2 containers in network B.
I want not to access containers from network A to the containers from network B and also containers that is in the same network might be on multiple nodes.

How can i do it?

Is it really okay to solve the problem through mutiple network?