The dhcp server option82 link-selection enable command enables a DHCP server to assign IP addresses based on the Option 82 suboption Link Selection.
The undo dhcp server option82 link-selection enable command disables a DHCP server from assigning IP addresses based on the Option 82 suboption Link Selection.
By default, a DHCP server is disabled from assigning IP addresses based on the Option 82 suboption Link Selection.
Usage Scenario
Generally, after receiving a packet, a DHCP server searches the IP address pool based on the giaddr field, assigns an IP address on the same network segment as the address specified by the giaddr field, and uses the address specified by the giaddr field to communicate with the DHCP relay agent. When EVPN and VXLAN ESI all-active support DHCP relay, to ensure that a DHCP server can correctly assign an address and send a response packet back to the same DHCP relay agent as a request packet, perform the following steps:
Precautions
The function of enabling the DHCP server to assign IP addresses based on Option 60 takes preference over the function of enabling the DHCP server to assign IP addresses based on the Option 82 suboption Link Selection.