[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Access shared folders on two differnet Networks

Posted on 2009-04-18
5
Medium Priority
?
321 Views
Last Modified: 2012-05-06
Net 1:
192.168.2.x - IP
255. 255. 255. 0 - subnet mask
192. 168.2.1 - gateway (Internet cable Router)

Net 2:
192.168.3.x - IP
255. 255. 255. 0 - subnet mask
192.168.3.1 - gateway (Wireless Router)

So because I have two routers and not a Access Point I connected the network cable from one port on Net 1 to the Internet Port on the Net 2 router I then set the Fixed WAN IP address of Net 2 router to a reserved IP address 192.168.2.50 for Net 1.  I then setup the DNS for the DNS asigned to Net1 and now all my users on Net 2 have internet acess and every thing works great.  The problem is now users on Net 1 need access to shared drives on Net 2 and user on Net 2 need access to shared drives on Net 1.  Is there a easy way to just change the Subnet mask on Net 1 and Net 2 so that they can access each other?  My problem is that I am not sure how IP schemes work.
0
Comment
Question by:cimcto
  • 3
  • 2
5 Comments
 
LVL 5

Expert Comment

by:wpathan
ID: 24175583
For inter subnet communication we would need a router for inter subnet communication, in your case you already have the routers so try creating static routes on both the routers.
On internet cable router create a static route to 192.168.3.0
On wireless router create a static route to 192.168.2.0
Hope this helps.
0
 

Author Comment

by:cimcto
ID: 24175589
what does the static route do?  Just curious how it works
0
 
LVL 5

Accepted Solution

by:
wpathan earned 2000 total points
ID: 24175627
when a data packet is received by router in Net1 it will check the source ip and find out that this packet actually belongs to 192.168.3.0 then it will check for a route to reach to this subnet (which you will specify) and it will route the packet to the wireless router in Net2, after that Net2 will again check the destination address and it will know that it belongs to the subnet that it itself is on and forward the packet to this cleint.
The same process is followed by wireless router in Net2 when it gets a packet that is destined to Net1.
Hope this helps.
0
 
LVL 5

Expert Comment

by:wpathan
ID: 24175634
Sorry in last comment first line it should be "destination ip" instead of "Source IP"
0
 

Author Comment

by:cimcto
ID: 24175662
So for Internet router this would be the example

Destination IP :                                                                                                                                                                                                                                                                                                                                                                                                             192.168.3.0
Netmask : 255.255.255.0                                                                                                                                                                                                                                                                                                                                                                                                            
Gateway :                                                                                                                                                                                                                                                                                                                                                                                                       192.168.2.0
Interface : LAN                                                                                                                                                                                                                                                                                                                                         

and the wireless router would be
Destination IP :                                                                                                                                                                                                                                                                                                                                                                                                             192.168.2.0
 Netmask : 255.255.255.0                                                                                                                                                                                                                                                                                                                                                                                                            
 Gateway :                                                                                                                                                                                                                                                                                                                                                                                                       192.168.3.0
 Interface : LAN                                                                                                                                                                                                                                                                                                                                         
 
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question