Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


Return to article

How do I use the Windows XP alternate TCP/IP configuration?
 

A. Laptop users often experience problems when moving between networks where DHCP servers aren't consistently used (e.g., moving between an office that uses DHCP to assign IP addresses and a home network that uses static IP addresses). If you configure your computer to use DHCP and no DHCP server is available, the machine will typically use an IP address in the range 169.254.0.1 to 169.254.255.254 with a subnet mask of 255.255.0.0. The actual IP address will depend on what IP addresses other machines on the local subnet have selected (XP will perform a limited test to ensure the Windows TCP/IP component doesn't use an address already in use). Because the local TCP/IP stack assigns no WINS, DHCP, or gateway information, all IP communication is limited to machines in the local subnet.

XP lets you create an alternate IP configuration that you can use when your system can't find a DHCP server. This alternate configuration lets you specify an IP address, subnet, gateway, and the other typical network settings. To create this alternate IP configuration, perform the following steps:

  1. Open the Network Connections applet (go to Start, Programs, Accessories, Communications and click Network Connections).
  2. Right-click the network adapter for which you want to specify an alternate IP configuration, then click Properties.
  3. Select Internet Protocol (TCP/IP), then click Properties.
  4. Under the General tab, ensure that you've configured the connection to use DHCP.
  5. Select the Alternate Configuration tab, select "User configured," then fill in the static IP address details you want the connection to use when the system can't find a DHCP server.
    Click here to view image
  6. Click OK.
  7. Click OK again to close all remaining windows.

XP stores the custom connection configuration settings under the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfacesregistry subkey.







Reader Comments

Hi Anyone know how to do this effeciently in win2k?

BK -October 28, 2002

I have win xp pro but there is no alternate configuration tab on my tcp/ip. Do I need to configure it?

pat cooke -October 19, 2003

re: "no alternate tab" - spent ages looking for the answer to this and found it five minutes after submitting the question to you - need to slect DHCP first! - typical eh?

pat cooke -October 19, 2003

I am having an XP machine , but couldn't find alternate tab in the properties.I am using novell client , is it because of that ?. Please let me know.

Shamit Joseph -November 24, 2003

it only shows up when you have the DHCP stuff enabled. make sure the tcp/ip settings are 'obtain ip address automatically' and 'obtain dns automatically' an then you can put the static ip info on the 'alternate' tab that will appear...

aaron peacock -April 30, 2004

To add more than one static IPs for a single network card is simple! how can you have both static and dynamic IP at the same time on a single card?

Anonymous User -October 13, 2004

How do you add more than one static IPs for a single network card?

Anonymous User -October 13, 2004

It's in "Advanced" under "IP settings". Just click on Add below "IP addresses"....

Anonymous User -March 27, 2005

I cannot get windows to use the alternate configuration, instead it uses the dynamic therefore my dns is not configured and i get no internet at work.

Anonymous User -May 17, 2005

hi, how do I connect to two network at the same time if I have two different IPs (100.100.1.1) & (192.192.192.20) and also 2 different gateways. Thanks

Anonymous User -May 23, 2005
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement