Query Regarding DHCP Lease time option 51.
Ted Lemon
Ted.Lemon at nominum.com
Sun Jul 20 08:42:00 UTC 2008
On Jul 20, 2008, at 12:44 AM, Gaurav Halwasia wrote:
> Suppose DHCP client included the desided lease time (i.e X days ) in
> DHCP DISCOVER message but DHCP server replied with DHCP OFFER with
> offered lease time as (Y days). So What lease time the DHCP client
> should use while sending DHCPREQUEST message towards Server (X or Y).
The client should send the same lease time in both the DHCPDISCOVER
and DHCPREQUEST messages. This is required in the protocol because
the DHCP server may use what the client sends when deciding how to
respond. So if the client sends something inconsistent between
DHCPDISCOVER and DHCPREQUEST, that could confuse the server.
In practice, this may make no difference, but you should follow the
RFC anyway.
More information about the dhcp-users
mailing list