Re: vlan(4) and bridge(4) on same interface

From: Lexi Winter <ivy_at_freebsd.org>
Date: Wed, 30 Jul 2025 21:51:30 UTC
Patrick M. Hausen:
> > Am 30.07.2025 um 23:20 schrieb Lexi Winter <ivy@freebsd.org>:
> > the situation i'm talking about is when you have a vlan(4) configured on
> > an interface, and the underlying interface (not the vlan interface) is
> > also in a bridge, for example:
> 
> But that configuration has always been illegal and known to fail
> in weird ways. Just like putting a layer 3 address on a bridge member
> interface.
> 
> So I still wonder what the problem seems to be.

it seems like you agree with me that we shouldn't allow this.  the
problem is that we *do* currently allow this, so what i'm proposing
is that we disallow it and produce an error message instead.

does that sound reasonable to you or have i misunderstood?

> But why of course. It was never supposed to work and getting a decent
> error message is better than weird and hard to debug failure scenarios.
> 
> Fail early, fail hard.