Re: DHCP processing

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thank you Bill.

That means, if the client boots and no DHCP server is available, the client
use its IP address lease obtained on a previous occasion, if the lease is
valid. If the lease is invalid, the client configures an APIPA address.

regards
chris



"Bill Grant" wrote:



"chris" <chris@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CEC966D1-0A36-4343-B2F5-703F74D1F5C8@xxxxxxxxxxxxxxxx
Hi
I am learning for MCITP and I am confused with DHCP processing. I have a
DHCP server and a DHCP enabled client. The client obtained its IP
configuration (IP address, gateway, DNS) from the DHCP server. What
happens
now, if I restart the client and the DHCP server is unavailable?

http://technet.microsoft.com/en-us/library/dd183602(WS.10).aspx says:
If the client has a valid IP lease and the DHCP server is unavailable
during
the client restart, the client pings the gateway. If the ping is
successful,
the DHCP client assumes that it is still located on the same network where
it
obtained its current lease, and continues to use the lease as long as the
lease is still valid. So, the client can interact with the network using
the
leased IP address.

Our teacher (and a lot of books) says:
If the client has a valid IP lease and the DHCP server is unavailable
during
the client restart, the client will configure an APIPA address. So, the
client interacts with the network using an APIPA address.

Please, what is the correct process?

regards
chris

That depends on the lease time. If the lease time is, say, 8 days then
you client will simply connect using its existing IP. After 50% has expired
(ie about 4 days) it will request a renewal of the lease. The DHCP will
comply if it is available.

If the lease time is only a few hours, then the client might need to get
a new IP from DHCP. In that case, failure to find the DHCP server will
result in the client configuring an APIPA address. That is the default
behavior if the client is configured to get an IP automatically but no DHCP
server is available.


.

.



Relevant Pages

  • Re: blocked address
    ... With APIPA, ... an IP address and subnet mask when a DHCP server isn't available. ... If the client is unable to find the information, ...
    (alt.computer.security)
  • Re: dhcp-client cleanup
    ... The client normally doesn't release the current lease as it is not ... The -r flag explicitly releases the current lease, ... even a cursory glance at the output of "strings $(which dhclient)" did not provide a clue as to what this thing is.. ... they are used until either they expire or the DHCP server ...
    (comp.os.linux.networking)
  • Re: Understanding the DHCP Server Client conversation (very intresting subject)
    ... why not the DHCP server just sends its offer to the client that is requesting the service according to its MAC address?? ... you said the (DHCP server send the DHCP OFFER as a unicast, to the whole network) but a specified MAC address. ...
    (microsoft.public.cert.exam.mcse)
  • Re: DDNS issues
    ... Clear out the information out of the ndb files pertaining to the client name. ... This recreates the lease on the DHCP server, which then updates DDNS on the DNS server, successfully. ...
    (comp.protocols.dns.bind)
  • Re: how to get lease DHCP expiration time?
    ... > The one parameter that I thought might be appropriate was T1Time, but from the RFC this looks like it's the time from the lease start to a state change, rather than the actual renewal time. ... With my client, this appears to be a constant. ... > I'm running the Solaris 8 client and a Windows 2003 DHCP server ... client will start the "Renew". ...
    (comp.unix.solaris)