Legal Disclaimer: The resource assets in this website may include abbreviated and/or legacy terminology for HPE Aruba Networking products. See www.arubanetworks.com for current and complete HPE Aruba Networking product lines and names.
Enabling DHCP Relay Option-82
The Option-82 feature allows DHCP Dynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network. Relay Agent to insert specific information into a client request forwarded to a DHCP Dynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network. server. The managed device allows customization of Option-82. The customization helps cater to the requirements of any ISP Internet Service Provider. An ISP is an organization that provides services for accessing and using the Internet. for making access control decisions. The managed device functions as a DHCPv6 relay agent and has the following options:
- Type 1—Circuit ID (AP, Port)
- Type 2—Remote ID (Client SSID Service Set Identifier. SSID is a name given to a WLAN and is used by the client to access a WLAN network.)
- Type 5—Link Selection (Local VLAN Virtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. Network)
An XML Extensible Markup Language. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. definition file allows you to configure multiple sub-type options. The XML Extensible Markup Language. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. file is an input from the user to validate against an XSD file stored under flash on the managed device. The DHCP Dynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network. relay agent module parses and stores the format in the XML Extensible Markup Language. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. file. Ensures that the DHCP Dynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network. request packets from the client to the server have the Option-82 related values inserted.
Enabling IP Helper on the L3 interface filters DHCP Dynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network. discover broadcast at the datapath level. Then unicast to the configured helper device. Now, you can enable DHCP Dynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network. Option-82 on L2 VLAN Virtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. without using the helper address.
Currently, DHCP Dynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network. Option-82 supports wired and wireless IPv4 clients. It applies to wireless clients terminating in AP Tunnel and D-Tunnel modes.
Sample XML Format
The following is a sample XML Extensible Markup Language. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. file which specifies DHCP Dynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network. Option-82 circuit and remote IDs and link selection fields:
<?xml version="1.0" encoding="UTF-8"?>
<dhcpopt82>
<circuit_id>
<param>
<type>var</type>
<val>apmac</val>
<delim>-</delim>
</param>
</circuit_id>
<remote_id>
<param>
<type>var</type>
<val>cmac</val>
<delim>:</delim>
</param>
</remote_id>
<link_selection>
<param>
<type>var</type>
<val>vlanip</val>
</param>
</link_selection>
</dhcpopt82>
The following table describes the fields for wired and wireless clients.
|
Client Type |
Fields |
|
Wired clients |
link_selection field only |
|
Wireless clients |
Configure one of the following combinations if you enable DHCP Dynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network. Option-82 on a VLAN Virtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN.: • circuit_id, remote_id, and link_selection • circuit_id and remote_id • link_selection |
The following table lists the elements introduced in the sub-options of the , fields:
Table 1: XML File Parameters
Configuring XML Based DHCP Option-82 Specification
The following procedure provides step-by-step instruction to use XML Extensible Markup Language. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.-based DHCPv6 Option-82:
- From the Mobility Conductor, use the copy command to upload the XML Extensible Markup Language. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. file containing Option-82 specification to flash. For example:
(host) #copy scp: 10.20.22.42 piddalagi /home/piddalagi/my_dhcp_option_82.xml flash: my_dhcp_option_82.xml
Password:**********
Secure File Copy:....
- In the configuration terminal, issue the following command:
#ip dhcp option-82 <xml-file-name-in-flash>
For example:
(host)[mynode](config) #ip dhcp option-82 my_dhcp_option_82.xml
Before you reapply a modified XML Extensible Markup Language. XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. file with the same file name, issue the command first. Then issue the command, for the changes to take effect.
-
After executing the command, issue command in the WLAN Wireless Local Area Network. WLAN is a 802.11 standards-based LAN that the users access through a wireless connection. interface configuration. The command applies the option-82 configuration to the DHCP Dynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network. packets that require relaying from that interface.
For example:
(host)[mynode](config) #interface vlan 25
(host)[mynode](config-subif)#option-82
- Execute the following command and remove option-82 configuration:
(host)(config) #no ip dhcp option-82
This command is not successful if there is a WLAN Wireless Local Area Network. WLAN is a 802.11 standards-based LAN that the users access through a wireless connection. VLAN Virtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. interface configured with command. To remove option-82 configuration, go to the respective VLAN Virtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. interface. Then issue the and commands.
Configuring Option 82
The following procedure configures Option 82:
- In the node device, navigate to the > > tab.
- Select the VLAN Virtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. ID for which you want to configure Option 82, from the table.
- From the table, select the VLAN Virtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. ID again.
- Select tab from the table.
- Expand the accordion.
- Select the check box and configure Option-82.
- Click .
- Click .
- In the window, select the check box and click
In the CLI
The following command configures DHCP Dynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network. Option-82, from the device node:
(host) [mynode] (config) #show configuration devices
Provisioned Devices
-------------------
Device Model Nodepath VPN Concentrator Config status
------ ----- -------- ---------------- -------------
00:0c:29:88:5c:17 MC-VA /md/blr None Loaded
Total Devices: 1
The following command enables L3 option-82:
(host) [mynode] (config) #cd /md/blr/00:0c:29:88:5c:17
(host) [00:0c:29:88:5c:17] (config) #interface vlan 1
(host) [00:0c:29:88:5c:17] (config-submode)#op
operstate Interface Operation state
option-82 Turn on option 82
(SP-MM-110) [00:0c:29:88:5c:17] (config-submode)#option-82
The following command enables L2 option-82:
(host) [00:0c:29:88:5c:17] (config-submode)#exit
(host) [00:0c:29:88:5c:17] (config) #vlan 1
option-82 Turn on Option-82
(Optional) The following command removes Option-82 configuration:
(host) [mynode] (config) #no ip dhcp option-82
(Optional) The following command removes DHCP Dynamic Host Configuration Protocol. A network protocol that enables a server to automatically assign an IP address to an IP-enabled device from a defined range of numbers configured for a given network. option-82 configuration on L3 VLAN Virtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN.:
(host) [mynode] (config) #interface vlan
(host) [00:0c:29:88:5c:17] (config) #no vlan option-82