DHCP leases not arriving at VLAN clients

Started by Nikotine, March 26, 2021, 07:11:11 PM

Previous topic - Next topic
March 26, 2021, 07:11:11 PM Last Edit: March 26, 2021, 09:21:23 PM by Nikotine
This is my test bench:


The router is a Nanopi r4s 4GB, running this image: https://mirror.fkardame.com/Linux/Images/FriendlyArm/NanoPi%20R4s/

I have setup the same VLANs in OPNsense as those on the switch, and I see OPNsense trying to hand out leases, but they never arrive to the clients.



When I flash OpenWRT on the same Nanopi, and I setup the same VLANs, the clients get leases without problems, which leads me to believe it's something with OPnsense, but what?

Looking through other topics, I can confirm I don't have VLAN hardware filtering nor Intrusion Detection enabled.

Some screenshots of the VLAN setup:
https://i.imgur.com/vGMlQlS.png
https://i.imgur.com/qmrkPXJ.png

Setup on the switch:
https://i.imgur.com/2Vfohre.png
https://i.imgur.com/mutbMgs.png

Edit: replaced images with links because this forum isn't formatting them correctly

I have created a mirror of ethernet 1/1/1 and attached wireshark to it.
The only thing it sees is the connected device asking for an IP address, time after time:



The answer from Opnsense isn't even reaching port 1/1/1, even though I see an IP address being offered in the DHCP logs of opnsense.
What could be causing this?