OSPF on a FortiGate: learning routes automatically
Sign in to read this lesson
As a network grows, writing every route by hand gets harder. OSPF lets routers tell each other about their networks. In this lesson we learn to configure OSPF on a FortiGate, the conditions for an adjacency and the verification commands.
What you will learn
- OSPF is a dynamic routing protocol: routers form adjacencies, advertise networks to each other and find a new path by themselves when one is lost.
- On a FortiGate OSPF is configured under
config router ospf: the router-id, an area and networks (which interfaces take part in OSPF). - For an adjacency both sides must match on area, subnet and mask, hello/dead timers, authentication and MTU, while the router-id must differ.
- The distance of OSPF routes is 110: if there is a static route (10) to the same network, it wins.
- OSPF only teaches the route. A firewall policy is still needed for traffic to pass.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.