@Happydog said in PfSense no DHCP on VLANs for UniFi WiFi controller:
VLAN tag takes a long time (5+ minutes) to get an IP
Well why not just sniff on pfsense, or even look in the dhcp log.
So for example here here is dhcp on a tagged vlan ID 4 on pfsense.. Here is my phone connecting - you can see the discover, the offer, the request and then the ack.
dhcp.jpg
The whole process took 2 seconds.
Do you have like dhcp guarding or snooping enable in your unifi setup?
dhcpsnoop.jpg
edit:
You could be having issue with broadcast being dropped? What firmware are you running on the AP... I recall there was some issue back a while ago where specific firmware had a problem with this.. Many moons ago that was, but maybe your firmware is really old? Could have something to do with band steering and client having actual issue with connecting, then once the wifi connection is actually made - then the dhcp has to happen.
Heer you can see where my phone disconnected from the ssid it was on, connected to the other ssid that was the above dhcp logs and sniff. Time matches up, too bad it doesn't show seconds in the log.. but you can see where I moved from one ssid and then to another ssid and then the phone moved back to its preferred ssid. I have the ssids blocked out for privacy - ssids can be looked up in dbs online. And my ssids are very unique.. They are not just typical linksys ;)
connected.jpg
edit2: on your controller - on the dashboard, under wifi insights are you showing any problems in the connectivity tab with any problem clients listed, etc. Or any issues with any of the details shown there?
connectivity.jpg