For When You Can't Have The Real Thing
[ start | index | login ]
start > FortiOS > 5.2 > Dual-WAN Gateway

Dual-WAN Gateway

Created by dave. Last edited by dave, 6 years and 295 days ago. Viewed 1,809 times. #2
[diff] [history] [edit] [rdf]

Rules For Multiple Default Gateways

  1. If the two routes have different Administrative Distance settings, the lowest one wins. Routes with higher Administrative Distance settings are not entered into the routing table and are not usable while interfaces with lower Administrative Distance settings are active.
  2. If the two routes have the same Administrative Distance setting, they go into the routing table in the order that their Priority settings would indicate.
  3. If the two routes have the same Priority settings, it is random as to which route gets put into the table first.
Route order in the table is important, as the firewall will use the first one in the table unless A) there's a better one or B) policy routing and/or ECMP rules dictate otherwise.

You can see the routing table order from the command line:

XXX-FW # get router info routing-table static
S* [10/0] via, wan1
                  [10/0] via yyy.yyy.146.177, wan2, [10/0]

In this example, the WAN1 link will be selected unless there is a policy rule and/or ECMP reason to do otherwise.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt