Controller Based WLANs

How an Aruba campus AP discovers its master controller

by ‎05-27-2015 05:10 PM - edited ‎05-27-2015 05:10 PM
Requirement:

How does an Aruba Campus Access Point (CAP) discover its controller in order to become operational?

 



Solution:
A controller discovery by an AP is a fundamental feature to a hassle free controller based campus access points (CAP) deployment across L2 or L3 networks.

Care should be taken to avoid NAT devices between the campus access points and their controller. 

Upon boot up to its AOS code, an Aruba campus AP acquires its IP information (address, netmask, gateway, dns, domain) via dhcp and initiates the Aruba Discovery Protocol (ADP) to find its controller.

The ADP protocol leverages DHCP, DNS lookup and broadcast/multicast queries to find a controller in the following manner:

  1. Upon receiving and accepting a DHCP offer, if options 60 (ArubaAP) and option 43 (IP_address) are present, ADP will use option 43 value as the ip address of the AP master controller.
  2. If DHCP options 60 and 43 are not present, the ADP protocol will send two UDP discovery frames (1 broadcast and 1 multicast) every 0.5s for 5 seconds.
  3. If no response from any controller is received, the AP will initiate a DNS lookup for aruba-master.domain (default), where 'domain' is the domain received via dhcp.
  4. If a DNS response that resolves aruba-master is received, the AP will reboot and restart all over again.

 

Once the campus AP locates a controller (its master), it will communicate with it using the papi protocol (inside a secure tunnel if cpsec is enabled) to upgrade itself and/or to download its ap-group configuration if already provisioned. 

 



Configuration:

Configuration of DHCP options 60 and 43 under  Windows and Linux is available here 

 

 



Verification

The following wireshark capture illustrates the steps taken by an AP to acquire an IP address via DHCP (no option 43), to send broadcast/multicast queries and finally to do a DNS lookup for aruba-master.gta.net that received a response with two IP addresses for the master controller:

 

AP Master Discovery

Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.