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
- 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.
| Router | Loopback | LAN | Links |
|---|---|---|---|
| HQ | 192.168.255.1 | 10.1.0.1/24, 2001:db8:1::1/64 | ge-0/0/0 to DEPOT 172.16.14.1/30, ge-0/0/1 to WH 172.16.12.1/30 |
| WH | 192.168.255.2 | 10.2.0.1/24 and annex 10.4.3.1/24, 2001:db8:2::1/64 | ge-0/0/0 to HQ 172.16.12.2/30, ge-0/0/1 to DEPOT 172.16.24.1/30 |
| DEPOT | 192.168.255.4 | 10.4.0.1/24 and 10.4.1.1/24, 2001:db8:4::1/64 | ge-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/22over the HQ-DEPOT fibre, with the warehouse as a backup path, and reaches the annex10.4.3.0/24through 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
- Read the routing table
- Route to the other sites
- Longest match decides
- A floating backup route
- Discard or reject
- Route IPv6
- 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.
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
07 - Static routingand 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.