OSPF Multi-Area Configuration in Cisco: Complete CCNP Practical Lab

OSPF Multi-Area Configuration in Cisco: Complete CCNP Practical Lab
Networking ATN Campus November 09, 2026 35 views

OSPF Multi-Area Configuration in Cisco: Complete CCNP Practical Lab

OSPF (Open Shortest Path First) is one of the most widely used dynamic routing protocols in enterprise networks. As networks grow, administrators can divide an OSPF network into multiple areas to improve scalability and control routing information.

In this CCNP-level practical lab, you will configure a multi-area OSPF network using three Cisco routers, configure Area 0 and Area 10, establish an Area Border Router (ABR), and verify inter-area routing.


1. What Is OSPF Multi-Area?

OSPF is a link-state Interior Gateway Protocol (IGP). Routers running OSPF exchange Link-State Advertisements (LSAs), build a link-state database (LSDB), and use the Shortest Path First (SPF) algorithm to calculate the best routes.

In a small network, all OSPF routers may belong to a single area. In a larger enterprise network, OSPF can be divided into multiple areas.

Why use multiple OSPF areas?

  • Reduce the amount of topology information maintained within an area.
  • Limit the scope of certain routing changes.
  • Improve scalability in larger networks.
  • Support route summarization at area boundaries where the addressing plan permits it.
  • Organize enterprise networks into logical routing domains.

Important: OSPF areas reduce the scope of topology information, but they do not automatically guarantee that every routing update or SPF calculation is eliminated. Design and configuration matter.

2. Understanding OSPF Area 0

Area 0 is known as the backbone area. In a normal multi-area OSPF design, all other areas must connect to Area 0, either directly or through a properly configured virtual link in special cases.

                 OSPF Area 0
              (Backbone Area)

        +----------+       +----------+
        | Router 1 |-------| Router 2 |
        |   ABR    |       | Internal |
        +----+-----+       +----------+
             |
             |
        +----+-----+
        | Router 3 |
        | Internal |
        +----------+
         OSPF Area 10
        

Router 1 connects Area 0 and Area 10. Therefore, it is an Area Border Router (ABR).

3. OSPF Router Roles

Router RoleDescription
Internal RouterAll OSPF-enabled interfaces belong to the same area.
Backbone RouterHas at least one OSPF interface in Area 0.
Area Border Router (ABR)Connects Area 0 to one or more other OSPF areas and maintains area-specific LSDB information.
Autonomous System Boundary Router (ASBR)Redistributes routes from another routing source into OSPF.

4. Lab Requirements

  • Cisco Packet Tracer, GNS3, EVE-NG, or compatible Cisco IOS equipment.
  • Three Cisco routers.
  • Ethernet connections between the routers.
  • Basic understanding of IP addressing and single-area OSPF.

Command availability and interface names vary by router model and IOS release. Use equivalent interfaces if your device does not have the names shown below.

5. Network Topology

                       AREA 0
                 10.0.12.0/30
             G0/0              G0/0
        +----------+        +----------+
        |    R1    |--------|    R2    |
        |   ABR    |        | Internal |
        +----------+        +----------+
         | G0/1                 | G0/1
         |                      |
         |                      |
    AREA 10                AREA 0 LAN
    10.0.13.0/30           192.168.20.0/24
         |
         |
      +----------+
      |    R3    |
      | Internal |
      +----------+
         |
      G0/1
         |
    AREA 10 LAN
    192.168.30.0/24

    R1 LAN: 192.168.10.0/24 (AREA 10)
        

IP Addressing Table

DeviceInterfaceIP AddressOSPF Area
R1G0/010.0.12.1/300
R2G0/010.0.12.2/300
R1G0/110.0.13.1/3010
R3G0/010.0.13.2/3010
R1G0/2192.168.10.1/2410
R2G0/1192.168.20.1/240
R3G0/1192.168.30.1/2410

Connect one PC to each LAN if you want to test end-to-end connectivity. Configure the PCs with the relevant router LAN address as their default gateway.

6. Step 1 – Configure Router 1 (ABR)

R1 connects the backbone Area 0 to Area 10. It also provides the gateway for the 192.168.10.0/24 LAN.

enable
configure terminal

hostname R1

interface gigabitEthernet 0/0
 ip address 10.0.12.1 255.255.255.252
 no shutdown
exit

interface gigabitEthernet 0/1
 ip address 10.0.13.1 255.255.255.252
 no shutdown
exit

interface gigabitEthernet 0/2
 ip address 192.168.10.1 255.255.255.0
 no shutdown
exit

router ospf 10
 router-id 1.1.1.1
 network 10.0.12.0 0.0.0.3 area 0
 network 10.0.13.0 0.0.0.3 area 10
 network 192.168.10.0 0.0.0.255 area 10
 passive-interface gigabitEthernet 0/2
exit

end
write memory
        

Important commands

  • router ospf 10 starts OSPF process 10. The process number is locally significant.
  • router-id 1.1.1.1 assigns a stable OSPF router ID.
  • network statements identify interfaces that participate in OSPF and assign them to areas.
  • passive-interface advertises the connected LAN without sending OSPF Hello packets out of that user-facing interface.

R1 becomes an ABR because it has OSPF-enabled interfaces in both Area 0 and Area 10.

7. Step 2 – Configure Router 2 (Area 0)

R2 belongs to the backbone Area 0. It connects to R1 and advertises its local LAN.

enable
configure terminal

hostname R2

