Solved

I have a network with 2 subnets, how to get them to communicate with each other

Posted on 2007-12-04
5
1,556 Views
Last Modified: 2013-11-12
I have a customer that has 2 different subnets. How do I share resources (shared folders, printers, etc) across two different subnets? Do I have to have a machine with 2 NICS as a gateway?
0
Comment
Question by:drhixson
5 Comments
 
LVL 77

Expert Comment

by:Rob Williams
Comment Utility
Normally you would install a router to pass the traffic between the two subnets, however you can use a server or computer with 2 NIC's. Server O/S's have built-in roting capabilities with RRAS, but workstation O/S's do not have routing enabled by default, you need to edit a registry key. See:
http://support.microsoft.com/kb/230082
0
 
LVL 38

Expert Comment

by:Hypercat (Deb)
Comment Utility
You have to have either a server with 2 NICs running RRAS or a hardware router to route the traffic between the two subnets.  Personally, I would recommend a hardware router - they're not expense and IMO are more reliable and easier to manage.  Also, it's probably better network traffic-wise to allow a router to handle this traffic rather than adding that load onto one of the servers.
0
 
LVL 12

Expert Comment

by:bhnmi
Comment Utility
They already have 2 subnets? They dont already have a router? Do they each use the same internet connection?

0
 
LVL 77

Expert Comment

by:Rob Williams
Comment Utility
By the way once you have configured your server or computer with 2 NIC's that device will see both networks, however if you want a PC on one subnet to be able to access a PC on the other you will need to add static routes to the PC's or the "default Gateway" router. As an example:

Subnet 1 = 192.168.100.0/24
PC 1 = 192.168.100.101
Router/PC NIC 1 = 192.168.100.254

Subnet 2 = 192.168.200.0/24
PC 2 =  192.168.200.101
Router/PC NIC 2 = 192.168.200.254

On PC 1 you will need to add a route at a command line:
route  -p  add  192.168.200.0  mask  255.255.255.0  192.168.100.254
and to be able to reply to the request the other PC's will need the return route:
PC2
route  -p  add  192.168.100.0  mask  255.255.255.0  192.168.200.254
0
 
LVL 3

Accepted Solution

by:
tlrjohn earned 500 total points
Comment Utility
If your server only has one NIC, then you will have to assign static IP address to the NIC.  See the following

http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/prork/prcc_tcp_hzfd.mspx?mfr=true
0

Featured Post

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Join & Write a Comment

Please see preceding article here: http://www.experts-exchange.com/Networking/Operating_Systems/A_11209-Root-Bridge-Election.html Figure 1 After Root Bridge has been elected, then what?..... Let's start by defining a Root Port in la…
Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
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…

744 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

17 Experts available now in Live!

Get 1:1 Help Now