The user class option (as described in RFC 3004) gives textual information that a
DHCP client can use to identify the type or category of user or applications it repre-
sents. The data in the
user class option is structured as a sequence of separate user
class values. Each value consists of a single byte that gives the length of the value,
followed by the actual data values. A DHCP server uses the
user class option values
to select the configuration information to be assigned to the client.
TCP/IP Stack Configuration Parameters
The following sections describe several types of TCP/IP stack configuration parame-
ters. Most of the parameters apply to the IP layer—either to all IP traffic on the client
or to the traffic on a specific interface. Other parameters configure the link layer and
the TCP layer.
IP Layer Parameters for the Client
Each of the options in the following sections supplies a configuration parameter that
applies to all IP traffic on the client.
router
Option code: 3
Length: n
Data: list of IP addresses
The router option lists the addresses of default routers for the client to add to its
routing table. The routers are listed by their IP addresses, in order of preference. The
length field gives the total length of the list of routers and must be a multiple of 4; if
the list contains r routers, the length is
4r.
default IP time to live
Option code: 23
Length: 1
Data: 1 byte
The default IP time to live option gives the default value for the TTL (Time to
Live) field in the IP header of datagrams that the client transmits.
IP forwarding enable/disable
Option code: 19
Length: 1
Data: 0 disable forwarding
1 enable forwarding
CHAPTER 9 DHCP Options136
012 3273 CH09 10/3/02 4:57 PM Page 136