Enabling DHCP Relay Agent Information Option (Option 82)
Option-82 feature allows 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 to insert specific information into a client request that is being 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. Option-82 can be customized to cater to the requirements of any ISP Internet Service Provider. An ISP is an organization that provides services for accessing and using the Internet. to make access control decisions using the Arubamanaged device.
The managed device, when acting as 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. relay agent can be configured with the following sub-type 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)
Starting from ArubaOS 8.1.0.0, a 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 has been introduced to provide flexibility 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 used as the input from the user and is validated against an XSD file stored under flash on the managed device. 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 is parsed and stored by 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 to ensure option-82 related values are inserted in 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.
Starting from ArubaOS 8.1.0.0, when IP Helper is enabled on L3 interface, 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 is filtered at the datapath level and is unicast to the configured helper device. 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. can now be enabled without the helper address.
|
|
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 is supported only for wired and wireless IPv4 clients and applicable 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 to be configured for wired and wireless clients.
|
Type of client |
Fields to be configured |
|
Wired clients |
link_selection field only |
|
Wireless clients |
Any one of the following combinations should be configured if 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 is enabled 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 table below lists the elements introduced in the sub-options of the and fields:
XML File Parameters
Configuring XML Based DHCP Option-82 Specification
The following procedure is the sequence of steps to be followed if a user wants 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 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:
1. From the Mobility Master 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 using the copy command. 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:....
2. In the configuration terminal execute the following command:
#ip dhcp option-82 <xml-file-name-in-flash>
For example:
(host) ^[md] (config) #ip dhcp option-82 my_dhcp_option_82.xml
|
|
If you are re-applying 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, ensure that you execute the command before executing the command , for the changes to take effect. |
3. After the command is executed successfully, 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 execute command to apply 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 need to be relayed from that interface.
For example:
(host) ^[md] (config) #interface vlan 25
(host) ^[md] (config-subif)#option-82
4. Execute the following command if the user wants to 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 and execute command and then execute the command. |
Configuring Option 82
The following procedure configures Option 82:
1. In the node device, navigate to the > > tab.
2. 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. The table is displayed.
3. 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.
4. Select tab from the table that is displayed.
5. Expand the accordion.
6. Select the check box to configure Option 82.
7. Click .
8. Click .
9. In the window, select the check box and click
In the CLI
The following commands configure 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 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
Execute the following command to enable 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
Execute the following command to enable 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
Execute the following command to remove Option-82 configuration:
(host) [mynode] (config) #no ip dhcp option-82
Execute the following command to remove 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