interface gigabitEthernet 0/0
 ip address 10.0.12.2 255.255.255.252
 no shutdown
exit

interface gigabitEthernet 0/1
 ip address 192.168.20.1 255.255.255.0
 no shutdown
exit

router ospf 10
 router-id 2.2.2.2
 network 10.0.12.0 0.0.0.3 area 0
 network 192.168.20.0 0.0.0.255 area 0
 passive-interface gigabitEthernet 0/1
exit

end
write memory
        

8. Step 3 – Configure Router 3 (Area 10)

R3 belongs to Area 10. It connects to R1 and advertises its local LAN.

enable
configure terminal

hostname R3

interface gigabitEthernet 0/0
 ip address 10.0.13.2 255.255.255.252
 no shutdown
exit

interface gigabitEthernet 0/1
 ip address 192.168.30.1 255.255.255.0
 no shutdown
exit

router ospf 10
 router-id 3.3.3.3
 network 10.0.13.0 0.0.0.3 area 10
 network 192.168.30.0 0.0.0.255 area 10
 passive-interface gigabitEthernet 0/1
exit

end
write memory
        

9. Step 4 – Verify OSPF Neighbor Relationships

Run the following command on each router:

show ip ospf neighbor
        

Expected neighbor relationships:

RouterExpected NeighborArea
R1R2 (2.2.2.2)0
R1R3 (3.3.3.3)10
R2R1 (1.1.1.1)0
R3R1 (1.1.1.1)10

On these point-to-point router links, the neighbors should normally reach the FULL state. On broadcast Ethernet segments, DR/BDR election can affect the displayed neighbor states.

10. Step 5 – Verify the OSPF Routing Table

Run this command:

show ip route ospf
        

On R2, the Area 10 networks should appear as inter-area OSPF routes, marked with O IA. For example:

O IA 192.168.10.0/24
O IA 192.168.30.0/24
        

On R3, the Area 0 LAN should be learned as an inter-area route:

O IA 192.168.20.0/24
        

Exact next-hop addresses and metrics depend on the configured interfaces and OSPF costs.

11. Step 6 – Verify the OSPF Database

Use these commands to inspect OSPF information:

show ip ospf
show ip ospf interface brief
show ip ospf database
show ip ospf database router
show ip ospf database summary
        

The OSPF database shows the LSAs known to the router. Compare the database on R1, R2, and R3 to understand how information is maintained across areas.

12. Step 7 – Test End-to-End Connectivity

If you have connected PCs to the LANs, configure their IP addresses and gateways as follows:

PCIP AddressDefault Gateway
PC1192.168.10.10/24192.168.10.1
PC2192.168.20.10/24192.168.20.1
PC3192.168.30.10/24192.168.30.1

From PC1, test the other LANs:

ping 192.168.20.10
ping 192.168.30.10
        

Successful replies confirm that inter-area routing and the return paths are working. If the first ping fails while ARP is being learned, retry it before troubleshooting.

13. OSPF Route Types

Route CodeMeaning
OIntra-area route
O IAInter-area route
O E1OSPF external Type 1 route
O E2OSPF external Type 2 route
O N1NSSA external Type 1 route
O N2NSSA external Type 2 route

These codes help network engineers identify where a route originated and how OSPF learned it.

14. OSPF Troubleshooting

ProblemPossible CauseSolution
Neighbor not formingArea mismatch or IP connectivity issueCheck interface addresses, area IDs, and Hello/dead timers.
Neighbor stuck in INIT or 2-WAYOne-way communication or network-type/DR behaviorCheck Hello packets, network type, and multiaccess design.
Neighbor stuck in EXSTART/EXCHANGEPossible MTU mismatch or database exchange issueCheck interface MTU and OSPF logs.
Inter-area route missingABR or area configuration issueCheck Area 0 connectivity, LSDB, and route filtering.
Interface not participating in OSPFIncorrect network statement or passive configurationCheck wildcard masks and OSPF interface settings.
PC connectivity failsGateway, ACL, or return route issueCheck PC addressing, router routes, and access lists.

15. CCNP-Level Lab Challenges

  1. Add a fourth router inside Area 10 and verify that inter-area routes remain reachable.
  2. Configure a loopback interface on R3 and advertise it into Area 10.
  3. Change the OSPF cost on one link and observe the routing-table changes.
  4. Configure an OSPF passive interface on an additional LAN.
  5. Design an Area 20 connected to Area 0 through another ABR.
  6. Investigate how the LSDB differs between Area 0 and Area 10.
  7. Configure area range summarization at the ABR using a suitable addressing plan.

Conclusion

In this CCNP practical lab, you configured a multi-area OSPF network using three Cisco routers. You learned how Area 0 works, how an ABR connects different areas, how routers form OSPF neighbor relationships, and how inter-area routes appear in the routing table.

Understanding multi-area OSPF is essential for designing and troubleshooting scalable enterprise networks.

Learn Advanced Networking with ATN Campus

Build your networking skills through practical training in:

  • CCNA and CCNP Enterprise
  • Advanced OSPF and EIGRP Routing
  • BGP Configuration and Troubleshooting
  • Advanced Switching and VLANs
  • Network Security and CEH
  • Python for Network Automation
  • Practical Cisco Labs

???? Want to advance your networking career? Visit ATN Campus.

???? Learn Networking.
???? Master Advanced Routing & Switching.
???? Practice with Real Labs.
???? Prepare for CCNP Certifications.
???? Build Your IT Career with ATN Campus.
Document ATN CAMPUS