My access point loses its connection to the main router

gabriel.cadiz31

Prominent
Oct 16, 2017
2
0
510
I have setup my home network with a router, switch and an access point(AP). My router's IP is 192.168.1.1 255.255.255.0 and my access point's static IP is 192.168.1.2 255.255.255.0(I have also reserved this IP in my router for the AP) . For some time my access point will connect to my router and give of internet connection, then the next few hours it loses connection and when I try to ping it through the network, it cannot be found.
 

gabriel.cadiz31

Prominent
Oct 16, 2017
2
0
510


It doesn't fix itself, when it happens I have to restart the AP and connect it directly to my laptop so it catches the IP. The AP is connected to the router through my switch.