Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
New Contributor

FortiAP cant discover AC on FortyCloud

Hay all,


  • I have 2 FortiAP221e.
  • I have register them on my Fortilan network using their FortiAP cloud key.
  • AP have access to the internet ( I can ping through CLI)

BUT they cant find the Controller on the FortiLan. The status of the device appearing in the GUI of the aps :  AC Discovery Status: Discovering AC 


Am I doing anything wrong?


thank you in advance,

Dimitris Paraskevas


Hello Dimitris,
Refer the below if this helps  to solve your issue

There are six methods that a FortiAP unit can use to discover a WiFi controller.

1(static) → 2(dhcp) → 3(dns) → 7(forticloud) → 5(multicast) → 6(broadcast)

Static IP configuration:

To specify the controller’s IP address on a FortiAP unit:
cfg –a AC_IPADDR_1=""
To configure Static IP on AP:
cfg –a AP_IPADDR=""
cfg -a AP_NETMASK=""
cfg –a IPGW=
cfg -c


When configuring the DHCP server, configure Option 138 to specify the WiFi controller IP address.

Convert the address into hexadecimal. Convert each octet value separately from left to right and concatenate them. For example, converts to C0A80001.

The following is the command to change the FortiAP DHCP option code. In this example, the command use option code 140:


For the access point to do so, configure the DNS to return controller IP addresses in response.

Allow DNS lookup of the hostname configured in the AP by using the AP parameter "AC_HOSTNAME_1".


The access point can discover FortiCloud by doing a DNS lookup of the hardcoded FortiCloud AP controller hostname "".

FortiCloud AC discovery technique finds the AC info from using HTTPS.

FortiCloud APController:

Multicast request:

The AP unit sends a multicast discovery request and the controller replies with a unicast discovery response message.

The AP and the controller do not need to be in the same broadcast domain if multicast routing is properly configured.

The default multicast destination address is It can be changed through the CLI. The address must be same on the controller and AP.

To change the multicast address on the controller:
config wireless-controller global
    set discovery-mc-addr
To change the multicast address on a FortiAP unit:

Broadcast request:

The AP unit broadcasts a discovery request message to the network and the controller replies.

The AP and the controller must be in the same broadcast domain. No configuration adjustments are required.



EMEA TAC Engineer

thank you for your reply, 


ok i can understand the discovery types.

I want to use the forticloud.

Is there any configuration i have to make into the AP so it will find the controller or does it search automatically for it?


Update: I haven't changed anything but sometimes it shows me 
Discovered AC with FortiCloud Account:



But they still offline on my network managment in fortilan cloud.


The above status shows just for a momment and then this appear:

Discovering AC ... (Next cloud request in 1434 minutes)


New Contributor

the suggest did not work for me.

I am adding APs on to a new account. Does it mater in this case?

Maybe the account cant be found?

New Contributor

Hi, I'm a new too ! Unfortunately, I was unable to benefit from the suggest feature. I'm now accumulating APs to a brand new account. When applied to this scenario, is it relevant. Perhaps there is no trace of the account.



word hurdle

Top Kudoed Authors