icpms said:
Here is my situation. I have one computer that controls a piece of equipment
and must also be able to access our corporate network. The house network is
using 172.X.X.X via DHCP (NIC1) and the equipment requires the private IP
10.X.X.X (NIC2). The equipment's IP cannot be changed. Both are using the
same subnet 255.255.255.0. The problem is that the equipment software wants
to access the house 172 IP when it needs the private 10 IP. Since, the
computer already has two NIC's installed, would installing a router for the
10.X.X.X segment solve the problem? Thanks for all of the assistance.
I suspect that the problem is an incorrect subnet mask for NIC2.
First, I'd like to give some background information. Please forgive
me if I'm repeating things that you already know or if I've
misunderstood your setup:
1. 255.255.255.0 is a subnet mask, not a subnet. By itself, the
subnet mask doesn't tell you anything about what subnet a NIC is in.
The subnet mask can be different for each NIC.
2. A NIC's subnet is the range of IP addresses that the NIC can access
directly on its local area network. The subnet is determined by
combining the NIC's IP address and its subnet mask
3. Your two private IP addresses are in different subnets, and, if I
understand your setup correctly, that's how it should be. You want to
separate traffic intended for the house network from traffic intended
for the equipment network.
4. A router lets hosts on different subnets communicate with each
other. If I understand your setup correctly, you don't need a router.
Here's the subnet for each of your NICs, given that each has a subnet
mask of 255.255.255.0:
1. The NIC1 (house network) subnet is 256 addresses starting with
172.X.X. For example, if X.X is actually 16.0, the NIC1 subnet is
172.16.0.0 to 172.16.0.255.
2. The NIC2 (equipment network) subnet is 256 addresses starting with
10.X.X. For example, if X.X is 0.0, the NIC2 subnet is 10.0.0.0 to
10.0.0.255.
What IP address does the equipment software want to access when it
ends up using the house network instead? I suspect that the desired
address doesn't have the same X.X as NIC2. For example, if X.X is
0.0, then addresses that start with 10 but don't have zeros in the
next two positions (such as 10.1.0.1, 10.0.1.1, 10.2.3.1) aren't in
NIC2's subnet. and aren't accessible using the equipment network.
If you want all addresses that start with 10 to be in the equipment
network's subnet, change the subnet mask for NIC2 to 255.0.0.0.
If that doesn't help, please post a news group reply with full details
of your setup: the actual IP addresses of NIC1 and NIC2, the IP
address that the equipment address wants to access, a copy of the
computer's route table, etc. To write the route table to a text file,
open a command prompt window (Start > Run > cmd) and type this
command:
route print >route.txt
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)
Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.
Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com