Created on 02-14-2013 07:18 AM Edited on 08-21-2023 09:22 PM By Anthony_E
Description
This article describes how to manage FortiAP over L3 network with windows server.
If a DHCP is used to assign an IP address to the FortiAP, it is also possible to toprovide the WiFi controller IP address at the same time.
This is useful if the AP is located remotely from the WiFi controller and other discovery techniques will not work.
When the DHCP server is configured, it is possible to configure Option 138 to specify the WiFi controller IP address either on the Fortigate FortiWifi Controller or on an external DHCP server.
To use FortiGate or FortiWifi then use the config below:
If an external DHCP server is used, additional configuration might be required on the DHCP server.
This article explains how to configure the Windows DHCP server to serve the FortiAP with option 138.
On the Windows server, this configuration can be made either using the command line or GUI:
Command line:
C:\WINDOWS\system32>netsh
netsh>dhcp
netsh dhcp>server \\<server_machine_name>
netsh dhcp>add optiondef 138 Capwap IPADDRESS 1 comment=CAPWAP
netsh dhcp>set optionvalue 138 IPADDRESS <A.B.C.D> <E.F.G.H>
netsh dhcp>show optiondef
To define a new option type for use on the DHCP server.
Notes: For parameters, <angle brackets> indicate a required parameter and [braces] an optional parameter. If parameters that require field tags are used, you must provide and use all parameters that precede them in the fully ordered command syntax.
To set a default value for a specified option type at the DHCP server.
GUI configuration:
Screenshots of step by step configuration are attached to this KB article
Scope
Expectations, Requirements:
A Windows DHCP Server must already be configured and running.
Solution
Now, FortiAP knows the IP address of the wireless controller. The CAPWAP control and data port at the FortiGate is the well-known UDP port 5246 and 5247.
If the L3 device is a firewall then make sure it allows the CAPWAP communication.Also, the port of the FortiGate (Wireless controller) that is listening for CAPWAP traffic must have Security Fabric Connection enabled.
Now, the FortiAP is online.
If the network between the FortiAP and FortiGate (wireless controller) is not secure, it is possible to encrypt the data channel as per the commands below:
config wireless-controller wtp-profile
edit "FortiAP-profile-name"
set dtls-policy clear-text|dtls-enabled|ipsec-vpn
next
end
Of the three settings, clear-text
has the highest possible data throughput. Furthermore, FortiGates with hardware acceleration chips can offload CAPWAP data traffic in clear-text
and achieve much higher throughput performance.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.