Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 938
  • Last Modified:

Routing between two subnets

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
ABaruh
Asked:
ABaruh
  • 4
  • 4
1 Solution
 
JFrederick29Commented:
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
 
ABaruhAuthor Commented:
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
 
JFrederick29Commented:
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
ABaruhAuthor Commented:
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
 
JFrederick29Commented:
No routes on the Win 2k3 server, only on the hosts themselves.

Yes, on the devices that want to communicate with each other.
0
 
ABaruhAuthor Commented:
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
 
JFrederick29Commented:
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
 
ABaruhAuthor Commented:
Thanks so much!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now