Self-defined options

Some options, such as Option 43, have no unified definitions in RFC 2132.

Vendor-specific option (Option 43)

DHCP servers and clients use Option 43 to exchange vendor-specific configuration information. The client sends a request with Option 43, including a vendor string that identifies a vendor. Upon receiving the request, the DHCP server refers to the vendor-specific options table, and returns a response message with Option 43 to assign the appropriate vendor-specific information to the DHCP client.

The DHCP client can obtain the following information through Option 43:

  1. Format of Option 43

Figure 10: Format of Option 43

Network configuration parameters are carried in different sub-options of Option 43, as shown in Figure 10. The sub-option fields are described as follows:

Figure 11: Format of the value field of the ACS parameter sub-option

Figure 12: Format of the value field of the PXE server address sub-option

Relay agent option (Option 82)

Option 82 is the relay agent option in the option field of the DHCP message. It records the location information of the DHCP client. When a DHCP relay agent or DHCP snooping device receives a client's request, it adds Option 82 to the request message and sends it to the server.

The administrator can locate the DHCP client to further implement security control and accounting. The Option 82 supporting server can also use such information to define individual assignment policies of IP address and other parameters for the clients.

Option 82 involves at most 255 sub-options. At least one sub-option must be defined. The DHCP relay agent supports two sub-options: sub-option 1 (Circuit ID) and sub-option 2 (Remote ID).

Option 82 has no unified definition. Its padding formats vary with vendors.

You can use the following methods to configure Option 82:

If you choose the second method, you can specify the code type for the sub-options as ASCII or HEX.

  1. Normal padding format

The padding contents for sub-options in the normal padding format are as follows:

Figure 13: Sub-option 1 in normal padding format

Figure 14: Sub-option 2 in normal padding format

  1. Verbose padding format

  2. Sub-option 1: Padded with the user-specified access node identifier (ID of the switch that adds Option 82 in DHCP messages), and the type, number, and VLAN ID of the interface that received the client's request. Its format is shown in Figure 15.

Figure 15: Sub-option 1 in verbose padding format


[NOTE: ]

NOTE:

The VLAN ID field has a fixed length of 2 bytes. All the other padding contents of sub-option 1 are length variable. See Figure 15.


Option 184

Option 184 is a reserved option, and parameters in the option can be defined as needed. The switch supports Option 184 carrying the voice related parameters, so a DHCP client with voice functions can get an IP address along with specified voice parameters from the DHCP server.

Option 184 involves the following sub-options: