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:

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

Table 1: XML File Parameters

Parameter

Description

Type

Following 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 an ASCII American Standard Code for Information Interchange. An ASCII code is a numerical representation of a character or an action. string. The type is restricted to 60 characters if it is hex or str. If the type is var, use 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 broadcast 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 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 options (: and -) are available only for MAC Media Access Control. A MAC address is a unique identifier assigned to network interfaces for communications on a network. -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.. When there is a need for MAC Media Access Control. A MAC address is a unique identifier assigned to network interfaces for communications on a network. addresses to be in ASCII American Standard Code for Information Interchange. An ASCII code is a numerical representation of a character or an action. format, use the delim field. In the van part of the delim field, a specified ASCII American Standard Code for Information Interchange. An ASCII code is a numerical representation of a character or an action. character separates the octets.

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. Write the mac based oval keywords in upper case 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. For example:

<param>

<type>var</type>

<val>CMAC</val>

<delim>:</delim>

</param>

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:

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

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

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

  1. Execute the following command and 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, from the VLANs table.
  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.
  5. Expand the Other Options accordion.
  6. Select the DHCP Server Option 82 check box and 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 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