How APs Discover ZoneDirector on the Network
- When an AP starts up, it sends out a DHCP discovery packet to obtain an IP address.
- The DHCP server responds to the AP with the allocated IP address. If you configured DHCP Option 43 (or DHCPv6 Option 17) (see Option 2: Customize Your DHCP Server), the DHCP offer response will also include (among others) the IP addresses of ZoneDirector devices on the network along with the address of the DNS server that can help resolve the ZoneDirector IP addresses.
- After the AP obtains an IP address, it first attempts to contact a ZoneDirector whose
IP address has been pre-configured on the AP. If an AP has a pre-configured ZoneDirector
IP address, it will always use an L3 LWAPP (lightweight access point protocol) discovery
message to attempt to discover the pre-configured primary/secondary ZoneDirector.
- An AP with a pre-configured ZoneDirector IP address will only attempt to discover the pre-configured ZoneDirector(s) and will skip the DHCP/DNS/last joined ZoneDirector steps. If it is unable to contact its pre-configured ZoneDirector, it will enter “sulk” state, and will remain in an idle/discover/sulk loop until it receives a response from a pre-configured primary or secondary ZoneDirector.
- If a primary/secondary ZoneDirector IP address has not been configured on the AP, the AP next attempts to build a list of candidate ZoneDirectors by sending an L3 discovery request (IPv4 subnet broadcast/IPv6 multicast packet) to each candidate address received from DHCP and DNS at the same time, and waits for a response from any ZoneDirector that can respond.
- If the AP receives a response from a single ZoneDirector device, it will attempt to register with that ZoneDirector device.
- If the AP receives responses from multiple ZoneDirector devices, it will attempt to register with the ZoneDirector that it previously registered with (if any).
- If this is the first time that the AP is registering with ZoneDirector, it will attempt to register with the ZoneDirector device that has the lowest AP load. The AP computes the load by subtracting the current number of APs registered with ZoneDirector from the maximum number of APs that ZoneDirector is licensed to support.
If the AP does not receive a response from any ZoneDirector device on the network, it goes into idle mode. After a short period of time, the AP will repeat this discovery cycle until it successfully registers with a ZoneDirector.