This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

DHCP for APs

In-depth guidance on using DHCPv4 options across AP modes and setting up DHCP servers on various devices.

All HPE Aruba Networking Access Points implement a DHCP client as a means of dynamically obtaining IPv4 addressing along with other network configuration parameters. The information provided by a DHCP server is used by the APs to provide the necessary information required to communicate over an IPv4 network and influence the AP mode through standard and vendor specific options.

Comprehensive guidance on using these options, example configurations for multiple devices, and packet captures reference is provided.

1 - Option implementation

Standard and vendor-specific DHCP options for different modes of access points.

Vendor class identifier

All HPE Aruba Networking Access Points implement DHCP option 60 vendor class identifier (RFC 2132) to sends a specific identifying string to the DHCP server in discovery and request packets. The string value that is forwarded to the DHCP server is dependent on the AP mode.

Type Vendor Class Identifier
AOS-10 AP ArubaAP
AOS-8 Instant AP ArubaInstantAP
AOS-8 Campus AP ArubaAP
AOS-8 Unified AP ArubaInstantAP

Vendor-specific options

HPE Aruba Networking access points support vendor-specific options that can be provided in offer and acknowledgement packets. The type of vendor-specific option that is supported by an AP is dependent on the AP mode. For example an AOS-8 instant Mode AP or an AOS-10 AP can be supplied with HTTP Proxy server information (option 148) while an AOS-8 campus mode AP or an AOS-8 unified AP can be supplied mobility controller information (option 43).

1.1 - AOS-10

Standard and vendor-specific DHCP options for AOS-10 access points.

Standard forwarded options

The standard options that are supplied by AOS-10 based APs to a DHCP server in discovery and request packets can be used by the DHCP server to supply specific return options.

Code Description Notes/Example
61 Client Identifier The base MAC address of the AP. Example: 8c:9c:d8:ca:73:20
60 Vendor Class Identifier The option 60 value sent by AOS-10 based APs. Example: ArubaAP

The standard and vendor-specific DHCP options that are requested by AOS-10 based APs in discovery and request packets tell the DHCP server which options are supported and can be returned to the APs.

Code Description Notes/Example
55 Parameter Request List
  • 1 (Subnet Mask)
  • 3 (Router)
  • 4 (Time Server)
  • 6 (Domain Name Server)
  • 12 (Host Name)
  • 15 (Domain Name)
  • 28 (Broadcast address)
  • 42 (Network Time Protocol)
  • 43 (Vendor-Specific Information)
  • 60 (Vendor Class Identifier)
  • 66 (TFTP server name)
  • 148 (Proxy Server Information)

Standard return options

The standard DHCP options that can be returned to AOS10-based APs from a DHCP server in offer and acknowledgement packets:

Code Description Format Notes/Example
1 Subnet Mask IP Address The subnet mask assigned by the DHCP server. Example: 255.255.255.0
3 Router IP Address The default gateway assigned by the DHCP server. Example: 10.0.2.1
6 Domain Name Server IP Address A list of DNS servers assigned by the DHCP server (in order of preference). Example: 10.0.2.2
15 Domain Name String The domain name assigned by the DHCP server. Example: arubanetworks.local
42 Network Time Protocol Servers String IP addresses or FQDNs of one or more NTP servers. Example: 10.0.2.50

Vendor-specific return options

The Vendor-Specific DHCP option 148 can be returned to AOS10-based APs for Zero Touch Provisioning (ZTP) via an HTTP proxy server when Activate or Central are accessible through the proxy.

HTTP Proxy

Code Description Format Notes/Example
148 Proxy Server Information String HTTP proxy server IP/FQDN, Port, Username and Password.
  • Example: server=10.0.2.100, port=8080, username=ap1, password=Secure@123
60 Vendor Class Identifier String Must be applied with option 148. Mandatory Value: ArubaAP

1.2 - AOS-8 unified

Standard and vendor-specific DHCP options for AOS-8 unified access points.

Vendor-specific options are supported by HPE Aruba Networking Unified Access Points using the factory defaulted configuration.Unified Access Points are shipped with a special manufacturing image (reduced functionality) and follow a specific discovery process to connect to a controller-based or controller-less network.

When a unified AP first initializes, it behaves in the same way as an AP operating in instant mode. The standard and vendor-specific DHCP options that are supported mirror what has been captured in the AOS-8 Instant section. Likewise if a Unified AP has been converted into campus mode, the standard and vendor-specific DHCP options that are supported mirror what has been captured in the AOS-8 Campus section. The operating mode determining the DHCP options that are supported.

Campus mode conversion

The vendor-specific DHCP options can be leveraged to convert AOS-8 unified APs into AOS-8 campus mode. When a unified AP boots up, it sends Option 60 as ArubaInstantAP to the DHCP server for identification. The server can modify the AP’s operating mode to campus by returning option 60 as ArubaAP along with Option 43, which points to a mobility controller.

