Description | This article describes why two default routes are not active at the same time if two ISPs are configured and one of the ISPs is using DHCP/PPPOE mode while the other is using Manual (Static IP). |
Scope | FortiGate and all supported versions of FortiOS - NAT or transparent mode. |
Solution |
On the FortiGate, when two ISPs are configured only one default will show active if one of the ISPs is configured with either DHCP or PPOE mode.
On the other hand, when 'Addressing mode' is set to Manual, a default route must be created manually under Network -> Static Routes, and the Administrative Distance is set to 10 by default as shown below.
As a result, the default route with an administrative distance of 5 will show as active and the other route will show as inactive because it has a higher administrative distance (10).
FortiGate # get router info routing-table database
Routing table for VRF=0
In this case, it is impossible to access the FortiGate with the public IP address of port1 where the route is not active. To make both routes active, either change the Distance to 10 under Network -> Interfaces -> Port4 or change the Administrative Distance to 5 under Network -> Static Routes.
Note:
|