Bug#992158: Race in ifup maybe related to brctl failure in pre-up of network interface

2021-08-25 Thread Santiago Garcia Mantinan
> Thank you for your assistance. With hint for the relevant man > page "bridge-utils-interfaces" I found the bridge setup working > using the configuration > > auto br0 > iface br0 inet static > address 192.168.1.1 > network 192.168.1.0 > netmask 255.255.255.0 > bridge_ports none >

Bug#992158: Race in ifup maybe related to brctl failure in pre-up of network interface

2021-08-17 Thread Roman Fiedler
Hello Santiago Garcia, Dennis, Thank you for your assistance. With hint for the relevant man page "bridge-utils-interfaces" I found the bridge setup working using the configuration auto br0 iface br0 inet static address 192.168.1.1 network 192.168.1.0 netmask 255.255.255.0 bridge_ports

Bug#992158: Race in ifup maybe related to brctl failure in pre-up of network interface

2021-08-16 Thread Santiago Garcia Mantinan
Hi! First I'd like to thank Dennis for his good support, as always ;-) > > $ ifup virtbr0 > > Cannot find device "virtbr0" > > ifup: failed to bring up virtbr0 > > It is because the "bridge_ports" directive is missing. From the > manpage bridge-utils-interfaces(5): > >bridge_ports

Bug#992158: Race in ifup maybe related to brctl failure in pre-up of network interface

2021-08-14 Thread Dennis Filder
X-Debbugs-CC: Roman Fiedler On Sat, Aug 14, 2021 at 08:18:00PM +, Roman Fiedler wrote: > > iface virtbr0 inet static > > address 192.168.1.1 > > netmask 255.255.255.0 > > bridge_hw 86:aa:aa:aa:aa:aa > > Weird, using the configuration from above will result in: > > $

Bug#992158: Race in ifup maybe related to brctl failure in pre-up of network interface

2021-08-14 Thread Roman Fiedler
Hello, Thanks for your swift reply and really helpful information! Dennis Filder writes: > X-Debbugs-CC: Roman Fiedler , Michael Tokarev > > > As stated in the documentation, bridge-utils recently added support > for the "bridge_hw" directive which allows you define a MAC address > for a

Bug#992158: Race in ifup maybe related to brctl failure in pre-up of network interface

2021-08-14 Thread Dennis Filder
X-Debbugs-CC: Roman Fiedler , Michael Tokarev As stated in the documentation, bridge-utils recently added support for the "bridge_hw" directive which allows you define a MAC address for a bridge interface. Changing your stanza to just this should already work: iface virtbr0 inet static

Bug#992158: Race in ifup maybe related to brctl failure in pre-up of network interface

2021-08-14 Thread Michael Tokarev
On Sat, 14 Aug 2021 08:28:41 + Roman Fiedler 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

Bug#992158: Race in ifup maybe related to brctl failure in pre-up of network interface

2021-08-14 Thread Roman Fiedler
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