Code Description Format Notes/Example
43 Vendor Specific Information String Mobility Controller IP Address. Example: 10.0.2.15
60 Vendor Class Identifier String Must be supplied with option 43. Mandatory value: ArubaAP

1.3 - AOS-8 campus

Standard and vendor-specific DHCP options for AOS-8 campus mode access points.

Standard forwarded options

The standard options that are supplied by AOS-8 campus-based APs to a DHCP server in discovery and request packets can be used by the DHCP server to supply specific return options.

Code Description Notes/Example
61 Client Identifier The base MAC address of the AP. Example: 8c:9c:d8:ca:73:20
60 Vendor Class Identifier The option 60 value sent by campus-based APs. Example: ArubaAP

The standard and vendor-specific DHCP options that are requested by AOS-8 campus-based APs in discovery and request packets tells the DHCP server which options are supported and can be returned to the APs.

Code Description Notes/Example
55 Parameter Request List
  • 1 (Subnet Mask)
  • 3 (Router)
  • 4 (Time Server)
  • 6 (Domain Name Server)
  • 12 (Host Name)
  • 15 (Domain Name)
  • 28 (Broadcast address)
  • 42 (Network Time Protocol)
  • 43 (Vendor-Specific Information)
  • 60 (Vendor Class Identifier)

Standard return options

The standard DHCP options that can be returned to AOS-8 campus-based APs from a DHCP server in offer and acknowledgement packets:

Code Description Format Notes/Example
1 Subnet Mask IP Address The subnet mask assigned by the DHCP server. Example: 255.255.255.0
3 Router IP Address The default gateway assigned by the DHCP server. Example: 10.0.2.1
6 Domain Name Server IP Address A list of DNS servers assigned by the DHCP server (in order of preference). Example: 10.0.2.2
15 Domain Name String The domain name assigned by the DHCP server. Example: hpe.com

Vendor-specific return options

The Vendor-Specific DHCP option 43 can be returned to AOS-8 campus-based APs to discovery a mobility controller.

Mobility controller discovery

Code Description Format Notes/Example
43 Vendor Specific Information String Mobility Controller IP Address. Example: 10.0.2.15
60 Vendor Class Identifier String Must be supplied with option 43. Mandatory value: ArubaAP

1.4 - AOS-8 instant

Standard and vendor-Specific DHCP options for AOS-8 instant mode access points.

Standard forwarded options

The standard options that are supplied by AOS-8 instant-based APs to a DHCP server in discovery and request packets can be used by the DHCP server to supply specific return options.

Code Description Notes/Example
61 Client Identifier The base MAC address of the AP. Example: 8c:9c:d8:ca:73:20
60 Vendor Class Identifier The option 60 value sent by instant-based APs. Example: ArubaInstantAP

The standard and vendor-specific DHCP options that are requested by AOS-8 instant-based APs in discovery and request packets tells the DHCP server which options are supported and can be returned to the APs.

Code Description Notes/Example
55 Parameter Request List
  • 1 (Subnet Mask)
  • 3 (Router)
  • 4 (Time Server)
  • 6 (Domain Name Server)
  • 12 (Host Name)
  • 15 (Domain Name)
  • 28 (Broadcast address)
  • 42 (Network Time Protocol)
  • 43 (Vendor-Specific Information)
  • 60 (Vendor Class Identifier)
  • 66 (TFTP Server Name)
  • 148 (Proxy Server Information)

Standard return options

The standard DHCP options that can be returned to AOS-8 instant-based APs from a DHCP server in offer and acknowledgement packets:

Code Description Format Notes/Example
1 Subnet Mask IP Address The subnet mask assigned by the DHCP server. Example: 255.255.255.0
3 Router IP Address The default gateway assigned by the DHCP server. Example: 10.0.2.1
6 Domain Name Server IP Address A list of DNS servers assigned by the DHCP server (in order of preference). Example: 10.0.2.2
15 Domain Name String The domain name assigned by the DHCP server. Example: hpe.com
42 Network Time Protocol Servers String IP addresses or FQDNs of one or more NTP servers. Example: 10.0.2.50

Vendor-specific return options

The vendor-specific DHCP option 148 can be returned to AOS-8 instant-based APs for Zero Touch Provisioning (ZTP) via an HTTP proxy server when Activate or Central are accessible through the proxy.

HTTP Proxy

Code Description Format Notes/Example
148 Proxy Server Information String HTTP proxy server IP/FQDN, Port, Username and Password.
  • Example: server=10.0.2.100, port=8080, username=ap1, password=Secure@123
60 Vendor Class Identifier String Must be applied with option 148. Mandatory Value: ArubaInstantAP

