Go Back   Velocity Reviews > Newsgroups > MCSE
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

MCSE - Re: DHCP Leasing

 
Thread Tools Search this Thread
Old 11-24-2005, 07:51 PM   #1
Default Re: DHCP Leasing


In article <1FC4E5F9-6F61-48AD-BC80->,
says...
> Client01 one leases an IP and so does Client02.
> One hour after their leasing, the DHCP server goes down.
> Client01 and Client02 have to reboot for any reason.
>
> After rebooting, Client01 maintains its IP address, as per the leasing


> expiration. Client02 releases the IP (remember they both have the same


> leasing period) for some reason.
>
> Both clients are Windows XP, and their behavior is expected to be the

same,
> since they have the same TCP/IP configuration. They are in the same

subnet
> and both can find the default gateway. No alternate IP is assigned.
>
> Any clue about why Client02 would release its IP before the leasing

time
> expires?
> Remember Client01 has the same config and does not release the IP.


This is not quite how DHCP leases work. DHCP leases are controlled by
the DHCP server, not the client.

When a DHCP client reboots, after the IP stack is started, it issues a
DCHP Discovery packet, if the DHCP servers that receive the broadcast
respond with a Acknowledge packet. If the DHCP server that acknowledges
the client was the one that issued the address the client has cached,
the client will request it in the Request packet, if the lease is still
active, the DHCP server will respond with a Offer package for the
address and the lease time is reset.

If the DHCP server is not online when the client reboots, the client
will use an APIPA address and continue to rebroadcast a Discovery packet

every 5 minutes (2000 and later).

As for why the two XP clients are behaving differntly, my guess is that
the network IP properties on each client are configured differently.
Most likely, APIPA is turned off on Client01. Client02 is working as
expected.

If you would like to learn more about this I suggest reading the RFC on
DHCP (while boring as heck, if there is no better source for learning
DHCP, which is a pretty simple protocol) and/or installing a network
monitor and watching DHCP traffic.



Pedro Simoes
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 2003 DHCP Server Block the IP or maybe is the router wiyat2000 Software 0 10-06-2009 10:19 AM
DHCP multiple ip ranges Maarten MCTS 4 05-27-2008 11:10 PM
Cisco DHCP: How to configure reservation roland1976 Hardware 6 02-03-2008 03:38 PM
How to DHCP a 10public IP letran_knight General Help Related Topics 0 08-29-2007 04:41 AM
Need help setting up a wireless DHCP behind a wired non-DHCP network? sonicgravy Hardware 0 11-13-2006 07:45 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46