Created on
06-10-2011
05:32 AM
Edited on
06-03-2025
10:35 PM
By
Anthony_E
Description
This article explains how to configure 'Detect Interface Status for Gateway Load Balancing' when running v4.0 MR3 or v5.0.
Scope
FortiGate v4.0 MR3 and above.
Command 'config router gwdetect' has been removed in FortiOS 5.2 and replaced with 'config system link-monitor'
As mentioned above the command reference to configure interface to detect gateway for FortiOS version 6.2.1 and above is shown in the below example.
FortiGate CLI Reference.
Solution
In v4.0 MR2, the 'Detect Interface Status for Gateway Load Balancing' is an option found on the web-based manager in Network>Interface.
config system interface
edit <interface name>
set detectserver <ping server IP> <--- #updated
set fail-detect enable
set fail-detect-option detectserver
end
To set the detection IP address:
config system link-monitor <--- #updated
edit <interface_name>
set server <Server_IP> <--- #updated
set server-type <static|dynamic> <--- #updated v7.2.0
set protocol {ping |tcp-echo | udp-echo}
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.