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.