liveBook · Manning

DHCP option

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

A DHCP option is an optional field in a DHCP message that carries configuration or process-related information.

A DHCP option is an optional message field that lets clients, servers, and relay agents exchange configuration or process-related information. Common examples include option 3 for the default gateway, option 6 for DNS servers, and option 50 for a requested IP address. About 100 standard options exist, although many are rarely used. section 13.2.2

Option 82 adds relay context that can help a DHCP server make an informed allocation decision. DHCP snooping switches insert it by default, but an untrusted-port request containing option 82 can be discarded. For CCNA configuration, disable insertion unless the switch is a multilayer DHCP relay agent. section 13.2.2

SW2# show ip dhcp snooping
. . .
Insertion of option 82 is enabled            #1
   circuit-id default format: vlan-mod-port
   remote-id: 5254.000c.8b85 (MAC)
Option 82 on untrusted port is not allowed   #2
. . .
#1 Switches insert option 82 into DHCP requests by default.
#2 Switches do not accept messages with option 82 on untrusted ports.

Verify whether option 82 insertion is enabled, including the default circuit-ID format and remote-ID. section 13.2.2

Disable option 82 insertion

Use `no ip dhcp snooping information option`, then verify that the status reports “Insertion of option 82 is disabled.” section 13.2.2

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Defines common options and explains option 82 insertion, rejection, verification, and disabling, while deferring most options beyond exam scope.
Examples
Uses options 3, 6, 50, and 82, plus Cisco snooping output, a discard message, and the disabling command.
What it assumes
Assumes DHCP message flow and DHCP snooping concepts while defining option roles and their configuration effects.
What you can do after
Operate/configure DHCP snooping by verifying option 82 and disabling insertion when the switch is not a multilayer relay agent.
How it connects
Connects DHCP options with DHCP snooping, DHCP relay agents, default gateways, DNS servers, and IP address requests.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.