ISP connection load Balancing thru CLI

How to Configure 2 ISP load balancing and detect interface status Solution

In FortiOS v4.0 MR2, the “Detect Interface Status for Gateway Load Balancing” is an option found on the web-based manager in Network>Interface.

Following the release of FortiOS v4.0 MR3 this feature is available only as a CLI command. It can be configured using the following steps.

1. Check on the interface facing the internet whether fail-detect is enabled (by default it is enabled) and that the fail-detect-option is set to detectserver. To enable fail-detect:
config system interface
edit
set fail-detect enable
set fail-detect-option detectserver
end
2. To set the detect IP address:

config router gwdetect
edit <interface_name>
set server <servername1_string>
set protocol {ping |tcp-echo | udp-echo}
end
For example:
config router gwdetect
edit “wan1”
set protocol ping
set server “4.2.2.2”
end

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s