pe 19. helmik. 2021 klo 16.22 Santiago Garcia Mantinan
(ma...@manty.net) kirjoitti:
>
> > > auto br0
> > > iface br0 inet dhcp
> > >         hwaddress enp4s0mac
> > >         bridge_hw enp4s0mac
> > >         bridge_ports regex (en|wl).*
>
> > That would fail to raise enp4s0, and it also still has hwaddress. I
>
> Wel... isn't enp4s0mac a fixed ethernet port? if it is it should be
> available on booting, so when booting and the br0 is brought up (auto br0)
> and then enp4s0mac is added to it, or at least it should be.

We wouldn't need hwaddress anymore with the new patch, right?

An anonymized version of what I currently have (which seems to work as
long as BRIDGE_HOTPLUG=yes):

allow-hotplug /en* /wl*
auto br0

iface br0 inet dhcp
    bridge_hw enp4s0MAC
    bridge_ports regex (en|wl).*
    post-up ifup /wl*
iface br0 inet6 auto
    privext 2

iface enp3s0 inet manual
iface enp4s0 inet manual

iface wlxMAC1 inet manual
    hostapd /etc/hostapd/hostapd-dongle-1.conf

iface wlxMAC2 inet manual
    hostapd /etc/hostapd/hostapd-dongle-2.conf

> > also still need this:
> > iface br0 inet6 auto
> >         privext 2
>
> Ok, if you maintain that second config for inet6 I suggest you add also the
> bridge_ports expression to it then, I have a full patch that will allow this
> to work, it is the one on #319832, I don't think we can make that on
> Bullseye.

Good to know. Thanks!

Martin-Éric

Reply via email to