Please pardon my lack of networking knowledge.
I am trying to figure out how to setup routing tables to connect to machines that are on a subnet on a different network.
There is a "test" network we'll call Net2. I can ping any machine on Net2, example IP is 10.42.227.48 or 10.42.227.22. Connected to those machines are the machines on the "subnet", we'll call Sub1. These ip's for example are 126.96.36.199, 188.8.131.52.
Is there a way to directly access the Sub1 machines from my machine on Net1 ? I thought perhaps setting up my routing table would be the ticket - but I can't seem to successfully add any entries.
Any suggestions on how to do this, and if routing is the proper way - what do I need to figure out to properly route the traffic? Normally I have to ssh from my Net1 machine to the Net2 machines and then from there ssh to the Sub1 machines.