OSPF Single Area Configuration
Nerd Cafe
Introduction
Open Shortest Path First (OSPF) is a link-state routing protocol used in medium to large networks due to its scalability and fast convergence. In this guide, we will configure Single-Area OSPF in GNS3, step by step, using a practical topology.
Step 1: Network Topology & Scenario
We will use three routers (R1, R2, and R3), all belonging to OSPF Area 0 (Backbone Area).
Network Diagram

R1 connects to R2 using 192.168.12.0/30
R2 connects to R3 using 192.168.23.0/30
All routers will participate in OSPF Area 0
Step 2: Setting Up GNS3
Open GNS3 and create a new project.
Drag and drop three routers (e.g., Cisco 7200 or C3725).
Connect the routers as shown in the diagram using Ethernet links.
Assign IP addresses to interfaces.
Step 3: Configuring IP Addresses
Router R1
Router R2
Router R3
Step 4: Configuring OSPF (Single Area 0)
Router R1
Router R2
Router R3
Step 5: Verify OSPF Configuration
Check OSPF Neighbor Relationships
Run this command on all routers:
Router R1
Router R2
Router R3
Check OSPF Routing Table
Run this command on all routers:
Router R1
Router R2
Router R3
Step 5: Testing Connectivity
Ping from R1 to R3 to test end-to-end reachability:
A successful ping means that OSPF has correctly learned and propagated routes.
Keywords
OSPF, single area, configuration, GNS3, routing, Cisco, neighbor adjacency, link-state, area 0, SPF algorithm, LSAs, network topology, IP addressing, OSPF process, routing table, cost metric, hello packets, DR/BDR, route propagation, troubleshooting, CCNP, CCNA, سیسکو
Last updated