OSPF Example Configuration

This example configuration implements a multi-area OSPF setup using the required information from Example OSPF Configuration.

Assumptions

This example makes a few assumptions for brevity and to keep the example simple, including:

  • The remote peer is already configured for OSPF with equivalent settings.

  • Transit to the peer across a directly attached shared network is already configured, for example over a VPN, shared network segment, or peer-to-peer link.

  • The link to the peer is capable of handling multicast traffic.

  • Firewall rules pass OSPF traffic, which is protocol 89. It is not TCP or UDP. Firewall rules must allow multicast traffic destinations for OSPF, and it cannot be restricted to specific sources and destinations in this example.

Example Configuration

The OSPF configuration must be done in the following order initially. Later changes may be made in any order. This is because a valid OSPF configuration requires Interface tab entries which must exist before the main OSPF settings can be saved.

OSPF Area Configuration

  • Navigate to Services > FRR OSPF, Areas tab

  • Click fa-plus Add to create a new area

  • Set the following options:

    Area:

    0.0.0.0

    Description:

    Backbone

  • Click Save

  • Click fa-plus Add to create a new area

  • Set the following options:

    Area:

    0.0.0.23

    Description:

    Local Area

    Area Type:

    Stub Area (stub)

    Summary Range:

    10.2.0.0/16

  • Click Save

OSPF Interface Configuration

  • Navigate to Services > FRR OSPF, Interfaces tab

  • Click fa-plus Add to create a new interface

  • Set the following options:

    Interface:

    LAN

    Interface is Passive:

    Checked

    Area:

    0.0.0.23

  • Click Save

  • Click fa-plus Add to create a new interface

  • Set the following options:

    Interface:

    OPT1

    Ignore MTU:

    Checked

    Metric:

    10

    Area:

    0.0.0.0

  • Click Save

OSPF Configuration

  • Navigate to Services > FRR OSPF, OSPF tab

  • Set the following options:

    Enable:

    Checked

    Router ID:

    10.2.0.1

    Default Area:

    0.0.0.0

  • Click Save

FRR Global Configuration

  • Navigate to the [Global Settings] tab

  • Set the following options:

    Enable:

    Checked

    Master Password:

    Create a random string to use

  • Click Save

  • Navigate to the Status tab

  • Confirm that the OSPF neighbor is present and its routes are in the table