HCIA-Datacom lab 4 of 22

OSPF in a single area

Replace static routes with OSPF in area 0. You form adjacencies on a shared segment and on a point-to-point link, control the DR election, tune costs to steer traffic, silence a user-facing interface, and fix the classic "loopback advertised as /32" surprise.

Run this lab

It needs Lite: its 4 nodes are set to 4 vCPU and 7,168 MB in total. That fits the free demo too.

In your workspace: Shared, then HCIA-Datacom H12-811 guided labs, then 04 - OSPF in a single area

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
4 vCPU, 7,168 MB
Smallest plan
Lite

The scenario

Northwind's static routes from lab 3 are becoming hard to maintain, so the team is moving to OSPF. HQ (R1), the core (R2) and the branch (R3) share a core Ethernet segment, and R2 and R3 also have a dedicated link between them. Everything is in area 0. You'll bring OSPF up, decide which router is the designated router on the shared segment, and steer traffic with costs.

RouterRouter IDCore LAN (GE0/0/0)Other interfaces
R11.1.1.110.0.123.1/24GE0/0/1 192.168.10.1/24 (HQ LAN, PC1)
R22.2.2.210.0.123.2/24GE0/0/1 10.0.23.2/24 (to R3)
R33.3.3.310.0.123.3/24GE0/0/1 10.0.23.3/24; LoopBack1 192.168.30.1/24 (branch LAN)

Each router's LoopBack0 is its router ID as a /32.

What you’ll practise

  • Enable OSPF with a fixed router ID and network statements with wildcard masks
  • Read display ospf peer brief, display ospf interface and the OSPF routes in the routing table
  • Control DR and BDR election with interface priority
  • Change interface cost to steer traffic, and set a point-to-point network type
  • Use silent-interface on user-facing interfaces

The tasks

  • Task 0: Load the starting configuration
  • Task 1: Enable OSPF on R1 first
  • Concept: DR and BDR
  • Task 2: Choose the DR before OSPF starts
  • Task 3: Check the neighbours
  • Task 4: Look at the routes
  • Concept: loopbacks are host routes
  • Task 5: Advertise the branch LAN properly
  • Concept: cost
  • Task 6: Steer R2's branch traffic onto the dedicated link
  • Task 7: Point-to-point and silent interfaces

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 OSPF in a single area4 nodes and 1 network, 5 links. Every link is listed as text below the diagram.R1R2R3PC1CoreLANGE0/0/0GE0/0/1eth0GE0/0/0GE0/0/0GE0/0/1GE0/0/1
4 nodes and 1 network, with the interface names each link uses.
Nodes in OSPF in a single area, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
R1Huawei AR1000V routerhuaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn1 vCPU, 2,048 MB
R2Huawei AR1000V routerhuaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn1 vCPU, 2,048 MB
R3Huawei AR1000V routerhuaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn1 vCPU, 2,048 MB
PC1VPCS 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 HCIA-Datacom H12-811 guided labs.

  3. Open 04 - OSPF in a single area 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 HCIA-Datacom labs

All HCIA-Datacom labs

Related labs in other courses

CloudLabBox is independent of Huawei. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.