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

Run it on Standard from £5 a day

The free demo can’t run it: it has 6 vCPU and 8 GB, and this lab’s nodes need 12 vCPU and 15,360 MB together. Every lab plan includes every guided lab.

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.

RouterRouter ID
HQ192.168.255.1
WH192.168.255.2
DEPOT192.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

  1. Why a routing protocol?
  2. Bring up OSPF in area 0
  3. Verify OSPF
  4. Static still wins: route preference
  5. Make OSPF prefer the fibre
  6. Add IPv6 with OSPFv3
  7. 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.

Topology of Dynamic routing with OSPF and OSPFv33 nodes and 3 networks, 6 links. Every link is listed as text below the diagram.HQWHDEPOTHQ-LANWH-LANDEPOT-LANge-0/0/2ge-0/0/2ge-0/0/2ge-0/0/0ge-0/0/0ge-0/0/1ge-0/0/0ge-0/0/1ge-0/0/1
3 nodes and 3 networks, with the interface names each link uses. On a narrow screen, scroll the diagram sideways.
Nodes in Dynamic routing with OSPF and OSPFv3, with the image each runs and the vCPU and RAM it’s set to
NodeDeviceImage in Add NodeSet to
HQJuniper vJunos-routervjunosrouter-24.2R1-S2.54 vCPU, 5,120 MB
WHJuniper vJunos-routervjunosrouter-24.2R1-S2.54 vCPU, 5,120 MB
DEPOTJuniper vJunos-routervjunosrouter-24.2R1-S2.54 vCPU, 5,120 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 JNCIA-Junos JN0-106 guided labs.

  3. Open 08 - Dynamic routing with OSPF and OSPFv3 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 JNCIA-Junos labs

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