Cannot access devices on other subnet

Solution 1:

I expect the hidden part which is not addressed in your post - and which is likely part of the problem is is what is the default gateway for the cameras?

The 192.168.5.2 IP address interface on SERVER needs to be changed to the gateway address (or this needs to added as another address). This could, of-course, be anything in the 192.168.5.x range, but its most likely X is 1 or 254, so if you need to guess, try those.

Alternatively - get a computer running some software that can sniff traffic (I'd use a Linux box and tcpdump for this), configure it on 192.168.5.1 and start sniffing for traffic - and then plug in a camera directly to it and power cycle the camera. With some luck you will see ARP traffic from the camera asking for the MAC address associated with the default gateway (this is not guaranteed, of-course - but reasonably likely)