Solved

Static route

Posted on 2009-04-20
11
366 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 68

Expert Comment

by:Qlemo
Comment Utility
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
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 68

Expert Comment

by:Qlemo
Comment Utility
Agreed. Double fault ;-)
0
 

Author Comment

by:cimcto
Comment Utility
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
Comment Utility
may be you should send us topology. After it, we may give you more correct information.
0
 

Author Comment

by:cimcto
Comment Utility
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
Comment Utility
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
Comment Utility
I found the solution in a book...thanks for the help anyway....
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now