Solved

Routing between two subnets

Posted on 2009-05-18
8
890 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
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
 
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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…

896 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

13 Experts available now in Live!

Get 1:1 Help Now