DHCP Options Supported by ClientsLast reviewed: January 14, 1998Article ID: Q121005 |
The information in this article applies to:
SUMMARYWindows NT DHCP (Dynamic Host Configuration Protocol) server service allows a DHCP server to provide a list of options that can be sent to DHCP clients. The options provide configuration information for the DHCP client. Options supported by the DHCP server are defined in RFC 1533, and DHCP clients can accept only a few of these options.
MORE INFORMATIONCurrently Microsoft DHCP clients can accept and use the following two options:
- DHCP Protocol Options - Information OptionsNOTE: Values in parentheses () are code numbers for each corresponding option.
DHCP Protocol OptionsDHCP message type (53): This option is used to convey the type of the DHCP message. The code for this option is 53, and its length is 1. Legal values for this option are:
Value Message Type ----- ------------ 1 DHCPDISCOVER 2 DHCPOFFER 3 DHCPREQUEST 4 DHCPDECLINE 5 DHCPACK 6 DHCPNAK 7 DHCPRELEASELease Time (51): This option is used in a client request (DHCPDISCOVER or DHCPREQUEST) to allow the client to request a lease time for the IP address. In a server reply (DHCPOFFER), a DHCP server uses this option to specify the lease time it is willing to offer. The time is in seconds, and is specified as a 32-bit unsigned integer. The code for this option is 51, and its length is 4. Renewal Time (58): This option specifies the time interval from address assignment until the client transitions to the RENEWING state. The value is in seconds, and is specified as a 32-bit unsigned integer. The code for this option is 58, and its length is 4. Rebind Time (59): This option specifies the time interval from address assignment until the client transitions to the REBINDING state. The value is in seconds, and is specified as a 32-bit unsigned integer. The code for this option is 59, and its length is 4.
Information OptionsSubnet Mask (1): The subnet mask option specifies the client's subnet mask as per RFC 950 [5]. If both the subnet mask and the router option are specified in a DHCP reply, the subnet mask option MUST be first. The code for the subnet mask option is 1, and its length is 4 octets. Default Router (3): The router option specifies a list of IP addresses for routers on the client's subnet. Routers should be listed in order of preference. The code for the router option is 3. The minimum length for the router option is 4 octets, and the length MUST always be a multiple of 4. DNS Server (6): The domain name server option specifies a list of Domain Name System (STD 13, RFC 1035 [8]) name servers available to the client. Servers should be listed in order of preference. The code for the domain name server option is 6. The minimum length for this option is 4 octets, and the length must always be a multiple of 4. Domain Name (15): The Domain Name option specifies the DNS Domain Name that the DHCP Server is to assign the clients for DNS Host name resolution. WINS Server (NetBIOS Name Server) (44): The NetBIOS name server (NBNS) option specifies a list of RFC 1001/1002 [19] [20] NBNS name servers listed in order of preference. The code for this option is 44. The minimum length of the option is 4 octets, and the length must always be a multiple of 4. NetBIOS Node Type (46): The NetBIOS node type option allows NetBIOS over TCP/IP clients which are configurable to be configured as described in RFC 1001/1002. The value is specified as a single octet that identifies the client type as follows:
Value Node Type ----- --------- 0x1 B-node 0x2 P-node 0x4 M-node 0x8 H-nodeIn the above chart, each value indicates a number in base-16 (hexadecimal). The code for this option is 46 and the length is 1. NetBIOS Scope Id (47): The NetBIOS scope option specifies the NetBIOS over TCP/IP scope parameter for the client as specified in RFC 1001/1002. See codes [19], [20], and [8] for character-set restrictions. The code for this option is 47 and minimum length is 1. Any other options received by the client are ignored and discarded, and are not available through any mechanism. Please note that the NetBIOS Scope ID is case sensitive.
|
Additional query words: prodnt RFC NBT NetBT
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |