Wednesday, 8 February 2017

Re: netplan and post-up/pre-down scripts

On Thu, Jan 12, 2017 at 10:57 PM, Seth Arnold <[email protected]> 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

--
ubuntu-devel mailing list
[email protected]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel