Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Static route

Posted on 2009-04-20
11
Medium Priority
?
374 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 71

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 71

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
This program is used to assist in finding and resolving common problems with wireless connections.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
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.…

610 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