2.2.2.2 Vendor-Specific Option Code 0x02 - Microsoft Release DHCP Lease on Shutdown Option

This option is sent by a DHCPv4 server to a DHCPv4 client in a DHCPOFFER or a DHCPACK message. It has no effect on subsequent options in that message or on the DHCPREQUEST message sent by the client to the server.

This option is used in DHCPv4 messages by the DHCPv4 server for directing the clients to send a DHCPRELEASE on that network interface when the operating system on the client is shutting down. DHCPv4 clients SHOULD<5> support this option.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Vendor-specific Option Code

Vendor-specific Option Length

Vendor-specific Option Data

...

Vendor-specific Option Code (1 byte): This MUST be 0x02.

Vendor-specific Option Length (1 byte): This MUST be 0x04.

Vendor-specific Option Data (4 bytes): Values are as follows.

Value

Meaning

0x00000000

Disables client behavior of sending DHCPRELEASE message on operating system shutdown.

0x00000001

Enables client behavior of sending DHCPRELEASE message on operating system shutdown.

0x00000002 — 0xFFFFFFFF

Existing behavior of client is unchanged.