Fortinet Document Library

Version:

Version:

Version:

Version:

Version:


Table of Contents

FortiWiFi and FortiAP Configuration Guide

Wireless network example with FortiSwitch

This example uses automatic configuration to set up a basic network using a FortiGate <-> FortiSwitch <-> FortiAP topology.

To configure this network, perform the following tasks:

  1. Configure FortiLink on your FortiGate unit.
  2. Physically connect your FortiSwitch to the FortiGate.
  3. Configure a wireless VLAN for your APs.
  4. Connect your FortiAPs to the FortiSwitch and authorize your FortiAPs from the FortiGate.

Configuring FortiLink

FortiLink is a management protocol that enables FortiGates to manage any FortiSwitches connected to the FortiGate. Before connecting the FortiSwitch to the FortiGate unit, ensure the switch controller feature is enabled on the FortiGate. Once the feature is enabled, you can configure the FortiLink interface by assigning FortiGate interfaces as the designated FortiLink port.

Enable the switch controller feature
  1. Go to System > Feature Visibility.
  2. From the Core Features list, enable the Switch Controller toggle.
  3. Click Apply.

    The WiFi & Switch Controller menu option now shows in the FortiGate navigation menu.

Configure the FortiLink interface
  1. Go to (Undefined variable: FortiOSGUIVariables.WiFi Controller > FortiLink Interface).
  2. In the Interface members field, click + and select the interface(s) you want to designate as FortiLink interface members.

    Note: If you do not see any interfaces listed in the Select Entries pane, it means there are no available unused or unreferenced physical interfaces and you must free up an interface from other configurations.

  3. Configure the IP/Network Mask for your network.
  4. Click Apply.

For more detailed instructions, refer to the FortiSwitch Managed Switch guide.

Connecting the FortiSwitch

Some FortiSwitch models provide designated ports for the FortiLink connection, check the hardware manual to see which port is the designated FortiLink port.

Connect the FortiSwitch
  1. Connect the FortiSwitch to the FortiGate unit via the FortiLink interface you assigned earlier.
  2. Go to (Undefined variable: FortiOSGUIVariables.WiFi Controller > Managed FortiSwitch) and locate your switch.

    Note: It may take a few minutes for the switch to show up.

  3. Once the FortiSwitch shows up, right-click the switch and select Authorize.

Configuring a wireless VLAN

Once the FortiSwitch is connected to the FortiGate and authorized, you can use a default VLAN or create a FortiSwitch VLAN to place your FortiAPs in. A new VLAN sub-interface is created under the FortiLink interface, and it will manage the IP address assignment of your FortiAPs.

Create a FortiSwitch VLAN
  1. Go to (Undefined variable: FortiOSGUIVariables.WiFi Controller > FortiSwitch VLANs) and click Create New.
  2. Configure the following fields:

    • Interface Name: Create a name for the VLAN.
    • VLAN ID: Enter a number (1-4094).
    • Role: Select LAN.
  3. Select the Manual Address mode and input an IP/Netmask.
  4. Under Administrative Access, enable Security Fabric Connection and any other access options you want.
  5. Enable DHCP Server. Edit the default address range if needed.
  6. When you finished, click OK.

For more detailed instructions on creating a FortiSwitch VLAN, refer to the FortiSwitch Managed Switch guide.

Once you create a FortiSwitch VLAN, assign the VLAN to the FortiSwitch ports you want to connect a FortiAP to.

Assign a VLAN to a FortiSwitch port
  1. Go to (Undefined variable: FortiOSGUIVariables.WiFi Controller > FortiSwitch Ports) and locate the port you want to connect a FortiAP to.
  2. Click to select the port and click the edit icon in the Native VLAN column to change the VLAN.

    The Select Entries menu loads.

  3. From the Select Entries menu, select the FortiSwitch VLAN you created and click Apply.

Connecting the FortiAP units

After you apply the FortiAP VLAN to a FortiSwitch port, you can connect a FortiAP unit to that FortiSwitch Port. Wait a few minutes for the FortiAP to be recognized, and then authorize the FortiAP.

Connect a FortiAP unit
  1. Connect the FortiAP to the FortiSwitch port you've assigned the FortiAP VLAN.
  2. Go to WiFi & Switch Controller > Managed FortiAPs and wait for the FortiAP unit to be listed.

    Note: Recognition of the FortiAP unit can take up to two minutes, you can periodically click the Refresh button.

  3. When the FortiAP unit is listed, right-click and select Authorize to authorize the unit.

    The FortiAP can now be managed by FortiGate through a FortiSwitch.

Once the FortiAP is connected and authorized by the FortiGate, you can configure SSIDs and attach profiles to allow wireless access to the AP. For instructions on setting up your wireless network, see Wireless network configuration tasks.

Wireless network example with FortiSwitch

This example uses automatic configuration to set up a basic network using a FortiGate <-> FortiSwitch <-> FortiAP topology.

To configure this network, perform the following tasks:

  1. Configure FortiLink on your FortiGate unit.
  2. Physically connect your FortiSwitch to the FortiGate.
  3. Configure a wireless VLAN for your APs.
  4. Connect your FortiAPs to the FortiSwitch and authorize your FortiAPs from the FortiGate.

Configuring FortiLink

FortiLink is a management protocol that enables FortiGates to manage any FortiSwitches connected to the FortiGate. Before connecting the FortiSwitch to the FortiGate unit, ensure the switch controller feature is enabled on the FortiGate. Once the feature is enabled, you can configure the FortiLink interface by assigning FortiGate interfaces as the designated FortiLink port.

Enable the switch controller feature
  1. Go to System > Feature Visibility.
  2. From the Core Features list, enable the Switch Controller toggle.
  3. Click Apply.

    The WiFi & Switch Controller menu option now shows in the FortiGate navigation menu.

Configure the FortiLink interface
  1. Go to (Undefined variable: FortiOSGUIVariables.WiFi Controller > FortiLink Interface).
  2. In the Interface members field, click + and select the interface(s) you want to designate as FortiLink interface members.

    Note: If you do not see any interfaces listed in the Select Entries pane, it means there are no available unused or unreferenced physical interfaces and you must free up an interface from other configurations.

  3. Configure the IP/Network Mask for your network.
  4. Click Apply.

For more detailed instructions, refer to the FortiSwitch Managed Switch guide.

Connecting the FortiSwitch

Some FortiSwitch models provide designated ports for the FortiLink connection, check the hardware manual to see which port is the designated FortiLink port.

Connect the FortiSwitch
  1. Connect the FortiSwitch to the FortiGate unit via the FortiLink interface you assigned earlier.
  2. Go to (Undefined variable: FortiOSGUIVariables.WiFi Controller > Managed FortiSwitch) and locate your switch.

    Note: It may take a few minutes for the switch to show up.

  3. Once the FortiSwitch shows up, right-click the switch and select Authorize.

Configuring a wireless VLAN

Once the FortiSwitch is connected to the FortiGate and authorized, you can use a default VLAN or create a FortiSwitch VLAN to place your FortiAPs in. A new VLAN sub-interface is created under the FortiLink interface, and it will manage the IP address assignment of your FortiAPs.

Create a FortiSwitch VLAN
  1. Go to (Undefined variable: FortiOSGUIVariables.WiFi Controller > FortiSwitch VLANs) and click Create New.
  2. Configure the following fields:

    • Interface Name: Create a name for the VLAN.
    • VLAN ID: Enter a number (1-4094).
    • Role: Select LAN.
  3. Select the Manual Address mode and input an IP/Netmask.
  4. Under Administrative Access, enable Security Fabric Connection and any other access options you want.
  5. Enable DHCP Server. Edit the default address range if needed.
  6. When you finished, click OK.

For more detailed instructions on creating a FortiSwitch VLAN, refer to the FortiSwitch Managed Switch guide.

Once you create a FortiSwitch VLAN, assign the VLAN to the FortiSwitch ports you want to connect a FortiAP to.

Assign a VLAN to a FortiSwitch port
  1. Go to (Undefined variable: FortiOSGUIVariables.WiFi Controller > FortiSwitch Ports) and locate the port you want to connect a FortiAP to.
  2. Click to select the port and click the edit icon in the Native VLAN column to change the VLAN.

    The Select Entries menu loads.

  3. From the Select Entries menu, select the FortiSwitch VLAN you created and click Apply.

Connecting the FortiAP units

After you apply the FortiAP VLAN to a FortiSwitch port, you can connect a FortiAP unit to that FortiSwitch Port. Wait a few minutes for the FortiAP to be recognized, and then authorize the FortiAP.

Connect a FortiAP unit
  1. Connect the FortiAP to the FortiSwitch port you've assigned the FortiAP VLAN.
  2. Go to WiFi & Switch Controller > Managed FortiAPs and wait for the FortiAP unit to be listed.

    Note: Recognition of the FortiAP unit can take up to two minutes, you can periodically click the Refresh button.

  3. When the FortiAP unit is listed, right-click and select Authorize to authorize the unit.

    The FortiAP can now be managed by FortiGate through a FortiSwitch.

Once the FortiAP is connected and authorized by the FortiGate, you can configure SSIDs and attach profiles to allow wireless access to the AP. For instructions on setting up your wireless network, see Wireless network configuration tasks.