Solved

Windows XPdoes not keep its DHCP IP address if a DHCP server is not available

Posted on 2010-09-07
4
778 Views
Last Modified: 2012-05-10
Hi,

i have many client computer does not keep its DHCP IP address if a DHCP server is not available.

My client is Windows XP SP2/SP3 and my DHCP server is WIndows 2008 SP1.

Thanks for your help
0
Comment
Question by:cawasaki
4 Comments
 
LVL 5

Expert Comment

by:Bidonet
ID: 33618303
Normally, when the DHCP is not availble you won't get an IP address.  If the DHCP server becomes unavailable after the client got the IP address, it should work until the lease time expires.  Then, the client must contact the DHCP to renew the address, otherwise, no IP address.

0
 
LVL 14

Expert Comment

by:sentner
ID: 33618316
If you're saying it loses the address as soon as the DHCP serve becomes unavailable, it may be that your router is setting the DHCP leases to expire quickly.  

On your computer, check the lease expiration time.  

ipconfig /all

Note also though that if your computer is rebooted or disconnected and reconnected to the network, it will drop the lease anyways, and will not revert to the old DHCP supplied address, as it needs to get a new one.  
0
 
LVL 6

Accepted Solution

by:
Alan Gunn earned 500 total points
ID: 33618372
Additonally, if your machine has a live network cable connected but no DHCP server, the machine will assign itself a 169.254.*.* address.
From
http://www.computing.net/answers/networking/i-have-a-169254xx-ip-address-c/22962.html

" If your local IP address is returned as 169.254.y.z with a subnet mask of 255.255.0.0, the IP address was assigned by the Automatic Private IP Addressing (APIPA) feature of Windows XP Professional. This assignment means that TCP/IP is configured for automatic configuration, that no DHCP server was found, and that no alternative configuration is specified. This configuration has no default gateway for the interface. " 
This can be a problem because the machine will stop looking for a DHCP server and have to be re-started (Or, if the user has rights,  Ipconfig /release , Ipconfig /renew can be run at a command prompt).
0
 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 33620313
Yup, sentner is right. DHCP client need to renew its DHCP lease, so contact with DHCP server is required. If it is not available then no IP address is issued. Then you see 169.254.x.y/16, it is called APIPA (Automatic Private IP Addressing) If you see this IP address you know that client could not locate or connect to DHCP server.

In your case you should:

- check how long time have your leases in DHCP scope's properites you can check it and adjust

- investigate why your DHCP server is so often offline.

You can read in this article how the renwal proces looks like

http://technet.microsoft.com/en-us/library/cc958919.aspx

and here overview of whole lease renew
http://technet.microsoft.com/en-us/library/cc958935.aspx
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Server 2008 R2 Datacenter Repair OS 20 67
SBS 2011 certificates expired - need to renew? 4 71
how to export this list 4 41
TLS/SSL Diable 3DES ciper suites 4 29
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question