On Fri, Sep 03, 2021 at 07:21:19PM +0200, Andrew Lunn wrote:
Hi Russell
Do you have
auto brdsl
in your /etc/network/interfaces?
Looking at /lib/udev/bridge-network-interface it seems it will only do
hotplug of interfaces if auto is set on the bridge interface. Without
auto, it only does coldplug. So late appearing switch ports won't get
added.
I think you're looking at this:
[ "$BRIDGE_HOTPLUG" = "no" ] && exit 0
?
Just before that is:
[ -f /etc/default/bridge-utils ] && . /etc/default/bridge-utils
and /etc/default/bridge-utils sets BRIDGE_HOTPLUG, which is by
default:
# Shoud we add the ports of a bridge to the bridge when they are
# hotplugged?
BRIDGE_HOTPLUG=no
and... none of this seems documented. Not in
/usr/share/doc/bridge-utils/README.Debian and not in the
bridge-utils-interfaces(5) man page. This is all a bit rubbish,
really.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!