Description
This article describes how to advertise a default route in OSPF.
Solution
Default route can be advertised into OSPF by an ASBR and option is disabled by default.
Default route will be advertised as External routes with a default cost of 10 and default metric-type E2.
The router has to have a default route in the routing table (not coming from OSPF) in order to advertise it into OSPF, otherwise 'always' keyword can be used.
Following syntax is used to advertise a default route in OSPF on a FortiGate.


This article describes how to advertise a default route in OSPF.
Solution
Default route can be advertised into OSPF by an ASBR and option is disabled by default.
Default route will be advertised as External routes with a default cost of 10 and default metric-type E2.
The router has to have a default route in the routing table (not coming from OSPF) in order to advertise it into OSPF, otherwise 'always' keyword can be used.
Following syntax is used to advertise a default route in OSPF on a FortiGate.
# config router ospfAvailable options are as below:
(ospf) set default-information-originate <option>
enable Enable setting. -----> This will send a default route if FortiGate has one in routing table
always Always advertise the default router. -----> This will always send a default route.
disable Disable setting.

To configure the same on GUI , follow Network -> OSPF -> Advanced Options as below.
