On Tue, Nov 22, 2022 at 06:28:31AM -0700, Theo de Raadt wrote: > Vitaliy Makkoveev <m...@openbsd.org> wrote: > > > On Tue, Nov 22, 2022 at 11:25:55AM +0100, Claudio Jeker wrote: > > > On Tue, Nov 22, 2022 at 09:25:08AM +0000, Stuart Henderson wrote: > > > > Need to query (and set $if, which might be used in route commands etc) > > > > I think. > > > > > > > > > > I would prefer if people took a step back from configuring interfaces by > > > MAC address. It feels like a overly specific hack is introduced for > > > a case that should be handled in a different way. > > > > > > > [skip] > > > > > > > > Btw. a lot of this can be done already now by using '!' in hostname.if > > > It wont be pretty but it is also not a common use case. > > > > Agree. > > > Come on, that's just some incomplete claim. > > I do not think you have tried this. > > Try it. I have actually tried it. The results were so incredibly > disgusting that I gave up and used another machine. >
As dlg@ pointed, we have collisions with clonable devices, which inherit lladdr or could generate already existing lladdr. We need to handle this, for example exclude clobable devices from hostname.lladdr logic.