Hi everyone,
I'd like to summarize my recent experience with VLANs on OPNsense, hoping it might help others.
Scenario:
Actions taken:
Observations:
If you encounter new VLANs not passing traffic, try doing a full reboot of OPNsense after restoring the latest working configuration.
No changes to firewall rules or switches were necessary.
I'd like to summarize my recent experience with VLANs on OPNsense, hoping it might help others.
Scenario:
- I have several VLANs configured: some older (created on 25.x) and some new (created on 26.x).
- The older VLANs work perfectly.
- The new VLANs did not pass any traffic, even with a static IP. I did not use DHCP for testing.
- Firewall rules and routing seem irrelevant: packets didn't reach the OPNsense interface at all.
- Packet captures on the VLAN interface and client NICs showed no traffic, even though pings from LAN to the VLAN gateway responded.
- Tested on both a Proxmox VM and a physical machine.
Actions taken:
- Migrated DHCP from ICS to dnsmasq (already working for about 20 days).
- Transferred firewall rules from the old format to the new one (a few days ago).
- Upgraded OPNsense from 26.1.4 to 26.1.5.
- After each migration and upgrade, I always rebooted, but the new VLANs still didn't work.
- Created a new VLAN: completely non-functional.
- Tried restoring a previous backup (26.1.3): VLAN still not working.
- Restored the latest backup (26.1.5) and rebooted OPNsense: the new VLANs started working.
Observations:
- The issue affects only new VLANs created after the 26.x upgrade.
- Older VLANs continue to work normally on the same NIC.
- No clear logical explanation: it could be some internal state or cache that gets cleared by a full reboot.
- The setup uses unmanaged switches; VLANs are handled by OPNsense/Proxmox/Omada controller.
- The fact that previous reboots didn't solve the issue suggests some anomalous internal condition in OPNsense was interfering with the new VLANs.
If you encounter new VLANs not passing traffic, try doing a full reboot of OPNsense after restoring the latest working configuration.
No changes to firewall rules or switches were necessary.
"