Unifi AP behind an extra switch: 2.4Ghz network stops working after ~30 minutes
/edit: did a firmware upgrade of the AP and can't replicate it anymore. Thanks all for the input, much appreciated. In case it happens again I will use your tips.
I have a very weird issue. I've got a relatively simple network setup:
router connected to ONT (Fibre)
10 port switch A connected to router, cables to various places in house
4 port switch B connected to switch A, with TV & Xbox connected
Unify WiFi AP connected to switch A, both 2.4Ghz and 5Ghz networks
That works well. However, when I connect the WiFi AP to switch B I'm having issues. Initially it all works well, but after ~30 minutes the wifi stops working; I can no longer ping e.g. the router.
It only happens to one of the WiFi networks (2.4Ghz or 5Ghz), not both. A reboot of the AP solves it again, but then it stops working after ~30 minutes.
Both switch A and B are 1Ghz switches, zero issues with other devices.
Double check the AP doesn't have a DHCP server enabled. Also, check routes and IP settings when a client first connects to the AP and things work, then again when things stop working.
Yep, thanks for checking, there's only 1 DHCP server on my network. I've just moved it back to behind switch B and will do more investigation when the problem occurs again.
Do you have a continuously running unifi controller or is it only running when you do the config? Does it do the same thing with the controller opposite to how it is now (ie if you aren't running it does it do it when you leave the controller on)?
Are you running the 2.4 and 5 as separate SSIDs or the same one?
It's a standalone AP. No controller.
Two different SSIDs.
I've had it running now for 2 hours and of course now it works. The only change since last time is that I've reset the AP and did a firmware upgrade. Perhaps that fixed it...
Which model is it? As far as I'm aware all the Unifi APs need the controller for config. It doesn't need to stay running unless you want a couple features for large deployments but you do need to run it to set things up initially. The Air Max / uisp lines are the ones with web based config.
There's only a single DHCP server, a Pihole, which also serves as DNS.
Switch B is a cheaper switch, so that may be the culprit.
I use it for heavy downloading from my Xbox and that is never a big issue. Speeds fluctuate from 100 to 900mbps (my max) but that's not necessarily a switch problem.
Measure the time after the reboot of the AP until the next failure.
If it is always the same duration, then that excludes the memory problem. If it is a variable time, then that excludes the DHCP problem and probably also DNS.
I had a similar issue and it related to the uplink connectivity monitor. Unifi monitors the gateway and controller IP and withdraws the SSID if it can’t contact either of them. Make sure you have turned off wireless meshing on the device and I think you can manually disable the uplink connectivity monitor.
from your router can you ping the AP behind that switch, while the issue is occurring?
All L2 unmanaged switches, no tagging? POE from the switch or an injector? If from the switch maybe put an injector in between?
I work for an ISP in the network engineering dept, I personally have never seen an issue exactly like this before, but we generally do power calculations for switching and wifi, this sounds like a power issue to me.