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:
Open the Network Connections applet (go to Start, Programs, Accessories, Communications and click Network Connections).
Right-click the network adapter for which you want to specify an alternate IP configuration, then click Properties.
Select Internet Protocol (TCP/IP), then click Properties.
Under the General tab, ensure that you've configured the connection to use DHCP.
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
Click OK.
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
Free CDs Offer Fundamental Content for IT Pros Are you up to speed on the latest technologies and solutions? Don't miss out on your chance to get up to speed quickly on fundamental, in-depth information on some of the hottest topics in our library of content.
Let Your Users Reset Their Own Passwords: Free Download Try a 30 day free trial of Desktop Authority Password Self-Service – it provides an easy-to-use, robust system for allowing users to reset their own forgotten passwords or locked accounts.
Get Windows IT Pro & Mark Minasi’s Favorite Power Tools Guide Order Windows IT Pro now and get "More of Mark Minasi's Favorite Power Tools"--a in-depth guide to the most useful Windows commands --FREE with your paid order! Subscribe today, and save 58% off the cover price!
Deep Dive into VMware vSphere, eLearning Series Join John Savill to explore the major functionality capabilities of the vSphere virtualization platform, including identification of the changes from ESX 3.5.