Open the lab

[ YOUR LAB FILE ]

Download the starting topology, then work through the lesson in SwitchLab.

Download SwitchLab Lab (.swlab)

  1. Save the .swlab file without renaming its extension.
  2. Open SwitchLab. Import and export controls currently require a desktop-width window. On a smaller screen, Tools → Fit brings the topology into view.
  3. Select Import Sandbox (folder icon), choose the downloaded file, and confirm the device and cable counts below.
  4. Select a device, then choose Open device on desktop or its name in the bottom bar on smaller screens. Select CLI for switches/routers or Desktop → Terminal for PCs. Enter enable only when the prompt ends in >.
  5. Follow this page beside the simulator. Use a free account to export your work. Reimport the original download to restart; export any work you want to keep first.

Prerequisites

  • Read interface status, routing tables, and IOS running configuration.
  • Understand OSPF process IDs, router IDs, area 0, and passive interfaces.
  • Complete the static routing lab or demonstrate equivalent routing knowledge.

Follow the CCNA study path · Browse all SwitchLab labs

Topology

Advertise LANs over an Existing OSPF Link: actual imported SwitchLab starting topology.
Starting topology captured in SwitchLab. Select the image to view it at full size.

4 devices · 3 links

Scenario

The WAN team has commissioned the router-to-router OSPF link. The LAN team now needs both office subnets reachable. Neighbors already show FULL, but neither remote LAN appears in the routing table. Complete the LAN routing handoff without replacing the working WAN setup.

Objectives

  • Explain why FULL adjacency alone does not guarantee remote LAN reachability.
  • Enable OSPF advertisement for each local /24 LAN without enabling LAN neighbor exchanges.
  • Verify remote prefixes, next hops and bidirectional delivery.

CCNA blueprint

200-301 v1.1 objectives — this lab covers the following specific skills, not every subtopic in the domain.

  • 3.4.a — Troubleshoot single-area OSPFv2 neighbor adjacency.
  • 3.4.d — Identify peers by router ID.
  • 3.1.a — Distinguish OSPF-learned routes from connected routes.

Starting information

  • Process 1, router IDs 1.1.1.1 and 2.2.2.2, and transit area 0 are already configured.
  • Only the transit subnet participates in OSPF. The two workstation LANs are intentionally not yet advertised.
  • Both LAN interfaces must stay passive. Retain all router IDs, interface addresses, transit network statements and cabling.
HostIPv4 addressMaskGateway
PC110.10.10.10255.255.255.010.10.10.1
PC210.20.20.20255.255.255.010.20.20.1
RouterInterfaceIPv4 addressMask
R1g0/010.10.10.1255.255.255.0
R1g0/110.0.12.1255.255.255.252
R2g0/010.20.20.1255.255.255.0
R2g0/110.0.12.2255.255.255.252
Device / portDevice / port
PC1 / eth0R1 / g0/0
R1 / g0/1R2 / g0/1
PC2 / eth0R2 / g0/0

Tasks

  1. Verify that the routers are FULL neighbors before making changes. Compare the routing tables with the required LAN prefixes.
  2. Advertise 10.10.10.0/24 from R1 and 10.20.20.0/24 from R2 in area 0. Preserve passive g0/0 on both routers.
  3. Do not add static routes or advertise an unnecessarily broad address range. Document which local interfaces your network statements match.
  4. Prove both O-coded remote LAN routes and both workstation directions. Explain what changed even though the neighbor relationship was already healthy.

Useful commands

show ip interface brief
show ip ospf neighbor
show ip ospf interface brief
show ip route
show running-config
copy running-config startup-config

Progressive hints

Hint 1

Inspect prefixes, not just neighbors. A routing relationship can be healthy while a needed local interface is outside OSPF.

Hint 2

The OSPF network command selects local interfaces by address and wildcard. Add each LAN to the existing process.

Hint 3

A /24 uses wildcard 0.0.0.255. Passive-interface g0/0 suppresses Hellos; it does not remove the matching LAN advertisement.

Verification

  • Neighbors are FULL both before and after the change.
  • Before the change neither remote LAN is learned, and workstation pings between sites fail.
  • Afterward R1 learns 10.20.20.0/24 and R2 learns 10.10.10.0/24 through OSPF.
  • Both workstation directions succeed and each g0/0 remains passive.

Solution / walkthrough

Show Solution

Use enable only from a > prompt; if already at #, begin with configure terminal.

R1

The new statement matches the local LAN interface. Existing passive configuration prevents neighbor exchange on that LAN without preventing its prefix from being learned remotely.

enable
configure terminal
router ospf 1
network 10.10.10.0 0.0.0.255 area 0
end
copy running-config startup-config

R2

The new statement matches the local LAN interface. Existing passive configuration prevents neighbor exchange on that LAN without preventing its prefix from being learned remotely.

enable
configure terminal
router ospf 1
network 10.20.20.0 0.0.0.255 area 0
end
copy running-config startup-config

Run every verification check above after the changes. A saved configuration alone does not prove packet delivery.

Previous lab

Build Your First OSPF Neighbor Relationship

Related labs

Related articles and tools

Next recommended lab

OSPF Troubleshooting Lab