FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
oarslan
Staff
Staff
Article Id 195789
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.
# config router ospf
(ospf) set default-information-originate <option>
Available options are as below:
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.



Contributors