CCNA lab 20 of 46
Single-area OSPFv2 from adjacency to path cost
Replace static routes in a four-router ring with OSPFv2: enable it two ways, fix the router IDs, silence the LANs, make the links point-to-point, steer traffic with cost and advertise a default route from the Internet edge.
Run this lab
It needs Lite: its 6 nodes are set to 6 vCPU and 6,144 MB in total. That fits the free demo too.
In your workspace: Shared, then CCNA 200-301 guided labs, then 20 - Single-area OSPFv2 from adjacency to path cost
- Level
- Intermediate
- Time
- About 60 minutes
- Nodes need
- 6 vCPU, 6,144 MB
- Smallest plan
- Lite
The scenario
Westmoor Housing's four routers form a ring: the office LAN behind R1, the data centre LAN behind R4, and R4 also connects to the Internet. Static routes have become unmanageable, so you'll move the whole network to OSPFv2, single area 0, and then tune it so that traffic between the two LANs prefers the R2 path.
| Router | Interfaces | Loopback0 / router ID |
|---|---|---|
| R1 | Gi0/0 10.0.12.1/30 (R2), Gi0/1 10.0.13.1/30 (R3), Gi0/2 10.20.1.1/24 (PC1) | 10.255.255.1 / 1.1.1.1 |
| R2 | Gi0/0 10.0.12.2/30 (R1), Gi0/1 10.0.24.1/30 (R4) | 10.255.255.2 / 2.2.2.2 |
| R3 | Gi0/0 10.0.13.2/30 (R1), Gi0/1 10.0.34.1/30 (R4) | 10.255.255.3 / 3.3.3.3 |
| R4 | Gi0/0 10.0.24.2/30 (R2), Gi0/1 10.0.34.2/30 (R3), Gi0/2 10.20.4.1/24 (PC2), Lo1 203.0.113.4/24 (Internet) | 10.255.255.4 / 4.4.4.4 |
R4 already has a static default route (to Null0, standing in for the ISP). PC1 is 10.20.1.10 and PC2 10.20.4.10.
What you’ll practise
- Explain OSPF neighbour states, the LSDB and SPF
- Enable OSPF with network statements and with interface commands
- Set router IDs and explain how they are chosen
- Use passive interfaces and the point-to-point network type
- Tune cost with the reference bandwidth and an interface cost, and originate a default route
The tasks
- Enable OSPF with network statements (R1 and R2)
- Enable OSPF on the interfaces (R3 and R4)
- Understand router IDs
- Silence the LANs with passive interfaces
- Use the point-to-point network type
- Fix the cost and steer the traffic
- Advertise the default route
The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.
Topology and devices
The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.
Every link, as text
- R1
Gi0/0to R2Gi0/0 - R1
Gi0/1to R3Gi0/0 - R2
Gi0/1to R4Gi0/0 - R3
Gi0/1to R4Gi0/1 - R1
Gi0/2to PC1eth0 - R4
Gi0/2to PC2eth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| R1 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 1,024 MB |
| R2 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 1,024 MB |
| R3 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 1,024 MB |
| R4 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 1,024 MB |
| PC1 | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
| PC2 | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
CCNA 200-301 guided labs.Open
20 - Single-area OSPFv2 from adjacency to path costand start its nodes, then open Lab Tasks for the scenario and the steps.
The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.
More CCNA labs
Related labs in other courses
CloudLabBox is independent of Cisco. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.