Created on
04-08-2009
01:23 AM
Edited on
09-05-2025
07:42 AM
By
Jean-Philippe_P
Description
Scope
Applies only to:
Solution
Configuration (GUI):
Log in to the FortiGate.
From the navigation pane, go to Network -> Interfaces.
Edit the interface connecting to the ISP by selecting the 'edit' icon.
Change the addressing mode to DHCP.
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.
Select OK.
The 'Status' should change to connected and show the IP information obtained (IP address, default gateway, DNS).
GUI page: FortiGate Interface to use DHCP.
Example configuration in the CLI:
config system interface
edit "port1"
set mode dhcp
set defaultgw enable
set dns-server-override enable
next
end
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 2025 Fortinet, Inc. All Rights Reserved.