Access multiple subnets

Posted on 2014-02-26
Medium Priority
Last Modified: 2014-02-26
I know this is a very basic question, but... I am trying to set up two subnets on our network - 192.168.0.x and 192.168.1.x  I have set the netmask to, but machines assigned a 0.x subnet can't reach (ping) machines on the 1.x subnet.  What am I missing?  Do I need to somehow route between the two subnets?  If so, where should that be done?  Thanks!

Question by:dkreines
LVL 11

Expert Comment

ID: 39890104
Yes, you would need some kind of routing between them. Why use that subnet mask? You could probably set up 2 linksys routers back to back
LVL 27

Accepted Solution

Fred Marshall earned 2000 total points
ID: 39890317
It's not the same thing to set the subnet mask to .248.  Doing this extends the subnet across both address ranges if you happen to have 192.168.0.x and 192.168.1.x.
Really, one should say and
OR which matches .254 and which matches .248

I can show you some diagrams of what will do the same thing that you're getting now.
In these cases the routers all are providing NAT.

What you need is a router without NAT that has on one side and on the other side.  For example, an RV042 will do this if you put it in "Router" rather than "Gateway" mode.  Same thing for a WRT54.
Then this router becomes the gateway for the opposite subnet.


Lets say that the router mentioned above has IP addresses: on one side on the other side
and, it's set in Router mode (which means no NAT).

Further, we will say that the subnet has a gateway with LAN IP of
And, the subnet has a gateway with LAN IP of
Then these gateway routers would have a route added:
On the gateway with route to
On the gateway with route to

Author Closing Comment

ID: 39890376
This is great - the lightbulb just went on!  Thanks a lot.

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

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.

Join & Write a Comment

This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
What monsters are hiding in your child's room? In this article I will share with you a tech horror story that could happen to anyone, along with some tips on how you can prevent it from happening to you.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

627 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