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,

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 param sub-options of the Circuit ID and Remote ID and Link selection fields:

XML File Parameters

Parameter

Description

Type

Listed below are the types available:

var - 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.  option-82 allowed keyword

hex - A hexadecimal string with a maximum of 60 characters

str - An ASCII American Standard Code for Information Interchange. An ASCII code is a numerical representation of a character or an action. string that with a maximum of 60 characters

Val

This field contains either a hexadecimal string or ASCII American Standard Code for Information Interchange. An ASCII code is a numerical representation of a character or an action. string limited to 60 characters, if the type is hex or str. If the type is var then one of the following 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 keywords:

apname - AP name

apmac - AP MAC Media Access Control. A MAC address is a unique identifier assigned to network interfaces for communications on a network.

cmac - Client MAC Media Access Control. A MAC address is a unique identifier assigned to network interfaces for communications on a network.

essid Extended Service Set Identifier. ESSID refers to the ID used for identifying an extended service set. - ESSID Extended Service Set Identifier. ESSID refers to the ID used for identifying an extended service set. broadcasted by the AP

bssid Basic Service Set Identifier. The BSSID identifies a particular BSS within an area. In infrastructure BSS networks, the BSSID is the MAC address of the AP. In independent BSS or ad hoc networks, the BSSID is generated randomly. - BSSID Basic Service Set Identifier. The BSSID identifies a particular BSS within an area. In infrastructure BSS networks, the BSSID is the MAC address of the AP. In independent BSS or ad hoc networks, the BSSID is generated randomly. of the AP

vlanip- 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. interface

Delim

The delim option is available only for mac based keywords - apmac, cmac, and bssid Basic Service Set Identifier. The BSSID identifies a particular BSS within an area. In infrastructure BSS networks, the BSSID is the MAC address of the AP. In independent BSS or ad hoc networks, the BSSID is generated randomly.. The delim field is used if mac addresses are required to be in ASCII American Standard Code for Information Interchange. An ASCII code is a numerical representation of a character or an action. format with octets separated with specified ASCII American Standard Code for Information Interchange. An ASCII code is a numerical representation of a character or an action. character in the val part of delim field.

By default the ASCII American Standard Code for Information Interchange. An ASCII code is a numerical representation of a character or an action. MAC Media Access Control. A MAC address is a unique identifier assigned to network interfaces for communications on a network. separated by a delimiter, will be in lower case. If the user wants to use upper case then the respective mac based val keywords should be written in upper case in 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. For example:

<param>

<type>var</type>

<val>CMAC</val>

<delim>:</delim>

</param>

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:....

  1. 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 no ip dhcp option-82 command before executing the ip dhcp option-82 <xml-file> command , for the changes to take effect.

  1. After the ip dhcp option-82 <xml-file-name-in-flash> 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 option-82 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

  1. Execute the following command if the user wants to remove option-82 configuration:

(host) (config) #no ip dhcp option-82

Configuring Option 82

The following procedure configures Option 82:

  1. In the Managed Network node device, navigate to the Configuration > Interfaces > VLANs 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 VLANs table is displayed.
  3. From the VLANs > 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 More tab from the table that is displayed.
  5. Expand the Other Options accordion.
  6. Select the check box DHCP Server Option 82 to configure Option 82.
  7. Click Submit.
  8. Click Pending Changes.
  9. In the Pending Changes window, select the check box and click Deploy changes.

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