JNCIA-Junos lab 7 of 15

Static routing

Join three sites with static routes. You read the routing table, route a summary and a more specific prefix to different places, add a floating backup route that takes over when the main link is cut, compare discard and reject, route IPv6, and see how the routing table becomes the forwarding table.

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 07 - Static routing

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

Ashby Freight now has three sites joined by fibre: head office (HQ), the warehouse (WH) and the depot (DEPOT). Every interface is addressed but there are no routes yet, so each router reaches only its own subnets. The depot's addresses come from 10.4.0.0/22; most of them sit at the depot, but the new depot annex (10.4.3.0/24) was patched into the warehouse router because it is next door.

RouterLoopbackLANLinks
HQ192.168.255.110.1.0.1/24, 2001:db8:1::1/64ge-0/0/0 to DEPOT 172.16.14.1/30, ge-0/0/1 to WH 172.16.12.1/30
WH192.168.255.210.2.0.1/24 and annex 10.4.3.1/24, 2001:db8:2::1/64ge-0/0/0 to HQ 172.16.12.2/30, ge-0/0/1 to DEPOT 172.16.24.1/30
DEPOT192.168.255.410.4.0.1/24 and 10.4.1.1/24, 2001:db8:4::1/64ge-0/0/0 to HQ 172.16.14.2/30, ge-0/0/1 to WH 172.16.24.2/30

IPv6 links use 2001:db8:14::/64, 2001:db8:12::/64 and 2001:db8:24::/64, with the same ::1 / ::2 ends as IPv4.

The routing design:

  • HQ is the hub. It reaches the depot range 10.4.0.0/22 over the HQ-DEPOT fibre, with the warehouse as a backup path, and reaches the annex 10.4.3.0/24 through WH.
  • WH and DEPOT use a default route to HQ. DEPOT has a backup default through WH; WH reaches the depot range over its own link to DEPOT.

What you’ll practise

  • Read inet.0 and inet6.0, and explain Direct, Local and Static routes and their preferences
  • Configure IPv4 and IPv6 static routes and a default route
  • Use a summary route and a more specific route together, and predict the choice with longest match
  • Build a floating static route with qualified-next-hop and a higher preference, and test the fail-over
  • Explain discard and reject next hops
  • Compare the routing table with the forwarding table

The tasks

  1. Read the routing table
  2. Route to the other sites
  3. Longest match decides
  4. A floating backup route
  5. Discard or reject
  6. Route IPv6
  7. Routing table versus forwarding table

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 Static routing3 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 Static routing, 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 07 - Static routing 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.