You are not logged in.

#1 2015-08-03 20:19:57

zlacelle
Member
Registered: 2015-08-03
Posts: 1

systemd-networkd, bridges, and STP

I'm trying to get networkd to configure bridges with STP.  I see that, under the systemd.network configuration, there's a [Bridge] section which allows you to configure some of these settings.

However, this section seems to have no effect.  I can find no examples online of someone using these directives.  When I run "brctl show", I see that STP is disabled for all of my bridges.

My setup is: bond0.netdev to set up a bond, then set up bridges netdev:
[NetDev]
Name=br-devel
Kind=bridge
And set up VLANs (bond0.2, 0.3, etc).  Then, add bonds to bridges:
[Match]
Name=bond0.2
[Network]
Bridge=br-devel
Finally, set up the networks on the bridges:
[Match]
Name=br-devel
[Network]
Description="Test"
[Address]
Address=192.168.1.1
Broadcast=192.168.1.255
[Bridge]
UnicastFlood=on
HairPin=false
UseBPDU=yes
FastLeave=off
AllowPortToBeRoot=on

Any idea how to get the [Bridge] part to work, or to get bridges added through networkd to use STP?

Offline

Board footer

Powered by FluxBB