Created on 10-30-2019 08:09 AM Edited on 09-28-2023 08:07 AM By Jean-Philippe_P
Description
This article describes how to configure FortiGate as a DHCP server via both GUI and CLI.
In large environments, it is difficult to assign static IP addresses for each user individually.
Hence, the DHCP server is used to provide dynamic IP to each host in the network.
Solution
A DHCP server provides an address from a defined address range to a client on the network, when requested.
There is a possibility to configure one or more DHCP servers on any FortiGate interface.
A DHCP server dynamically assigns IP addresses to hosts on the network connected to the interface.
The host computers have to be configured to obtain their IP addresses using DHCP.
A FortiGate interface can also be configured as a DHCP relay.
The interface forwards DHCP requests from DHCP clients to an external DHCP server and returns the responses to the DHCP clients.
The DHCP server must have appropriate routing so that its response packets to the DHCP clients arrive at the unit.
Refer to the below steps to configure the FortiGate interface as a DHCP server from GUI.
Step 1: Go to Network -> Interface.
Step 2: On 'Edit the Interface', enable the option 'DHCP Server' and select 'create new'.
Step 3: Give the range (starting and End IP).
Step 4: Provide the Netmask, Default Gateway, and DNS.
Related document:
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.