Create a free account
Topic

OSPF practice labs

41 hands-on OSPF scenarios you build in your own Cisco Modeling Labs instance and grade against the answer key. OSPF configuration and troubleshooting practice for CCNA and CCNP.

A backbone area and one area beside it — the reference wiring for OSPF, not a specific lab.

Included with a subscription

CCNPAdvancedLocked

CCNP DMVPN: Let the Spokes Talk Directly

Store-to-store traffic hairpins through the data centre. Convert the stores to multipoint tunnels and change OSPF so they build tunnels to each other on demand.

58 min3 objectives

CCNPIntermediateLocked

CCNP Site-to-Site VPN: Encrypt a GRE Tunnel

A GRE tunnel already carries OSPF between HQ and the branch, but in clear text across the internet. Protect it with IPsec in transport mode.

45 min3 objectives

CCNPIntermediateFree2026-10-15

CCNP Route Control: Join Two Routing Domains

HQ runs OSPF and the company it bought runs EIGRP. Join them at the boundary router so both sites reach each other.

40 min3 objectives

Free with an account

CCNPAdvancedLocked

CCNP VRF & GRE: Routing Over the Tunnel

The tunnel works, but static routes won't scale. Run OSPF across it, and size its packets so nothing gets dropped.

45 min3 objectives

CCNAIntermediateLocked

CCNA L3 Switching: A New VLAN, End to End

A new building-systems VLAN has been provisioned. Carry it, route it and advertise it so its controllers reach the edge.

46 min3 objectives

CCNAAdvancedLocked

CCNA Break/Fix: The Adjacency That Forms and Never Finishes

A late-night rollback restored configs from before a WAN carrier change. Since then, both branches report OSPF neighbors that appear, start exchanging, and then reset—never reaching FULL. Users at Branch A cannot reach Branch B. Your task is to observe the partial adjacency behavior, isolate why the database exchange never completes, and restore the carrier’s standard everywhere it applies so reachability returns end-to-end.

65 min5 objectives

CCNAIntermediateLocked

CCNA Break/Fix: Both Branches Went Quiet at 02:14

An overnight hardening change reached the core but not the branches. By morning, both OSPF adjacencies to the core were down even though every point-to-point link still pings and no addressing changed. Restore end-to-end reachability by diagnosing what the core and each spoke now disagree about on the carrier-facing transits and finishing the change on the branch ends.

50 min5 objectives

CCNABeginnerFree2026-09-15

CCNA Break/Fix: The Branches the Core Cannot See

Daily CCNA troubleshooting drill: Two branches can ping the core over their transit links, yet the core does not learn any branch routes. Your job is to trace how OSPF is enabled on each device, isolate why the core’s routing table is missing the branch LANs and loopbacks, and bring both branches into the correct OSPF area without changing how the core enables it.

45 min5 objectives

Free with an account

CCNAIntermediateLocked

CCNA Break/Fix: The OSPF Neighbour That Never Forms

A regional retailer's branch lost core access after last night's maintenance window. Users reach their gateway and the routers ping across the transit, but no OSPF neighbour appears and the branch LAN is missing from the core's table. The documented design is OSPF process 1, area 0 on both routers. Restore the adjacency without changing addressing or adding static routes.

55 min5 objectives

CCNAIntermediateLocked

CCNA Foundations: Dual-Stack — Both Protocols, One Network

Build a compact dual-stack enterprise topology where IPv4 is already forwarding end-to-end using OSPFv2. Your task is to bring up IPv6 routing in parallel using OSPFv3 with explicit router-ids, proving that IPv6 control/data planes operate independently from IPv4. Verify both protocols resolve separately and that an IPv4 control-plane failure does not impact IPv6 forwarding.

85 min5 objectives

CCNAAdvancedLocked

CCNA Foundations: OSPF Day 8 — OSPF Troubleshooting Capstone

Advanced CCNA OSPF troubleshooting capstone on Cisco Modeling Labs (CML-Free). A three-router, two-host enterprise-style topology is pre-broken with multiple independent OSPF faults. Your job: diagnose and fix them so adjacencies form across areas and the end hosts can reach each other. The final solution forwards end-to-end and adheres to clean OSPF hygiene.

65 min4 objectives

CCNAIntermediateLocked

CCNA OSPF Day 7: Passive Interfaces + Default Origination

Deploy OSPFv2 across a small branch-to-edge topology, mark user-LAN interfaces passive, and originate a default route at the edge so branch hosts learn O*E2 and can reach an internet-facing host. You will implement, verify, and troubleshoot OSPF passive interfaces and default-information originate.

55 min5 objectives

CCNAIntermediateLocked

CCNA Foundations: OSPF Day 6 — Route Summarization at the ABR

