la 30. tammik. 2021 klo 14.46 Santiago Garcia Mantinan
(ma...@debian.org) kirjoitti:
>
> > On a host with a mixture of USB WiFi dongles and Ethernet cards, I have to
> > specify the MAC address using both bridge_hw and ifup's generic hwaddress
> > to ensure that the host fetches the correct IP address via DHCP.
>
> > Nonetheless, the bridge picks up the IPv6 EUI64 local link (fe80) of one
> > of the USB WiFi dongles.  When I need to remove the dongle, it makes the
> > bridge collapse.
>
> Well, we are talking about this also on #979963, but anyway, what you are
> descriving here is a different thing, as you are telling me that bridge_hw
> is being ignored and that you are using also hwaddress.
>
> What I need to be able to replicate this is more info on your setup, I mean,
> I need your network/interfaces (you can change macs and IPs of course) and
> the "ip a" output with everything plugged and up like you have it setup and
> then the same but without hwaddress applied (I'm supposing here that you
> don't need hwaddress if bridge_hw works ok).

Anonymized and attached.

> If you change macs or IPs, please make it consistant in the sense that MAC X
> is always MAC X and you don't leave it unchanged on the IPv6 or somewhere
> else, and the same with the IPs.

That's already the case.

> I want to get the same feeling as you get there to try to replicate that
> here.
> > See also: Bug#980752.
>
> I have looked at it and I don't like some of the things I read...
>
> You say: If the WiFi dongles are declared on the allow-hotplug line....
>
> I have said this on the doc and also on other bugs, please, don't put the
> interfaces of the bridge on their own entries on network/interfaces,
> instead, if you need something set up for the bridge, please use the
> bridge's declaration, like for example...
>
> pre-up service hostapd start || true
> post-down service hostapd stop || true

That is not practical for removable devices. We really need
allow-hotplug to work.

Martin-Éric

Attachment: interfaces
Description: Binary data

Reply via email to