![]() |
Cisco CNS Network Registrar User's Guide, 5.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Appendix B - DHCP Options
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Table of ContentsDHCP OptionsOption Descriptions
BOOTP Extensions/DHCP Option Field Format
Options TablesRFC 1497 Vendor Extensions Pad Option
IP Layer Parameters Per HostEnd Option Subnet Mask Option Time Offset Option Router Option Time Server Option Name Server Option Domain Name Server Option Log Server Option Cookie Server Option LPR Server Option Impress Server Option Resource Location Server Option Host Name Option Boot File Size Option Merit Dump File Option Domain Name Option Swap Server Option Root Path Option Extensions Path Option IP Forwarding Enable/Disable Option
IP Layer Parameters per InterfaceNon-Local Source Routing Enable/Disable Option Policy Filter Option Maximum Datagram Reassembly Size Option Default IP Time-to-Live Option Path MTU Aging Timeout Option Path MTU Plateau Table Option Interface MTU Option
Link Layer Parameters for Each InterfaceAll Subnets Are Local Option Broadcast Address Option Perform Mask Discovery Option Mask Supplier Option Perform Router Discovery Option Router Solicitation Address Option Static Route Option TCP Parameters Application and Service Parameters Network Information Service Domain Option
DHCP ExtensionsNetwork Information Servers Option Network Time Protocol Servers Option Vendor-Specific Information NetBIOS over TCP/IP Name Server Option NetBIOS over TCP/IP Datagram Distribution Server Option NetBIOS over TCP/IP Node Type Option NetBIOS over TCP/IP Scope Option X Window System Font Server Option X Window System Display Manager Option Network Information Service+ Domain Option Network Information Service+ Servers Option Mobile IP Home Agent Option Simple Mail Transport Protocol (SMTP) Server Option Post Office Protocol (POP3) Server Option Network News Transport Protocol (NNTP) Server Option Default World Wide Web (WWW) Server Option Default Finger Server Option Default Internet Relay Chat Server Option StreetTalk Server Option StreetTalk Directory Assistance (STDA) Server Option Requested IP Address Option
Microsoft Client OptionsIP Address Lease Time Option Option Overload Option TFTP Server Name Option Bootfile Name Option DHCP Message Type Option Server Identifier Option Parameter Request List Option Message Option Maximum DHCP Message Size Option Renewal (T1) Time Value Option Rebinding (T2) Time Value Option Vendor Class Identifier Option Client-Identifier Option DHCP OptionsDHCP provides a framework for passing configuration information to hosts on a TCP/IP network. Configuration parameters and other control information are carried in tagged data items that are stored in the options field of the DHCP message. The data items themselves are also called options. This appendix contains DHCP options and BOOTP vendor extensions from RFC 2132, and includes the validation type for each option, as indicated in Table B-5. This appendix also contains the standard Microsoft client options and several tables displaying the options sorted by different categories. Option DescriptionsThe following sections describe the DHCP options in detail:
BOOTP Extensions/DHCP Option Field FormatAny options defined subsequent to this document must contain a length octet even if the length is fixed or zero. All multi-octet quantities are in network byte-order. Except for the options in section 9, all options may be used with either DHCP or BOOTP. Many of these options have their default values specified in other documents. In particular, RFC 1122 [4] specifies default values for most IP and TCP configuration parameters. Many options supply one or more 32-bit IP address. Use of IP addresses instead of FQDNs may make future renumbering of IP hosts more difficult. Use of these addresses is discouraged at sites that may require renumbering. When used with BOOTP, the first four octets of the vendor information field have been assigned to the magic cookie (as suggested in RFC 951). This field identifies the mode in which the succeeding data is to be interpreted. The value of the magic cookie is the 4 octet dotted decimal 99.130.83.99 (or hexadecimal number 63.82.53.63) in network byte order. All of the vendor extensions defined in RFC 1497 are also DHCP options. Option codes 128 to 254 (decimal) are reserved for site-specific options. RFC 1497 Vendor ExtensionsThis section lists the vendor extensions as defined in RFC 1497. Pad OptionOption code: 0 Causes the subsequent fields to align on word boundaries. End OptionOption code: 255 End of valid information in the vendor field. Subsequent octets should be filled with Pad options. Subnet Mask OptionOption code: 1 Client's subnet mask, as per RFC 950. If both the Subnet Mask and the Router option are specified in a DHCP reply, the Subnet Mask option must be first. Time Offset OptionOption code: 2 Offset of the client's subnet in seconds from Coordinated Universal Time (UTC). The offset is expressed as a two's complement 32-bit integer. A positive offset indicates a location east of the zero meridian and a negative offset indicates a location west of the zero meridian. Router OptionOption code: 3 List of IP addresses for routers on the client's subnet. Routers should be listed in order of preference. Time Server OptionOption code: 4 Name Server OptionOption code: 5 List of IEN 116 name servers available to the client. Servers should be listed in order of preference. Domain Name Server OptionOption code: 6 List of Domain Name System (STD 13, RFC 1035) name servers available to the client. Servers should be listed in order of preference. Log Server OptionOption code: 7 The Log Server option specifies a list of MIT-LCS UDP log servers available to the client. Servers should be listed in order of preference. Cookie Server OptionOption code: 8 LPR Server OptionOption code: 9 Impress Server OptionOption code: 10 List of Imagen Impress servers available to the client. Servers should be listed in order of preference. Resource Location Server OptionOption code: 11 Host Name OptionOption code: 12 Name of the client. The name may or may not be qualified with the local domain name. See RFC 1035 for the character set restrictions. Boot File Size OptionOption code: 13 Length in 512-octet blocks of the default boot image for the client. Merit Dump File OptionOption code: 14 Path name of a file to which the client's core image should be placed in the event the client crashes. The path is formatted as a character string consisting of characters from the NVT ASCII character set. Domain Name OptionOption code: 15 Domain name that the client should use when resolving host names through the Domain Name System. Swap Server OptionOption code: 16 IP address of the client's swap server. Root Path OptionOption code: 17 Path name that contains the client's root disk. The path is formatted as a character string consisting of characters from the NVT ASCII character set. Extensions Path OptionOption code: 18 Uses a string to specify a file, retrievable through TFTP. The file contains information that can be interpreted in the same way as the 64-octet vendor-extension field within the BOOTP response, with the following exceptions: the length of the file is unconstrained, and all references to instances of this option in the file are ignored. IP Layer Parameters Per HostThis section describes the options that affect the operation of the IP layer on a per-host basis. IP Forwarding Enable/Disable OptionOption code: 19 Specifies whether the client should configure its IP layer for packet forwarding. Non-Local Source Routing Enable/Disable OptionOption code: 20 Specifies whether the client should configure its IP layer to allow forwarding of datagrams with non-local source routes. Policy Filter OptionOption code: 21 Policy filters for non-local source routing. The filters consist of a list of IP addresses and masks that specify destination/mask pairs with which to filter incoming source routes. Any source-routed datagram whose next-hop address does not match one of the filters should be discarded by the client. Maximum Datagram Reassembly Size OptionOption code: 22 Maximum size datagram that the client should be prepared to reassemble. Default IP Time-to-Live OptionOption code: 23 Default TTL that the client should use on outgoing datagrams. Path MTU Aging Timeout OptionOption code: 24 Timeout (in seconds) to use when aging Path MTU values discovered by the mechanism defined in RFC 1191. Path MTU Plateau Table OptionOption code: 25 Table of MTU sizes to use when performing Path MTU Discovery as defined in RFC 1191. The table is formatted as a list of 16-bit unsigned integers, ordered from smallest to largest. IP Layer Parameters per InterfaceThis section describes the options that affect the operation of the IP layer on a per-interface basis. It is expected that a client can issue multiple requests, one per interface, in order to configure interfaces with their specific parameters. Interface MTU OptionOption code: 26 Maximum time to live to use on this interface. All Subnets Are Local OptionOption code: 27 Specifies whether or not the client may assume that all subnets of the IP network to which the client is connected use the same MTU as the subnet of that network to which the client is directly connected. Broadcast Address OptionOption code: 28 Broadcast address in use on the client's subnet. Perform Mask Discovery OptionOption code: 29 Specifies whether or not the client should perform subnet mask discovery using ICMP. Mask Supplier OptionOption code: 30 Specifies whether or not the client should respond to subnet mask requests using ICMP. Perform Router Discovery OptionOption code: 31 Specifies whether or not the client should solicit routers using the Router Discovery mechanism defined in RFC 1256. Router Solicitation Address OptionOption code: 32 Address to which the client should transmit router solicitation requests. Static Route OptionOption code: 33 List of static routes that the client should install in its routing cache. If multiple routes to the same destination are specified, they are listed in descending order of priority. The routes consist of a list of IP address pairs. The first address is the destination address, and the second address is the router for the destination. The default route (0.0.0.0) is an illegal destination for a static route. Link Layer Parameters for Each InterfaceThis section describes the options that affect the operation of the data link layer on a per-interface basis. Trailer Encapsulation OptionOption code: 34 Specifies whether or not the client should negotiate the use of trailers (RFC 893) when using the ARP protocol. ARP Cache Timeout OptionOption code: 35 Timeout in seconds for ARP cache entries. Ethernet Encapsulation OptionOption code: 36 Specifies whether or not the client should use Ethernet Version 2 (RFC 894) or IEEE 802.3 (RFC 1042) encapsulation if the interface is an Ethernet. TCP ParametersThis section describes the options that affect the operation of the TCP layer on a per-interface basis. TCP Default TTL OptionOption code: 37 Default TTL that the client should use when sending TCP segments. TCP Keepalive Interval OptionOption code: 38 Interval (in seconds) that the client TCP should wait before sending a keepalive message on a TCP connection. The time is specified as a 32-bit unsigned integer. A value of zero indicates that the client should not generate keepalive messages on connections unless specifically requested by an application. The code for this option is 38, and its length is 4. TCP Keepalive Garbage OptionOption code: 39 Specifies the whether or not the client should send TCP keep-alive messages with an octet of garbage for compatibility with older implementations. Application and Service ParametersThis section details some miscellaneous options used to configure miscellaneous applications and services. Network Information Service Domain OptionOption code: 40 Name of the client's NIS domain. The domain is formatted as a character string consisting of characters from the NVT ASCII character set. Network Information Servers OptionOption code: 41 List of IP addresses indicating NIS servers available to the client. Servers should be listed in order of preference. Network Time Protocol Servers OptionOption code: 42 List of IP addresses indicating NTP servers available to the client. Servers should be listed in order of preference. Vendor-Specific InformationOption code: 43 This option is used by clients and servers to exchange vendor-specific information. The information is an opaque object of n octets, presumably interpreted by vendor-specific code on the clients and servers. The definition of this information is vendor specific. The vendor is indicated in the vendor-class-identifier option. Servers not equipped to interpret the vendor-specific information sent by a client must ignore it (although it may be reported). Clients that do not receive desired vendor-specific information should make an attempt to operate without it, although they may do so (and announce they are doing so) in a degraded mode. If a vendor potentially encodes more than one item of information in this option, then the vendor should encode the option using encapsulated vendor-specific options as described here. The encapsulated vendor-specific options field should be encoded as a sequence of code/length/value fields of identical syntax to the DHCP options field with the following exceptions:
NetBIOS over TCP/IP Name Server OptionOption code: 44 List of RFC 1001/1002 NBNS name servers listed in order of preference. NetBIOS over TCP/IP Datagram Distribution Server OptionOption code: 45 List of RFC 1001/1002 NBDD servers listed in order of preference. NetBIOS over TCP/IP Node Type OptionOption code: 46 Allows NetBIOS over TCP/IP client, which are configured as described in RFC 1001/1002. The value is a single octet that identifies the client type, as shown in Table B-1. Table B-1: NetBIOS Node Type
NetBIOS over TCP/IP Scope OptionOption code: 47 NetBIOS over TCP/IP scope parameter for the client as specified in RFC 1001/1002. X Window System Font Server OptionOption code: 48 List of X Window System Font servers available to the client. Servers should be listed in order of preference. X Window System Display Manager OptionOption code: 49 List of IP addresses of systems that are running the X Window System Display Manager and are available to the client. Addresses should be listed in order of preference. Network Information Service+ Domain OptionOption code: 64 Name of the client's NIS+ domain. The domain is formatted as a character string consisting of characters from the NVT ASCII character set. Network Information Service+ Servers OptionOption code: 65 List of IP addresses indicating NIS+ servers available to the client. Servers should be listed in order of preference. Mobile IP Home Agent OptionOption code: 68 List of IP addresses indicating mobile IP home agents available to the client. Agents should be listed in order of preference. Simple Mail Transport Protocol (SMTP) Server OptionOption code: 69 List of SMTP servers available to the client. Servers should be listed in order of preference. Post Office Protocol (POP3) Server OptionOption code: 70 List of POP3 servers available to the client. Servers should be listed in order of preference. Network News Transport Protocol (NNTP) Server OptionOption code: 71 List of NNTP servers available to the client. Servers should be listed in order of preference. Default World Wide Web (WWW) Server OptionOption code: 72 List of World Wide Web (WWW) servers available to the client. Servers should be listed in order of preference. Default Finger Server OptionOption code: 73 List of Finger servers available to the client. Servers should be listed in order of preference. Default Internet Relay Chat Server OptionOption code: 74 List of IRC servers available to the client. Servers should be listed in order of preference. StreetTalk Server OptionOption code: 75 List of StreetTalk servers available to the client. Servers should be listed in order of preference. StreetTalk Directory Assistance (STDA) Server OptionOption code: 76 List of STDA servers available to the client. Servers should be listed in order of preference. DHCP ExtensionsThis section describes the options that are specific to DHCP. Requested IP Address OptionOption code: 50 Used in a client request (DHCPDISCOVER) to allow the client to request that a particular IP address be assigned. IP Address Lease Time OptionOption code: 51 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. Option Overload OptionOption code: 52 Table B-2: Option Overload Values
TFTP Server Name OptionOption code: 66 Identifies a TFTP server when the sname field in the DHCP header has been used for DHCP options. Bootfile Name OptionOption code: 67 Identifies a bootfile when the file field is the DHCP header that has been used for DHCP options. DHCP Message Type OptionOption code: 53 Used to convey the type of DHCP message. The default is 1 (DHCPDISCOVER). Table B-3: DHCP Message Type Values
Server Identifier OptionOption code: 54 Parameter Request List OptionOption code: 55 Used by a DHCP client to request values for specified configuration parameters. The list of requested parameters is specified as n octets, where each octet is a valid DHCP option code as defined in this document. The client can list the options in order of preference. The DHCP server is not required to return the options in the requested order, but must try to insert the requested options in the order requested by the client. Message OptionOption code: 56 Used by a DHCP server to provide an error message to a DHCP client in a DHCPNAK message in the event of a failure. A client may use this option in a DHCPDECLINE message to indicate why the client declined the offered parameters. The message consists of n octets of NVT ASCII text, which the client may display on an available output device. Maximum DHCP Message Size OptionOption code: 57 Maximum length DHCP message that it is willing to accept. The length is specified as an unsigned 16-bit integer. A client may use the maximum DHCP message size option in DHCPDISCOVER or DHCPREQUEST messages, but should not use the option in DHCPDECLINE messages. Renewal (T1) Time Value OptionOption code: 58 Time interval from address assignment until the client transitions to the RENEWING state. Rebinding (T2) Time Value OptionOption code: 59 Time interval from address assignment until the client transitions to the REBINDING state. Vendor Class Identifier OptionOption code: 60 Used by DHCP clients to optionally identify the vendor type and configuration of a DHCP client. The information is a string of n octets, interpreted by servers. Vendors may choose to define specific vendor class identifiers to convey particular configuration or other identification information about a client. For example, the identifier may encode the client's hardware configuration. Servers not equipped to interpret the class-specific information sent by a client must ignore it (although it may be reported). Servers that respond should only use option 43 to return the vendor-specific information to the client. Client-Identifier OptionOption code: 61 Used by DHCP clients to specify their unique identifier. DHCP servers use this value to index their database of address bindings. This value is expected to be unique for all clients in an administrative domain. Identifiers should be treated as opaque objects by DHCP servers. The client identifier may consist of type-value pairs similar to the htype/chaddr fields. For instance, it may consist of a hardware type and hardware address. In this case, the type field should be one of the ARP hardware types defined in STD2. A hardware type of 0 (zero) should be used when the value field contains an identifier other than a hardware address (for example, a fully qualified domain name). For correct identification of clients, each client's client-identifier must be unique among the client-identifiers used on the subnet to which the client is attached. Vendors and system administrators are responsible for choosing client-identifiers that meet this requirement for uniqueness. Microsoft Client OptionsTable B-4 lists the standard Microsoft client options. Table B-4: Microsoft DHCP Client Options
Options TablesThe following tables display the DHCP options in various ways. They show the options sorted numerically, by Network Registrar name, and by category. DHCP options have a prescribed format and allowed values for their option parameters. Each DCHP option and parameter type ("Validation") is listed in Table B-5. The parameter formats and allowed values come from the DHCP and Internet RFCs. All the DHCP options are listed, but some are not controlled by the user, some are only offered by the GUI, and some only by the CLI. Options by NumberTable B-5 shows the DHCP options sorted by option number, and includes the validation type. (See Table B-8 for details on the option validation types found in the "Validation" column.) . Table B-5: DHCP Options by Number
Options by Network Registrar NameTable B-6 lists the DHCP options by Network Registrar name. (For each option's validation type, cross-reference it by number to Table B-5 and check the "Validation" column.) Table B-6: DHCP Options by Network Registrar Name
Options by CategoryTable B-7 list each option by category. (For each option's validation type, cross-reference it by number to Table B-5 and check the "Validation" column.) Table B-7: DHCP Options by Category
Option Validation TypesTable B-8 defines the DHCP option validation types. Table B-8: Validation Types
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|