Configuring DHCP for WiFi clients
Wireless clients need to have IP addresses. If you use RADIUS authentication, each user’s IP address can be stored in the Framed-IP-Address attribute. Otherwise, you need to configure a DHCP server on the WLAN interface to assign IP addresses to wireless clients.
To configure a DHCP server for WiFi clients – web-based manager
- Go to WiFi & Switch Controller > SSID and edit your SSID entry.
- In DHCP Server select Enable.
- In Address Range, select Create New.
- In the Starting IP and End IP fields, enter the IP address range to assign.
By default an address range is created in the same subnet as the wireless interface IP address, but not including that address.
- Set the Netmask to an appropriate value, such as 255.255.255.0.
- Set the Default Gateway to Same as Interface IP.
- Set the DNS Server to Same as System DNS.
- If you want to restrict access to the wireless network by MAC address, see Adding a MAC filter on page 51.
- Select OK.
To configure a DHCP server for WiFi clients – CLI
In this example, WiFi clients on the example_wlan interface are assigned addresses in the 10.10.120.2-9 range to connect with the WiFi access point on 10.10.120.1.
config system dhcp server edit 0 set default-gateway 10.10.120.1 set dns-service default set interface example_wlan set netmask 255.255.255.0 config ip-range edit 1 set end-ip 10.10.120.9 set start-ip 10.10.120.2
Having trouble configuring your Fortinet hardware or have some questions you need answered? Ask your questions in the comments below!!! Want someone else to deal with it for you? Get some consulting from Fortinet GURU!