Ok, of course I figured it out after posting here, lol. I will post the answer for the future reference and for other people who may be stuck like me. So basically I had two things wrong.
-
Containters IPs shouldn’t be added to the hosts interface. lxd will automagically set up correct routing, making containers IPs accessible in the network, assuming they belong to the same network.
-
I had wrong value of the “parent:” setting in the lxd configuration above. “parent” should be an interface that connects host with your network. In my case it was “eth1”.
I hope it will help someone else .