DHCP Option 82
DHCP Option 82 is a relay agent information option that
-
carries information known by the relay agent
-
increases DHCP security by enabling identification of request sources, and
-
allows address allocation based on network topology or client device characteristics.
The controller can be configured to add Option 82 information to DHCP requests from clients before forwarding the requests to a DHCP server. The DHCP server can then be configured to allocate IP addresses to the wireless client based on the information present in DHCP Option 82.
DHCP 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 stored in the Options field of the DHCP message. These data items are also called options. Option 82 includes information known by the relay agent.
The Relay Agent Information option is a single DHCP option containing one or more suboptions that convey information known by the Relay Agent. Option 82 enables a DHCP Relay Agent to insert circuit-specific information into a forwarded request to a DHCP server. This option uses two suboptions:
-
Circuit ID: The Circuit ID suboption includes information that is specific to the circuit the request came in on. This suboption is an identifier that is specific to the relay agent. Thus, the circuit that is described will vary depending on the relay agent.
-
Remote ID: The Remote ID suboption includes information on the remote host–end of the circuit. This suboption usually contains information that identifies the relay agent. In a wireless network, this is likely a unique identifier for the wireless AP.
![]() Note |
|
DHCP Option 82 configuration options
You can configure these DHCP Option 82 options in a controller:
-
DHCP Enable
-
DHCP Opt82 Enable
-
DHCP Opt82 Ascii
-
DHCP Opt82 RID
-
DHCP Opt Format
-
DHCP AP MAC
-
DHCP SSID
-
DHCP AP ETH MAC
-
DHCP AP NAME
-
DHCP Site Tag
-
DHCP AP Location
-
DHCP VLAN ID
The controller includes the SSID in ASCII format and the VLAN ID in hexadecimal format within the remote ID suboption of Option 82 in the outgoing DHCP packets to the server for this configuration.
ipv4 dhcp opt82 format ssid
ipv4 dhcp opt82 format vlan-id
However, if ipv4 dhcp opt82 ascii configuration is also present, the controller adds VLAN-ID and SSID in ASCII format.
For Cisco Catalyst 9800 Series Configuration Best Practices, see the following link: https://www.cisco.com/c/en/us/products/collateral/wireless/catalyst-9800-series-wireless-controllers/guide-c07-743627.html

Feedback