On Sat, 14 Aug 2021 08:28:41 +0000 Roman Fiedler 
<roman.fied...@unparalleled.eu> wrote:
Package: bridge-utils
Version: 1.7-1
Severity: serious

When running "brctl addbr" and "ip link set [if] address" immediately
afterwards, the second command will fail to apply the address
change. This is somehow annoying as the MAC would be used in
security related filtering and monitoring of the network traffic,
which then fails.

The configuration from "/etc/network/interfaces" reliably triggering
the bug is:

auto virtbr0
iface virtbr0 inet static
  address 192.168.1.1
  netmask 255.255.255.0
  pre-up brctl addbr virtbr0
  pre-up ip link set virtbr0 address 86:aa:aa:aa:aa:aa
  pre-up ip link set virtbr0 up
  post-down ip link set virtbr0 down
  post-down brctl delbr virtbr0

How about switching from brctl to ip, once you already
use it anyway?  So instead of brctl addbr virtbr0,
it will read ip link add virtbr0 type bridge,
and ip link del virbr0, something like that.

I don't know about brctl, - we stopped using this
utility some 10 years ago due to numerous issues.

Also I don't know whenever it's a good idea to
mark this bug as serious.

Thanks,

/mjt

Reply via email to