A compact, enterprise-clean, 5-node CML lab that builds on OSPF multi-area design. You will enable OSPF across a small core–ABR–branch topology, advertise multiple branch networks in area 10, and summarize them at the ABR using 'area range'. You will verify that specific inter-area routes are replaced by a single summary in area 0 while preserving end-to-end reachability between hosts.

55 min5 objectives

CCNAIntermediateLocked

CCNA Foundations: OSPF Day 5 — Multi-Area OSPF & the ABR

Build and verify a compact, enterprise-clean multi-area OSPF network with an ABR. Configure area 0 and a non-backbone area, advertise loopbacks and LANs, enforce OSPF hygiene (passive LANs, explicit router-ids), and verify O IA inter-area routes from the endpoints.

55 min5 objectives

CCNAIntermediateLocked

CCNA Foundations: OSPF Day 4 — Cost & Deterministic Path Selection

Build a 5-node triangle OSPF topology with a branch and a data center connected by two paths: a direct link and an indirect path via a core router. Implement OSPFv2 with clean hygiene (router-ids, passive on LANs), then influence path selection by adjusting interface cost so branch-to-DC traffic prefers the core path. Verify the chosen path from the end hosts using traceroute and confirm symmetric routing by validating the reverse path.

55 min5 objectives

CCNAIntermediateLocked

CCNA Foundations: OSPF Day 3 — DR/BDR Election on a Broadcast Segment

Three IOS routers share a true broadcast multi-access segment through a Layer-2 switch. You will deploy OSPFv2, influence the DR/BDR election using interface priorities, and verify full adjacencies to the DR. An alpine client behind RTR-HQ-R3 must reach loopbacks on RTR-HQ-R1 and RTR-HQ-R2 via OSPF-learned routes. The lab emphasizes proper multi-access deployment hygiene (router-ids, passive default, interface selection) and realistic verification from the end host.

45 min4 objectives

CCNABeginnerLocked

CCNA Foundations: OSPF Day 2 — Router IDs & Neighbor States

Build a two-router OSPFv2 lab, assign deterministic router-ids using loopbacks, form a clean adjacency from Down through Exchange to FULL, and verify neighbor state and router-ids. End-to-end reachability is validated from real hosts across an enterprise-clean topology.

48 min5 objectives

CCNABeginnerLocked

CCNA Foundations: OSPF Day 1 — Single-Area Adjacency

Bring up OSPFv2 adjacency between two branch routers over a point-to-point /30, advertise each site’s user LAN and router loopback in area 0, and verify end-to-end pings succeed from the hosts. The baseline ships with addressing and SSH management ready; you will enable and tune OSPF only.

42 min4 objectives

Practicing OSPF on Cisco Modeling Labs

Why it matters, and what these labs cover.

Open Shortest Path First (OSPF) is the link-state IGP at the heart of the CCNA and CCNP exams, and the protocol you're most likely to touch on day one of an enterprise networking job. Reading about LSAs, areas, and the SPF algorithm only takes you so far — OSPF clicks when you watch adjacencies form, break a neighbor relationship on purpose, and trace why a route did or didn't make it into the table.

Every OSPF lab here ships as a free-tier Cisco Modeling Labs topology you build on real Cisco IOS. You'll configure router ospf, advertise networks into the right areas, tune interface cost and reference bandwidth, and verify with show ip ospf neighbor, show ip route ospf, and show ip ospf interface. Scenarios run from a single-area adjacency between two routers up to multi-area designs with an ABR, route summarization, and stub areas — plus deliberate faults (a mismatched area, a passive interface, an MTU or timer mismatch) so you practice the troubleshooting the exam and the job actually test. Upload your export when you finish and it's graded requirement by requirement, so you find out whether your OSPF is genuinely correct, not just whether it looks right.

Frequently asked questions

Do I need my own Cisco CML to run these OSPF labs?

Yes. Each lab is a YAML package built on CML free-tier images. You import it into your own Cisco Modeling Labs instance, build it there, then upload your configuration to be graded.

What OSPF topics do the labs cover?

Single-area adjacencies, multi-area design with an ABR, cost and reference-bandwidth tuning, route summarization, stub and totally-stubby areas, passive interfaces, default-route origination, and common break/fix faults like area, timer, and MTU mismatches.

Are the OSPF labs for the CCNA or the CCNP?

Both. The single-area labs map to the CCNA OSPFv2 objectives; the multi-area, summarization, and troubleshooting labs go into CCNP ENARSI depth. Each lab is tagged by track so you can filter to your level.

Learn OSPF

The theory behind these labs: the study hub, explainers and guides.

Looking for something else? Browse the full lab archive, narrow it to standalone labs, or see today's daily lab.