netplan and post-up/pre-down scripts

Tom H tomh0665 at gmail.com
Thu Feb 9 01:04:13 UTC 2017


On Thu, Jan 12, 2017 at 10:57 PM, Seth Arnold <seth.arnold at canonical.com> wrote:
>
> If you don't need it, try turning stp off:
> brctl stp wan0 off
> brctl stp lan0 off
>
> (Is there a way to turn it off via iproute2 instead? I couldn't find
> it quickly, if there is a way.)

I've never found any ip or bridge option to show or control stp.
There's only echoing into "/sys/":

# brctl show lxcbr0
bridge name bridge id STP enabled interfaces
lxcbr0 8000.f04da29a3351 yes enp19s0
tap0

# echo 0 > /sys/class/net/lxcbr0/bridge/stp_state

# brctl show lxcbr0
bridge name bridge id STP enabled interfaces
lxcbr0 8000.f04da29a3351 no enp19s0
tap0



More information about the ubuntu-devel mailing list