I have a container with multiple interfaces. I am creating a network bridge between them using the brctl command and enabling stp on that bridge. However, when I now create a network loop inside my network, the network gets flooded with traffic and is effectively unusable.
I noticed that the bridge does not accept any other node as root. When manually setting the priority however, other nodes do accept the bridge inside the container as root.
When I try the same thing otside of a container, everything works as intended and the bridge accepts other nodes as root.
Could there be any reason why stp messages are somehow disregarded inside a container? Or is there some configuration that has to be set for stp to properly work?