The router (RT-N66U) is connected to a network switch (this one), sometimes it works, sometimes it does not. The internet works just fine wireless, power-cycling the switch does nothing, however, directly connecting the computer to the router through an internet cable, letting it acquire a connection, and then connecting the cable back to the switch and the switch to the laptop, does fix the issue. Sometimes it will happen when I reboot into a different OS (happens on both linux and windoWs), sometimes it happens overnight, so and so, it feels somewhat random, but this makes me suspect it has something to do with poor negotiation between the computer and the router when the connection has to go through the network switch, for example the connection dying over-night makes me wonder if it stops working when the DHCP lease expires.
How to fix? pls help