Microsoft KB Archive/310524

= Error Message: Invalid DHCP Lease =

Article ID: 310524

Article Last Modified on 12/1/2007

-

APPLIES TO


 * Microsoft Windows XP Professional x64 Edition
 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-



This article was previously published under Q310524





SYMPTOMS
When you attempt to view a Web page in Internet Explorer using a cable modem, you may be unable to do so or you may receive the following error message:

Invalid DHCP lease



CAUSE
This behavior can occur if your cable modem is configured to automatically obtain an IP address from a Dynamic Host Configuration Protocol (DHCP) server. Windows XP automatically assigns an IP address if your adapter is unable to obtain one. Because a connection across a cable modem is slower than a connection across a network, using Autoconfiguration, Windows may automatically assign an IP address before the cable modem is able to obtain one from the DHCP server. Since this automatically assigned IP address is not valid for the Internet service provider (ISP), you can not access resources on the Internet using the cable modem.



RESOLUTION
To work around this issue, use the appropriate method:

One-Way Cable Modems
 Click Start, and then click Run. Type cmd, then press ENTER. Type ipconfig, then press ENTER. Note the PPP Adapter in the list of adapters. Verify that the PPP Adapter in the list of adapters has a Windows assigned IP address. If Windows has automatically assigned an IP address before the cable modem is able to obtain one from the DHCP server, then the IP address for the PPP Adapter will have the following address:

169.254. ..

where  is any number between 0 and 255. Verify that the network adapter connected to your cable modem in the list of adapters has a Windows assigned IP address. If Windows has automatically assigned an IP address before the cable modem is able to obtain one from the DHCP server, then the IP address for the network adapter will have the following address:

169.254. ..

where  is any number between 0 and 255.</li> Type ipconfig /release, then press ENTER. The IP addresses should be both be 0.0.0.0.</li> Type ipconfig /renew, then press ENTER. The DHCP server should now provide the correct IP address.</li></ol>

Two-Way Cable Modems
<ol> Click Start, and then click Run.</li> Type cmd, then press ENTER.</li> Type ipconfig, then press ENTER.</li> Verify that the network adapter connected to your cable modem in the list of adapters has a Windows assigned IP address. If Windows has automatically assigned an IP address before the cable modem is able to obtain one from the DHCP server, then the IP address for the network adapter will have the following address:

169.254. ..

where  is any number between 0 and 255.</li> Type ipconfig /release, then press ENTER. The IP address should be 0.0.0.0.</li> Type ipconfig /renew, then press ENTER. The DHCP server should now provide the correct IP address.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
There are two types of cable modem services, one-way cable modems and two- way cable modems. One-way cable modems send information over the phone line, and receive information over the cable. Two-way cable modems send and receive information over the cable.

When Windows does not initially detect a DHCP service, it assigns an IP Autoconfiguration Address (APIPA). If Windows later detects a DHCP service on the network, Windows switches from the IP Autoconfiguration Address to the address that is assigned by the DHCP server.

To disable Autoconfiguration either on the entire computer or on a per-interface basis, you need to modify the registry. For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

244268 Routing Does Not Work When Multiple Adapters Use Automatic Private IP Addressing Simultaneously

For additional informationabout troubleshooting cable modems and IP configuration, click the article numbers below to view the articles in the Microsoft Knowledge Base:

310089 Troubleshooting Cable Modems

255836 Change in DHCP Client Behavior in Windows 2000

120642 TCP/IP & NBT Configuration Parameters for Windows NT, Windows 2000, and Windows XP

167014 DHCP Client May Fail to Obtain a DHCP-Assigned IP Address

169289 DHCP (Dynamic Host Configuration Protocol) Basics

117662 IPCONFIG Diagnostic Utility: Parameters and Usage

163391 Troubleshooting problems communicating with a server on the Internet using a dial-up networking connection in Windows 2000, Windows NT 4.0, or Windows NT

Additional query words: SurfModem tcp/ip

Keywords: kberrmsg kbprb KB310524

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.