too many unknowns....
what is the use of and an IP cam if you can't even ping it????
What you need to do is first solve your connectivity issues.
Secondly you need to open the ports dedicated for video transmission on the cams and the routers..... to be able to access them from anywhere else on the network.
Check the basics..... it's in the documentation.