FortiAP
FortiAP devices are thin wireless access points (AP) supporting the latest Wi-Fi technologies (multi-user MIMO 802.11ac Wave 1 and Wave 2, 4x4), as well as 802.11n, 802.11AX , and the demand for plug and play deployment.
zendodg
Staff
Staff
Article Id 397282
Description This article describes the FortiAP DNS discovery method.
Scope FortiAP v7.4.X and beyond
Solution

By default, the FortiAP discovery method is set to auto, which causes the FortiAP to try all discovery methods in sequence until it finds a wireless controller. 

 

Discovery methods=static, DHCP, DNS, FortiAP-Cloud, multicast, and broadcast

 

When FortiAP is turned on, FortiAP can use a DNS query to find a wireless controller.  After v7.4, it will attempt to resolve the DNS of fortinet-capwap-controller.yourdomain

 

In this example, FortiAP will get a domain name mylab.lab.

 

dhcp.JPG

 

With the 'cw_diag -c wtp-cfg' command on FortiAP, the discovery process can be seen (wcfg command gives the same info). In this case, FortiAP is still in the discovery cycle, and  trying with DHCP method 

 

discovery.JPG

 

Once FortiAP starts the DNS method, it will try to get a DNS resolution for fortinet-capwap-controller.mylab.lab  In this example, the DNS is answering that fortinet-capwap-controller.mylab.lab is the IP address 192.168.10.254

 

dnspacket.JPG

 

With the 'cw_diag -c wtp-cfg' command again, FortiAP can show fsm-state (CAPWAP connection state), ac-ip-addr (wireless LAN controller IP), and the discovery method used to get a Wireless Controller. In this case, DNS

 

finalstate.JPG

 

 

In v7.2 and earlier, FortiAP will try to find dns record _capwap-control._udp.example.com. 

Contributors