Multiple Static IP network connections

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an XP machine and have added the two IPs to the
Advanced TCP/IP->IP Settings tab. What does the machine
use to choose which IP to use for the connection? The one
I want it to use is listed first, has a lower first Octet,
and was the first one entered. So why is it using the
second IP?
 
people use two or more IPs on one NIC because they may need to access to
different networks or they have two or more web sites. For example,
http://www.chicagotech.net uses 192.168.1.2 and http://www.ms-mvps.com uses
10.0.0.2. So, you need to ask yourself why you need two IPs on one NIC?

--
For more and other information, go to http://www.ChicagoTech.net

Don't send e-mail or reply to me except you need consulting services.
Posting on MS newsgroup will benefit all readers and you may get more help.

Robert Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN, Anti-Virus, Tips & Troubleshooting on
http://www.ChicagoTech.net
This posting is provided "AS IS" with no warranties.
 
I have an XP machine and have added the two IPs to the
Advanced TCP/IP->IP Settings tab. What does the machine
use to choose which IP to use for the connection? The one
I want it to use is listed first, has a lower first Octet,
and was the first one entered. So why is it using the
second IP?

If the two IP addresses are in different subnets (and they should be),
the machine will use the IP address that matches the destination IP
address. For example, if the IP addresses are 192.168.0.1 and
10.0.0.1, it would use 192.168.0.1 to reach 192.168.x.x addresses, and
10.0.0.1 to reach 10.x.x.x addresses.

If the two IP addresses are in the same subnet, the machine could use
either one.

If that explanation doesn't help, please post a reply in the news
group (not by E-mail) with a copy of the route table and a full
description of what's happening and what you want to happen. You can
write the route table to a file with this command:

route print >route.txt

and then copy/paste the "route.txt" file into the reply.
--
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top