2 - Server configuration

DHCP server configuration examples for AOS-10, instant, and campus mode access points across various devices.

AOS-10 mobility/branch gateways

AOS-10 access points

HTTP Proxy

AOS-8 mobility controllers

AOS-8 Unified/Campus mode access points

Mobility controller discovery

    ip dhcp pool vlan77
        domain-name hpe.com
        dns-server 192.168.10.5 192.168.10.6
        default-router 192.168.77.1
        network 192.168.77.0 255.255.255.0
        option 60 text ArubaAP
        option 43 ip 192.168.72.15

AOS-CX switches

AOS-10 access points

HTTP Proxy

    dhcp-server vrf default
      pool vlan77
        default-router 192.168.77.1
        dns-server 192.168.10.5 192.168.10.6
        domain-name hpe.com
        option 42 ip 192.168.77.15
        option 148 ascii "server=192.168.66.30,port=8080,username=ap1,password=aruba123"
        option 60 ascii "ArubaAP"
        range 192.168.77.100 192.168.77.200 prefix-len 24
        exit
      enable

AOS-8 instant mode access points

HTTP Proxy

    dhcp-server vrf default
      pool vlan77
        default-router 192.168.77.1
        dns-server 192.168.10.5 192.168.10.6
        domain-name hpe.com
        option 42 ip 192.168.77.15
        option 148 ascii "server=192.168.66.30,port=8080,username=ap1,password=aruba123"
        option 60 ascii "ArubaInstantAP"
        range 192.168.77.100 192.168.77.200 prefix-len 24
        exit
      enable

AOS-8 unified/campus mode access points

Mobility controller discovery

    dhcp-server vrf default
      pool vlan77
        default-router 192.168.77.1
        dns-server 192.168.10.5 192.168.10.6
        domain-name hpe.com
        option 43 ip 192.168.72.15
        option 60 ascii “ArubaAP”
        range 192.168.77.100 192.168.77.200 prefix-len 24
        exit
      enable

ISC DHCP server

AOS-10 access points

HTTP Proxy

    # Global Options
    option iap-proxy code 148 = text;
    
    # Scope Example
    subnet 192.168.77.0 netmask 255.255.255.0 {
            range 192.168.77.100 192.168.77.250;
            option routers 192.168.77.1;
            option domain-name "hpe.com";
            option ntp-servers 192.168.77.15;
            option vendor-class-identifier "ArubaAP";
            option iap-proxy "server=192.168.66.30,port=8080,username=ap1,password=aruba123";
    }

AOS-8 instant mode access points

HTTP Proxy

    # Global Options
    option iap-proxy code 148 = text;
    
    # Scope Example
    subnet 192.168.77.0 netmask 255.255.255.0 {
            range 192.168.77.100 192.168.77.250;
            option routers 192.168.77.1;
            option domain-name "hpe.com";
            option ntp-servers 192.168.77.15;
            option vendor-class-identifier "ArubaInstantAP";
            option iap-proxy "server=192.168.66.30,port=8080,username=ap1,password=aruba123";
    }

AOS-8 unified/campus mode access points

Mobility controller discovery

     # Global Options
    option controllerip code 43 = ip-address;
    
     # Scope Example
    subnet 192.168.77.0 netmask 255.255.255.0 {
            range 192.168.77.100 192.168.77.250;
            option routers 192.168.77.1;
            option domain-name "hpe.com";
            option vendor-class-identifier "ArubaAP";
            option controllerip 192.168.72.15;   
    }

Microsoft DHCP server

AOS-10 access points

HTTP Proxy

Scope Option 148

Scope Option 60

AOS-8 instant mode access points

HTTP Proxy

Scope Option 148

Scope Option 60

AOS-8 unified/campus mode access points

Mobility controller discovery

Scope Option 43

Scope Option 60

3 - Reference

Wireshark packet captures of DHCP discover and offer packets for AOS-10, instant, and campus mode access points.

DHCP discover packet decodes

AOS-10 access points

DHCP discover

Option 61- client identifier field

Option 60- vendor class identifier field

Option 55- parameter request list

AOS-8 instant mode access points

DHCP discover

Option 61- client identifier field

Option 60- vendor Class Identifier Field

Option 55- parameter request list

AOS-8 campus mode access points

DHCP discover

Option 61- client identifier field

Option 60- vendor class identifier field

Option 55- parameter request list

DHCP offer packet decodes

AOS-10 access points

DHCP offer

Option 60- vendor class identifier field

Option 148- HTTP proxy server

AOS-8 instat mode access points

DHCP offer

Option 60- vendor class identifier field

Option 148- HTTP proxy server

AOS-8 campus mode access points

DHCP offer

Option 60- vendor class identifier field

Option 43- mobility controller discovery / campus conversion