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
- 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.
| Router | Router ID | Core LAN (GE0/0/0) | Other interfaces |
|---|---|---|---|
| R1 | 1.1.1.1 | 10.0.123.1/24 | GE0/0/1 192.168.10.1/24 (HQ LAN, PC1) |
| R2 | 2.2.2.2 | 10.0.123.2/24 | GE0/0/1 10.0.23.2/24 (to R3) |
| R3 | 3.3.3.3 | 10.0.123.3/24 | GE0/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.
Every link, as text
- R1
GE0/0/0to CoreLAN (network) - R2
GE0/0/0to CoreLAN (network) - R3
GE0/0/0to CoreLAN (network) - R2
GE0/0/1to R3GE0/0/1 - R1
GE0/0/1to PC1eth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| R1 | Huawei AR1000V router | huaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn | 1 vCPU, 2,048 MB |
| R2 | Huawei AR1000V router | huaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn | 1 vCPU, 2,048 MB |
| R3 | Huawei AR1000V router | huaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn | 1 vCPU, 2,048 MB |
| PC1 | 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
HCIA-Datacom H12-811 guided labs.Open
04 - OSPF in a single areaand 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
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.