Description
This article provides information about the dynamic gateway for DHCP/PPPoE type interfaces.
Solution
To route both to be active with static route on the routing-table, enable the below option from the CLI:
First, set the interface to not get the Dynamic Gateway:
# config system interface
edit wan1 (or other port)
set role wan
set defaultgw disable
end
# config router static
edit 1
set dynamic-gateway enable
end
Once enabled, dynamic-gateway hides the gateway variable for a dynamic interface, such as a DHCP or PPPoE interface.
When the interface connects or disconnects, the corresponding routing entries are updated to reflect the change.
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 2023 Fortinet, Inc. All Rights Reserved.