Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2025 13:35:34 +0100
From:      Lexi Winter <ivy@freebsd.org>
To:        Ronald Klop <ronald-lists@klop.ws>
Cc:        net@freebsd.org
Subject:   Re: bridge new vlan and iftagged "none"
Message-ID:  <aLmHlktUUOI-jHjo@amaryllis.le-fay.org>
In-Reply-To: <fc8f742f-aac5-4ae5-9c21-f1eac507c21b@klop.ws>
References:  <481902534.1074.1756977663370@localhost> <aLlvcpTEz4oZVQEe@amaryllis.le-fay.org> <1a91faca-69ef-410d-95ad-2d371c84f759@klop.ws> <aLl7rXaaR_7tosAU@amaryllis.le-fay.org> <aLmAB3iiaOQ5obGA@amaryllis.le-fay.org> <fc8f742f-aac5-4ae5-9c21-f1eac507c21b@klop.ws>

next in thread | previous in thread | raw e-mail | index | archive | help

--DsUVz4jczTEAnUCM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Ronald Klop:
> NB: I don't know if my setup fits your setup in relation to where
> "host" traffic originates. My bridge does not have an IP address
> itself.

in this case the problem i identified probably doesn't affect you, but
it would still be useful to know that the changes don't break your
configuration.

> I prefer to add an epair for local traffic.

this is a perfectly reasonable configuration, but if you're using VLAN
filtering, have you considered using SVIs instead?  i.e.,

	ifconfig bridge0.1 create	# interface on vlan 1
	ifconfig bridge0.3 create	# interface on vlan 3

this gives you an interface attached to a specific VLAN on the bridge,
meaning you can assign host addresses to this interface (which is a
vlan(4)) instead of putting the addresses on the bridge itself.

> I like this setup as IMHO it mimics more how a host is connected to a switch.

the SVI is more like how you would configure this on the switch itself,
so it's up to you, but it does save having to create both epair and vlan
interfaces to communicate on different vlans on the bridge.

--DsUVz4jczTEAnUCM
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaLmHkwAKCRD1nT63mIK/
YB96AP9iQjUpfWAm0rSVR2BjzHu/c5CMAhbCRQOVEyNz3XRvswD/Qanj1xCvq6zZ
SnsYT2C+KhY7XNdymY4duy9ebZsdyAs=
=/xXl
-----END PGP SIGNATURE-----

--DsUVz4jczTEAnUCM--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aLmHlktUUOI-jHjo>