Easy: assign all your symbolic network names (LAN, OPT1, whatever you pick) to tagged VLAN interfaces only. This is in fact the recommended way. Don't use tagged and untagged frames on the same physical interface in FreeBSD/OPNsense.
So LAN setup with None for IP configuration types?
Although some NICs may have problems with a tagged/untagged mixture, I have resorted to the same setup with MGMT on untagged and all other VLANs tagged as well.I tried to use MGMT tagged, but I found that Unifi equipment has problems doing that: once the devices are adopted, you can change theit management VLAN, but you must adopt new devices untagged first. That was too much of a hassle to me.I have seen no problems with tagged/untagged mix on I225 and I226 NICs.
Quote from: EricPerl on November 02, 2024, 08:50:48 amSo LAN setup with None for IP configuration types?No, he's suggesting to reassign the "LAN" interface to use a VLAN "device" instead of igc1. OP would need to decide what "LAN" should represent ("Data" or "Management"?).... alternatively "LAN" could just be deleted entirely, but a VLAN interface for management access would need to be established first to avoid lockout...
Are additional VLANs parented to the physical device too? I ask because it seems you can have a VLAN as parent too, which I can't really conceptualize yet.
Here is also a new tutorial section that explains the best practice way to connect the OPNsense to a managed switch: https://docs.opnsense.org/manual/how-tos/vlan_and_lagg.htmlIf anybody finds issues with this guide, feedback and PRs are welcome as always.