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.
sselvam
Staff
Staff
Article Id 189436

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.


 

Contributors