Use a dedicated untagged port for VLAN 1 and a trunk port carrying only tagged VLANs to connect OPNsense to the switch. On the switch configure PVID on that trunk port as something unused like 99 or so.
Use a dedicated untagged port of OPNsense to connect to the switch on a port with VLAN 1, equally untagged. This is either LAN or a dedicated management network depending on your needs.Put all other VLANs tagged on a trunk port.
Sorry, I don't get it.That would mean I lose one port on the FW just for mgmt of switch and ap, as I do not want to have the Switch and AP mgmt IP in the same subnet as my LAN is?
e.gigc0 <-> Switch Port 1 = 192.168.1.0/24 untagged for switch and ap mgmt,igc1 <-> PC = 192.168.0.0/24 untagged LAN interface where the PC is connectedigc2 <-> Switch Port 3 = Tagged with WIFI VLANsI would like to have an OOB for the Mgmt of Switch and AP and not share the same subnet with my LAN.
Exactly - so you did get it What's the problem with that?If you are short of ports, run 192.168.0.0/24 where the PC is connected also tagged over the trunk port and plug the PC into the switch.
I followed this thread because I was in the process of migrating my router (ER-605) to OPNsense and the rest of my infrastructure is TP-link Omada devices.I had also gotten that recommendation from Patrick about not mixing untagged and tagged on trunks (can't say I ever had issues before and unclear if I had a choice).As of today, my VLAN 1 is unused. It still exists in Omada (no choice), but it's set for an IP range not handled by OPNsense. I ended up deleting the OPNsense LAN interface entirely, and all VLANs are parented off of the igcN device used on the LAN side. The Omada devices now are in their own management VLAN (that part was easier to setup with a router that is not Omada compatible!). I'll keep using the "All" profile (1 untagged, all VLANs tagged included) because it's the only one that's managed automatically when VLANs are added/deleted...