linux bridge - howto: bridge-stp on

hk@

Renowned Member
Feb 10, 2010
248
8
83
Vienna
kapper.net
Hi
is there any way to get "bridge-stp on" set using the proxmox-networking-config?

it seems default is off and I found no way to change this.

thx
hk
 
Hi,

no, you must edit it directly in the file /etc/network/interfaces
But why do you need spanning-tree on a bridge where you have normally just one port?
 
well redundancy on relatively cheap switches:
one LACP bond is the primary uplink for a bridge connecting the VEs/VMs to their network.
another bond is the secondary uplink provided via a different switch in order to prevent a loop we obviously need STP.
and this works well - only a RSTP "on" switch at the webgui-level would be nice :)
 
For RSTP you have to install mstpd.
Ther is no implementation on the Linux bridge for this.
But mstpd works fine.
 
You can enable STP on the bridge or install and configure mstpd.
A GUI integration is not planted because this is an edge case and not a common PVE setup.
 
Hi,

no, you must edit it directly in the file /etc/network/interfaces
But why do you need spanning-tree on a bridge where you have normally just one port?
What don't I know?
A linux bridge is a virtual switch. So if you connect two VMs and then connect the physical port to an external physical switch, you're adding more than a single port worth of stuff into the mix. You've got a virtual switch with 3 used ports. Add more VMs and you have even more ports. So I don't understand why you're saying that normally there's just one port?
And then the next question is, isn't attaching two switches together stacking?