What worries me about your setup here is that you have 3 interfaces using bond0
.
First, you have bridge br0
which is attaching bond0
into it.
Secondly, you have vlans 10 and 310 using bond0
directly.
I’ve never tried such a setup, but generally speaking you shouldn’t use an interface for anything else once it has been attached to a bridge. This is because when an interface is attached to a bridge, the packets coming into the interface are intercepted and moved onto the bridge.
What version of LXD are you using, as it would seem that the recent support for using VLAN filtering in bridges would be well suited to your situation (and avoid the need for using macvlan).