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

Try it free for 30 minutesRun it on Lite from £3 a day

The free demo needs no card and no email. Every lab plan includes every guided lab.

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.

RouterInterfacesLoopback0 / router ID
R1Gi0/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
R2Gi0/0 10.0.12.2/30 (R1), Gi0/1 10.0.24.1/30 (R4)10.255.255.2 / 2.2.2.2
R3Gi0/0 10.0.13.2/30 (R1), Gi0/1 10.0.34.1/30 (R4)10.255.255.3 / 3.3.3.3
R4Gi0/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

  1. Enable OSPF with network statements (R1 and R2)
  2. Enable OSPF on the interfaces (R3 and R4)
  3. Understand router IDs
  4. Silence the LANs with passive interfaces
  5. Use the point-to-point network type
  6. Fix the cost and steer the traffic
  7. 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.

Topology of Single-area OSPFv2 from adjacency to path cost6 nodes, 6 links. Every link is listed as text below the diagram.R1R2R3R4PC1PC2Gi0/2eth0Gi0/2eth0Gi0/0Gi0/0Gi0/1Gi0/0Gi0/1Gi0/0Gi0/1Gi0/1
6 nodes, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in Single-area OSPFv2 from adjacency to path cost, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
R1Cisco IOSvvios-adventerprisek9-m.SPA.159-3.M61 vCPU, 1,024 MB
R2Cisco IOSvvios-adventerprisek9-m.SPA.159-3.M61 vCPU, 1,024 MB
R3Cisco IOSvvios-adventerprisek9-m.SPA.159-3.M61 vCPU, 1,024 MB
R4Cisco IOSvvios-adventerprisek9-m.SPA.159-3.M61 vCPU, 1,024 MB
PC1VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB
PC2VPCS hostBuilt in to EVE-NGCounted as 1 vCPU, 1,024 MB

How to open this lab

  1. Sign in to your workspace at lab.cloudlabbox.com.

  2. In File Manager, open Shared, then the folder CCNA 200-301 guided labs.

  3. Open 20 - Single-area OSPFv2 from adjacency to path cost and 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

All 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.