JNCIA-Junos lab 8 of 15
Dynamic routing with OSPF and OSPFv3
Replace the hand-built static routes with OSPF. You bring up adjacencies, read the link-state database, see why the old static routes still win, tune link costs to steer traffic, add IPv6 with OSPFv3, and watch OSPF route around a failure that static routing could not see.
Run this lab
It needs Standard: its 3 nodes are set to 12 vCPU and 15,360 MB in total.
In your workspace: Shared, then JNCIA-Junos JN0-106 guided labs, then 08 - Dynamic routing with OSPF and OSPFv3
- Level
- Intermediate
- Time
- About 60 minutes
- Nodes need
- 12 vCPU, 15,360 MB
- Smallest plan
- Standard
The scenario
The static routes from the last project worked, but every new subnet meant editing three routers, and a fault that left a link up but broken went unnoticed. Ashby Freight is moving to OSPF. One more fact has come to light: the HQ-DEPOT link is a microwave backup with a fraction of the fibre's capacity, so traffic between HQ and DEPOT should normally go through the warehouse.
The addressing is the same as in the static routing lab (see the canvas). A few old static routes are still configured: HQ has 10.4.0.0/24 and 10.2.0.0/24, and WH and DEPOT have default routes.
| Router | Router ID |
|---|---|
| HQ | 192.168.255.1 |
| WH | 192.168.255.2 |
| DEPOT | 192.168.255.4 |
What you’ll practise
- Explain why dynamic routing protocols are used and what OSPF gives you over static routes
- Configure a router ID, OSPF area 0, point-to-point links and passive interfaces
- Verify OSPF with show ospf neighbor, interface, database and route
- Explain route preference when the same prefix is learned from static and OSPF
- Change OSPF costs with reference-bandwidth and interface metrics
- Run OSPFv3 for IPv6 alongside OSPFv2
The tasks
- Why a routing protocol?
- Bring up OSPF in area 0
- Verify OSPF
- Static still wins: route preference
- Make OSPF prefer the fibre
- Add IPv6 with OSPFv3
- Watch OSPF route around a silent failure
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
- HQ
ge-0/0/0to DEPOTge-0/0/0 - HQ
ge-0/0/1to WHge-0/0/0 - WH
ge-0/0/1to DEPOTge-0/0/1 - HQ
ge-0/0/2to HQ-LAN (network) - WH
ge-0/0/2to WH-LAN (network) - DEPOT
ge-0/0/2to DEPOT-LAN (network)
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| HQ | Juniper vJunos-router | vjunosrouter-24.2R1-S2.5 | 4 vCPU, 5,120 MB |
| WH | Juniper vJunos-router | vjunosrouter-24.2R1-S2.5 | 4 vCPU, 5,120 MB |
| DEPOT | Juniper vJunos-router | vjunosrouter-24.2R1-S2.5 | 4 vCPU, 5,120 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
JNCIA-Junos JN0-106 guided labs.Open
08 - Dynamic routing with OSPF and OSPFv3and 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 JNCIA-Junos labs
Related labs in other courses
CloudLabBox is independent of Juniper Networks. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.