Access network shares on another network

Hello Experts,

My neighbour has some network shares I would like to access from my PCs. We both have our own networks, each with a modem with DHCP enabled, and both networks are in different IP ranges.

I have installed a second NIC in my server, connected to his network, and can access the shares no problem from the server. Now I need to try and get access to those shares from other PC’s on my network.

As far as I am aware, bridging the network adapters won’t work, because of the different IP ranges, 2 DHCP servers and 2 internet connections.

I get the feeling the SIMPLE answer lies with IP routing on the server, but I’m not sure of the exact rules I need to have in place to allow my networked PC’s see his networked PCs. My neighbour does not need to see my PC’s, as the shares he needs to access are on my server.

My server is running Windows Home Server 2011, which is essentially Windows Server 2008. My modem does not have the ability for static routes.

Thanks!
LVL 1
JustinAsked:
Who is Participating?
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
Install the Routing and Remote Access (RRAS) role or feature, and activate Routing.
Add both NICs in the NAT category of RRAS manager, with the "remote" NIC using NAT and the first option enabled ("... public interface ..." or similar). That makes sure all packets will have that NIC's IP from the other network when going there.

Since you cannot use static routes on your default gateway (modem), you'll have to set one on each client you want to have access from.
If RRAS is 192.168.1.2 and the other network 192.168.2.0, the one-time command needed is
route -p add 192.168.2.0 mask 255.255.255.0 192.168.1.2

Open in new window

0
 
JustinAuthor Commented:
Thanks for your reply Qlemo. I am hoping to test this out in the next few days - it's been a busy week. I'll let you know how I go!
0
 
JustinAuthor Commented:
Qlemos solution helped me solve my problem. Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.