?
Solved

Routing between two subnets

Posted on 2009-05-18
8
Medium Priority
?
926 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
Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

 
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 2000 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
An article on effective troubleshooting
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

800 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