Solved

Static route

Posted on 2009-04-20
11
368 Views
Last Modified: 2012-05-06
So below is my original question and the answer I got was to create a Static Route between the two routers.  So I created this:

Router 1 (Net 1)
Destination IP :192.168.3.0
Netmask :255.255.255.0
Gateway :192.168.2.1
Interface : LAN
Metric: 2

Router 2 (Net 2)
Destination IP :192.168.2.0
Netmask :255.255.255.0
Gateway :192.168.3.1
Interface : LAN
Metric: 2

but now when I try and ping a computer on Net 1 (192.168.2.202) from a computer on Net 2 (192.168.3.100) I can not ping it.  I can ping the router on Net 1 (192.168.2.1) from the same computer though.  Why can't I ping the computer?



Original Question:

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
  • 5
  • 4
  • 2
11 Comments
 
LVL 12

Expert Comment

by:Faruk Onder Yerli
ID: 24188840
if you use 255.255.252.0 subnet, you may create connection between 192.168.2.x/24 and 192.168.3.x. They will be in same network. In addition, just servers should use 255.255.252.0. Host may stay 255.255.255.0. So, different hosts will not see each other.
0
 

Author Comment

by:cimcto
ID: 24188975
I am sorry to say that I am new to the network stuff.  So by changing the subnet on both routers to 255.255.252.0 I will be able to ping and use resources like shared drives in the IP range of 192.168.2.1 to 192.168.2.24?  How can I make it so its both networks full range of IP 192.168.2.1 to 254 and IP192.168.3.1 to 254?
0
 
LVL 12

Expert Comment

by:Faruk Onder Yerli
ID: 24189070
Large subnets are covering small subnets.
192.168.0.0 255.255.252.0 is including IP address between 192.168.0.0 - 192.168.3.254.

Also, 192.168.3.24 255.255.252 and 192.168.3.234 255.255.255.0 is in same network. If ip addresses are accepting after subnet apply, they can communicate each other.

Your case you have 2 different network in same LAN. one of them using wireless other of them using cable in same layer 2 domain. I understood that you making seperation on Layer3.
192.168.2.24 255.255.255.0 and 192.168.3.24 255.255.255.0 are not able to ping each other. But if you will change subnet 255.255.252.0, they will start to ping  each other.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 69

Expert Comment

by:Qlemo
ID: 24189147
Correction: 192.168.3.234 255.255.255.0 is on same subnet as 192.168.3.24 255.255.252, but not vice versa!

0
 
LVL 12

Expert Comment

by:Faruk Onder Yerli
ID: 24191301
Correcttion is not corect :)
I just forgot to put ".0" end of subnet...

Also, 192.168.3.24 255.255.252.0 and 192.168.3.234 255.255.255.0 is in same network.
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 24193299
Agreed. Double fault ;-)
0
 

Author Comment

by:cimcto
ID: 24196563
where should I change the subnets On Net 1 it would be the LAN Setup but what about Net 2 since its connection to Net 1 is through the WAN port?
0
 
LVL 12

Expert Comment

by:Faruk Onder Yerli
ID: 24198762
may be you should send us topology. After it, we may give you more correct information.
0
 

Author Comment

by:cimcto
ID: 24199560
Not sure what you mean by topology but I have a Cable Modem that is connected to Net 1 DLink router Internet WAN port.  On the other side of the office I have a wired connection from the Net 1 router connected to Net 2 WAN or Internet port on an Neatgear Wireless Router.  Below is how the LAN settings are configured:

Router 1 (Net 1)  DLink Router
Destination IP :192.168.3.0
Netmask :255.255.255.0
Gateway :192.168.2.1
Interface : LAN
Metric: 2

Router 2 (Net 2) Neatgear Wireless Router
Destination IP :192.168.2.0
Netmask :255.255.255.0
Gateway :192.168.3.1
Interface : LAN
Metric: 2

0
 

Author Comment

by:cimcto
ID: 24201620
correction the LAN settings are configured as this:

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)

Net 2 WAN Port which is connected to Net 1 is configured as:
192.168.2.50
255.255.255.0
192.168.2.1 gateway



That was the static route that I listed
0
 

Accepted Solution

by:
cimcto earned 0 total points
ID: 24246228
I found the solution in a book...thanks for the help anyway....
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

831 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