Question about Windows XP 2 NIC problem and IP routing

  • Thread starter Thread starter Danny
  • Start date Start date
D

Danny

My Windows XP box has two NICs. I use one NIC to connect to my
Internet.

The other NIC I want to use to connect to my test box. Kind of like
this layout.

TestBox ------ Windows XP Box ---- Internet

I don't need to access the internet with this test box. I just want to
reach the TestBox from Windows XP Box over the private network. The
Test Box I put stuff on there to test it and play with it. I don't want
the text box to reach the Internet.

I have assigned static IP addresses on this private network. For
example

TestBox (10.0.0.2) ---------- (10.0.0.1) Windows XP Box (DHCP) ---
Internet

My question is Windows XP Box smart enough if it sees the IP address
10.0.0.2 it will send packet to my TestBox. Or will it try sending it
out to the Internet.

I guess I'm asking is it possible to set up my Windows XP Box, If there
is a 10.0.0.2 dest addr forward the packet to the 10.0.0.1 interface
otherwise send it to the DHCP interface.

Thanks.

Danny
 
I guess I'm asking is it possible to set up my Windows XP Box, If there
is a 10.0.0.2 dest addr forward the packet to the 10.0.0.1 interface
otherwise send it to the DHCP interface.


Why not? I assume u have something like 10.0.0.0/24?

As long as both NICs are on separate subnets, it will work.
 
Thanks Bobb,

So I just need to set up the subnet for my 2nd on my test LAN that is
different from my NIC to the Internet.

I wasn't sure how that worked. I wasn't sure if Windows XP would try my
first NIC to find the address 10.0.0.2 (or whatever address I assigned
my TestBox) on the internet first. Then if that didn't succeeded it
would try my 2nd NIC to my test lan.

Cool, Thanks for the info.

Danny
 
To see exactly how it works, type "route print" on the command line and
follow it up starting at the bottom.

....kurt
 
Back
Top