Sharing one network connection to another network

jamesmz

Commendable
May 25, 2016
2
0
1,510
Hello. I'm sure there's an answer to this somewhere, but I'm not too sure how to word it correctly so I'm struggling to find an answer.

Basically, my situation is I have two networks and I need to find a way to access one from the other.

My first network consists of several desktop PCs connected via ethernet, and it has the IP range 192.168.0.x

The second network consists of several IP cameras with the IP range 10.145.10.x.

Right now, ONE of the desktop PCs has a second physical network connection to the 10.145.10.x network, so I can access both networks from this one PC. I use this PC to connect the IP cameras management pages via a web browser.

What I would like to do is be able to also access the IP camera web pages from other PCs on the 192.168.0.x network. Unfortunately due to restrictions of various hardware, it is not possible to change the IPs to the same subnet.

Is it possible to either share the IP access, or run some kind of software the one PC that can access both networks (192.168.0.2) to maybe share access via a port number of something? ie. Typing 192.168.0.2:cameranumber into a browser from anywhere on the wired network will in turn connect via that PC to 10.145.10.cameranumber?

Sorry to be confusing, I'm struggling with how to word it properly.

Thanks in advance.
 
Solution
By default, a computer can only access other devices in their own subnet. Everything outside of their subnet they attempt to access via their default gateway. You can override this by manually entering additional subnet routes directly into each device. Not only do your PCs need a route to send to the cameras, but the cameras need a route to send back to the PCs. If you can't manually add routes to the cameras, then your only way to have a gateway/router.

jamesmz

Commendable
May 25, 2016
2
0
1,510
I see, so what I'll need to do is add a route to each PC on the 192.168.0.x network telling them that if they want to access the 10.145.10.x network that they need to go via the one PC with access to both networks?

The IPs that one PC has are 192.168.0.2 and 10.145.10.140. Could I ask what the route command would be to do that? (Sorry, I've never used it before).

Thanks
 

Kewlx25

Distinguished
By default, a computer can only access other devices in their own subnet. Everything outside of their subnet they attempt to access via their default gateway. You can override this by manually entering additional subnet routes directly into each device. Not only do your PCs need a route to send to the cameras, but the cameras need a route to send back to the PCs. If you can't manually add routes to the cameras, then your only way to have a gateway/router.
 
Solution

TRENDING THREADS