?
Solved

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

Posted on 2010-09-07
4
Medium Priority
?
783 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 2000 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Suggested Courses

765 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