FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Not applicable
Article Id 192653

Description

This document shows how a user can configure a FortiGate interface to use DHCP (Dynamic Host Configuration Protocol).  DHCP is a way to assign automatically an IP address to a network device.
 
The steps to edit an interface and enable DHCP are shown only for the GUI.

In a FortiGate where an interface IP is assigned by an ISP, DHCP may have to be used.  In these scenarios an ISP will often also provide a Default Route and the DNS settings.


Scope
Applies only to:

  • FortiGate or VDOM in NAT mode
  • FortiGate in Standalone mode (non-HA)


Solution

 

Configuration (GUI) 

 

  1. Log in to the Fortigate

  2. From the navigation pane, go to System > Network

  3. Edit the interface connecting to the ISP, by clicking on the 'edit' icon

  4. Change the addressing mode to DHCP  

  5. Enable “Retrieve default gateway from server.” This will place a default route in the routing table with a distance as shown in the distance field. In this example, the distance is 5.

  6. If the ISP also provides the DNS settings, enable the field "Override internal DNS"
  7. Click OK.

  8. The  "Status" button that will now appear on this page. To refresh this current page and look for the IP information obtained (IP address, default gateway, DNS), click on "Status" again. The IP address can then also be seen from the GUI page.

GUI page : FortiGate Interface to use DHCP

 
 
sotoole_100115_100115-dhcp_interface.jpg
 

 

Contributors