OSPF Default Route

An OSPF default route lets the edge router advertise a single 0.0.0.0/0 path into the OSPF area. This lesson shows how to configure and verify its distribution across internal routers.

  • In most enterprise networks, only one router is connected to the Internet. This router knows how to reach all external destinations.

    Instead of configuring a static default route (0.0.0.0/0) on every internal router, we can define it once on the edge router (R1) and then inject it into the OSPF domain.

    OSPF default route injection topology with R1 connected to the Internet and R2 and R3 in Area 0

    Figure 1 - OSPF used to demonstrate OSPF Default Route

    This approach ensures that internal routers like R2 and R3 can dynamically learn the default route via OSPF, and forward any unknown traffic toward R1, which acts as the gateway to the Internet.

    Answer the question below

    What prefix represents the default route?