Solved

Routing between two subnets

Posted on 2009-05-18
8
871 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
  • 4
  • 4
8 Comments
 
LVL 43

Expert Comment

by:JFrederick29
Comment Utility
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
Comment Utility
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
Comment Utility
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
 
LVL 7

Author Comment

by:ABaruh
Comment Utility
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 43

Expert Comment

by:JFrederick29
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks so much!
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 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

14 Experts available now in Live!

Get 1:1 Help Now