Open the lab
[ YOUR LAB FILE ]
Download the starting topology, then work through the lesson in SwitchLab.
- Save the .swlab file without renaming its extension.
- Open SwitchLab. Import and export controls currently require a desktop-width window. On a smaller screen, Tools → Fit brings the topology into view.
- Select Import Sandbox (folder icon), choose the downloaded file, and confirm the device and cable counts below.
- 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
enableonly when the prompt ends in >. - 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.
Topology

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.
| Host | IPv4 address | Mask | Gateway |
|---|---|---|---|
| PC1 | 10.10.10.10 | 255.255.255.0 | 10.10.10.1 |
| PC2 | 10.20.20.20 | 255.255.255.0 | 10.20.20.1 |
| Router | Interface | IPv4 address | Mask |
|---|---|---|---|
| R1 | g0/0 | 10.10.10.1 | 255.255.255.0 |
| R1 | g0/1 | 10.0.12.1 | 255.255.255.252 |
| R2 | g0/0 | 10.20.20.1 | 255.255.255.0 |
| R2 | g0/1 | 10.0.12.2 | 255.255.255.252 |
| Device / port | Device / port |
|---|---|
| PC1 / eth0 | R1 / g0/0 |
| R1 / g0/1 | R2 / g0/1 |
| PC2 / eth0 | R2 / g0/0 |
Tasks
- Verify that the routers are FULL neighbors before making changes. Compare the routing tables with the required LAN prefixes.
- 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.
- Do not add static routes or advertise an unnecessarily broad address range. Document which local interfaces your network statements match.
- 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-configProgressive 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-configR2
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-configRun every verification check above after the changes. A saved configuration alone does not prove packet delivery.