Quote from: lmoore on September 01, 2026, 04:14:42 PMQuote from: 350flyer on August 31, 2026, 10:15:40 PM1. What is the best way to capture DHCP traffic on the VLAN 90 interface in OPNsense?
When troubleshooting it's worth checking the log files - https://docs.opnsense.org/manual/logging_services.html
The simplest way to see if OPNsense is seeing a DHCP request on VLAN 90 is to look at Kea's log file: Services -> Kea DHCP -> Log File
This will most likely open with a view listing Warning. To see DHCP requests and acknowledgements, from the drop-down list select Informational.
To capture packets use the packet capture tool - https://docs.opnsense.org/manual/diagnostics_interfaces.html#packet-capture
Interfaces -> Diagnostics -> Packet Capture
- Select the interface
- Enable Promiscuous
- Set Protocol to UDP
- Set Port to 67
- Set Count to 2
- Click on 'Start'
Connect a device to VLAN 90. If after a few minutes the job is still running it would be worth seeing if a request was received by clicking on the "View capture in standard detail" icon.
I have now done packet captures, although I initially wasn't seeing any DHCP traffic on OPNsense. I will also check the Kea log specifically at the Informational level as you suggest, because that should independently tell me whether Kea is actually receiving a DHCP request.
One interesting result so far is that I captured traffic directly on the EAP773 and can see the client's DHCP Discover with VLAN ID 90.
I then captured on OPNsense, including the VLAN 90 interface and the physical parent interface, while forcing the client to release and renew its DHCP lease. I did not see the DHCP Discover arriving at OPNsense.
So at the moment I have:
Client → EAP773: DHCP Discover visible, VLAN 90 tagged
EAP773 → switch: expected VLAN 90
Switch → OPNsense: DHCP Discover not currently visible
Kea: still checking the log for confirmation
I'll repeat the OPNsense capture using your exact settings:
Interface: VLAN 90
Promiscuous: enabled
Protocol: UDP
Port: 67
Start capture
Force the client to renew DHCP
Inspect the live capture
I'll also check the Kea log under Services → Kea DHCP → Log File with the filter set to Informational.
Quote from: fornax on September 01, 2026, 05:57:04 AMLike you I'm largely self-taught and still fairly new to this, but I can at least offer a couple of suggestions:
- Connect a laptop (or other device that you can manually configure) to the Wifi network, configure a static IP appropriate to the network, and then see if it can ping the router's IP on that network. That can tell you if there's any communication getting to the router at all.
- Maybe also try setting up a VLAN 90 access port on the switch and see if your tests change at all there.
- If you're using a centralized management interface for the network hardware, maybe check the switch and APs directly as well and make sure the configs are what you think they are.
I have actually been trying to isolate the problem in exactly this way.
I have now confirmed that the VLAN 90 interface on OPNsense is 192.168.90.1/24, and the client is associated with the CCTV_WIFI SSID but receives a 169.254.x.x address.
I also performed a packet capture directly on the EAP773. The interesting part is that I can see the client's DHCP Discover being transmitted with 802.1Q VLAN 90.
However, when I capture on OPNsense, I cannot see the DHCP Discover arriving on the VLAN 90 interface. I also tried capturing on the physical parent interface and filtering for DHCP/UDP 67/68, but still didn't see it.
So your static-IP suggestion is a good next test because it removes DHCP completely from the equation (in theory ). I'll temporarily configure the laptop with something like:
192.168.90.200 / 255.255.255.0
Gateway: 192.168.90.1
and then try to ping 192.168.90.1.
I'll also configure an unused switch port as an untagged/access port for VLAN 90 and connect the laptop directly. That should give us two very useful tests:
1. Wi-Fi + static IP → ping 192.168.90.1
2. Wired VLAN 90 access port + DHCP
If the static Wi-Fi client cannot reach 192.168.90.1, then this isn't really a DHCP problem — the VLAN 90 traffic isn't reaching the OPNsense interface correctly.
If the static Wi-Fi client can reach 192.168.90.1, then the VLAN path is working and we can concentrate on Kea DHCP.
And if the wired VLAN 90 client gets a DHCP lease, that would strongly point toward the EAP773/SSID side of the problem.
Thanks for that, I think the static-IP test is one of the best ways to separate the possibilities
"