How to connect tw different subnets

AlexeyN

Reputable
Dec 7, 2015
3
0
4,510
Hi!
The network currently works as shown:
NAS <-> PC1; PC1 <-> router
Given that, I've managed to get the NAS go through PC1 to internet:
NAS -> PC1 -> router, but what I also want is for all devices connected to router to see the NAS device as well.
NAS IP is 192.168.137.2 (PC1 - *.1)
The router network is 192.168.1.* and that's the main network in the house and I want NAS to visible to it.

For information:
PC has 2 IPs: 192.168.137.1; 192.168.1.105, the router is 192.168.1.1

lTdJVN.jpg
 
To really make this work you are going to need a real router. The device you hook the the internet is best called a gateway because it can only have one block lan devices on it. You to a point can get it to work using ICS on your PC which maybe what you did if this really is working at all for you.

ICS has the same issue as putting a second router in since it is running NAT. You also have performance issues because your PC is now acting as a router and you have to be very careful the pc is not busy doing other stuff and impact its ability to pass traffic.
 

AlexeyN

Reputable
Dec 7, 2015
3
0
4,510


I'm not that sure about the router - its a tl-1043 device, might as well be a fully-operational router.

Actually I did just it: i used ICS to make NAS -> PC -> Router -> Internet tick. But i need to make it work backwards as well.
I've tried adding static route on the router table: subnet 192.168.137.0 / 255.255.255.0 with gateway 192.168.1.105 (PC1) but it doesn't seem to work.
I assume I need a fix something on the routing table on PC, but Im not sure on what it should be.

On a side note: I have a cable from router running to place where PC and NAS are, i might as well just drop a switch there and plug PC and NAS both into it, would that be better?
 
Yes plug the PC and the NAS into a switch will be easiest.

That is the restriction on ICS. It is the same issues as people have with port mapping to get around NAT but ICS does not have a port mapping function.

If you bought your router from any form of consumer electronics place it is not a actual router. Pretty much a device that is actually a "router" is a commercial device. There are a small number of cheap ones targeted at the small business network but you really have to dig. Pretty much this is a feature your see on cisco (not linksys) and juiniper as well a number of other companies.
 

AlexeyN

Reputable
Dec 7, 2015
3
0
4,510


Just on a side note: since ICS does not have port mapping, I assume proxy server software would fix that issue?
Not that Im going to do that, but just theoretically?
 
You are getting to limits of my network knowledge on microsoft stuff. I suspect it may be as simple as sharing the drive. Not sure what you can do on what software license levels. But I know the NAS systems behind our servers appear as normal file systems....not sure their are a couple of guy who do our storage stuff and all I do is help setup the switches for them.