net.link.bridge.pfil_bridge = 1net.link.bridge.pfil_member = 0
And for hybrid port: vlan 10 untagged, vlan 20 tagged we'll need a following state: Bridge0 members: ... ... igc5, Bridge1: ... ... vlan0.5.20.
Don't do this - tagged and untagged on the same port - in OPNsense. It leads to unexpected and "interesting" failure scenarios, e.g. DHCP server on untagged also answering for your tagged VLANs etc.
OPNsense can act as a switch, but a slow one coz instead of dedicated chip it will use CPU. It is not recomended, but it is possible.
You can say that again. It is generally not recommended if you need switching between those ports. I tend to think of traffic on multiple ports on OPNSense (and other PC based hardware) as best used for routing only. If you need any switching you are better off using VLANS on a single port (or multiple link aggregated ports if you need the redundancy or capacity) and a switch in between.
Quote from: mattlach on July 31, 2024, 08:42:27 pmYou can say that again. It is generally not recommended if you need switching between those ports. I tend to think of traffic on multiple ports on OPNSense (and other PC based hardware) as best used for routing only. If you need any switching you are better off using VLANS on a single port (or multiple link aggregated ports if you need the redundancy or capacity) and a switch in between.Fundamentally correct, but I also understand users with a small home network who (rightfully, IMHO) expect the same as from any consumer DSL router - 1 uplink, 3 or 4 LAN ports.And OPNsense can do that, the FreeBSD bridge has been greatly improved and can easily switch 1 Gbit/s and more. Foundation sponsored project.If you have one fixed PC at your desk, one printer, one WiFi access point - why an extra switch?The fun starts - and lots of endless forum threads and disappointments and debugging ... when people want to get fancy with VLANs and the whole kitchen sink and still don't want to simply buy a switch.I have a Mikrotik CRS326-24G-2S+IN - 24 Gbit ports, 2 SFP+ at < 200€/$. No-brainer.Kind regards,Patrick