Solved

Routing between two subnets

Posted on 2009-05-18
8
920 Views
Last Modified: 2012-05-07
I have two subnets in my office.  One is 192.168.5.0/24 and the other is 10.100.200.0/24.  Each of those has their own internet connection.  I have a Windows 2003 server with two NIC's: one on each subnet.  Specifically, one interface is 192.168.5.30 and the other is 10.100.200.51.

I am trying to establish the ability to communicate with devices on the 192.168.5.0/24 network from the 10.100.200.0/24 network.  

How can I make it so that I can communicate with 192.168.5.0/24 from 10.100.200.0/24?  I've tried setting up Routing and Remote Access on the Windows 2003 server that has dual NIC's but nothing has so far worked.
0
Comment
Question by:ABaruh
[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
  • 4
  • 4
8 Comments
 
LVL 43

Expert Comment

by:JFrederick29
ID: 24413755
The clients default gateway (assuming the Internet Firewall/Router) needs a static route to the other subnet via the Windows 2003 server NIC on that same subnet.

i.e. the 192.168.5.x default gateway needs a static route to 10.100.200.0/24 via 10.100.200.51 and the 10.100.200.x default gateway needs a static route to 192.168.5.0/24 via 192.168.5.30.

Most Firewalls (stateful) won't allow this type of communication so you may need to add routes to every PC to reach the other subnet via the server.

For PC's on the 10.100.200.0/24 subnet.

route add -p 192.168.5.0 mask 255.255.255.0 10.100.200.51

For PC's on the 192.168.5.0/24 subnet.

route add -p 10.100.200.0  mask 255.255.255.0 192.168.5.30
0
 
LVL 7

Author Comment

by:ABaruh
ID: 24413924
Thanks for your reply.  I do have a static route on my laptop (10.100.200.152) as follows:

route add 192.168.5.0 mask 255.255.255.0 10.100.200.51

From my laptop I can ping 192.168.5.30 (the IP address of the second NIC on the Win 2k3 server) but cannot ping any other device on that subnet.  Am I missing something on the Win 2k3 side?
0
 
LVL 43

Expert Comment

by:JFrederick29
ID: 24413936
Nope, routing works both ways so the 192.168.5.x host you are trying to ping needs a route back to you via the server.

route add -p 10.100.200.0  mask 255.255.255.0 192.168.5.30
0
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 
LVL 7

Author Comment

by:ABaruh
ID: 24414174
Where do I want to add these routes?  On the devices I want to communicate with each other?  Do I need to add any static routes on the Win 2k3 server?
0
 
LVL 43

Expert Comment

by:JFrederick29
ID: 24414190
No routes on the Win 2k3 server, only on the hosts themselves.

Yes, on the devices that want to communicate with each other.
0
 
LVL 7

Author Comment

by:ABaruh
ID: 24414275
Ok.  Here's one other consideration: the reason I'm doing all this in the first place is because I have a network USB hub on the 192.168.5.x network that I have a printer plugged into.  My laptop as well as my wife's laptop is on the 10.100.200.x network.  That network has the faster internet connection.  The reason the printer is on 192.168.5.x is because downstairs where my home office is located I have the firewall for the 192.168.5.x network for my company's VOIP.  The firewall for my 10.100.200.x network is upstairs and I cannot move it and the best spot for the printer is downstairs.

That being said - if the device I need to communicate is this network USB hub at 192.168.5.120 I don't think I can add any special routing to that device.  Maybe I need to set up the DHCP server on 192.168.5.x so that it assigns the Windows 2003 server as the default gateway and not the firewall as the default gateway?
0
 
LVL 43

Accepted Solution

by:
JFrederick29 earned 500 total points
ID: 24414309
You can do it that way, on the 192.168.5.0/24 side, change the 192.168.5.x PC's default gateway to 192.168.5.30 (win 2k3 server) but then make sure the Win 2k3 server has a default route/gateway via the 192.168.5.x Firewall.

Or, simply change the printers default gateway to the Win 2k3 server only.
0
 
LVL 7

Author Closing Comment

by:ABaruh
ID: 31582668
Thanks so much!
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Resolve DNS query failed errors for Exchange
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
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.…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

724 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