Implementing Single-Area OSPF

Nerd Caf

Guide

As a Cisco CCNA Instructor, I will guide you through the process of implementing Single-Area OSPF (Open Shortest Path First) with a practical hands-on approach using Cisco Packet Tracer or real hardware.

Scenario:

Imagine you are a network engineer for a small company with three branch offices. You need to configure OSPF in a single area (area 0) to ensure efficient routing between the offices.

Network Topology:

We have 3 routers (R1, R2, and R3) connected in a triangular topology.

  • R1 is connected to R2 via the network 192.168.12.0/30

  • R2 is connected to R3 via the network 192.168.23.0/30

  • R1 is connected to R3 via the network 192.168.13.0/30

  • Each router has a loopback interface representing its unique router ID.

Topology

Step 1: Setup the Network in Packet Tracer

  1. Open GNS3.

  2. Add three routers (R1, R2, R3).

  3. Add three PCs (PC1, PC2, PC3) for testing connectivity.

  4. Connect them as follows:

    • R1 ↔ R2

    • R2 ↔ R3

    • R1 ↔ R3

    • Each router has a loopback interface (for OSPF Router-ID).

Step 2: Configure Basic Settings

Apply basic configurations on all routers.

On R1:

On R2:

On R3:

Step 3: Verify OSPF Configuration

Checking OSPF Neighbors

Run the following command on each router:

  • R1

  • R2

  • R3

Checking OSPF Routing Table

Each router should have OSPF routes learned from other routers.

Testing Connectivity

  • Ping from R1 to R2,3's loopback:

Keywords

OSPF, single-area OSPF, OSPF configuration, OSPF adjacency, OSPF routing, Cisco OSPF, OSPF area 0, OSPF neighbor, OSPF cost, OSPF passive interface, OSPF router ID, OSPF topology, OSPF verification, OSPF troubleshooting, OSPF commands, OSPF network types, OSPF protocol, OSPF metrics, OSPF Packet Tracer, OSPF route table, سیسکو

Last updated