JNCIA-SEC and JNCIS-SEC lab 5 of 16
Routing instances and filter-based forwarding
Send voice traffic out of a second internet line with filter-based forwarding, and keep guests in their own virtual router, joined to the main table by a next-table route and a rib-group.
Run this lab
It needs Lite: its 5 nodes are set to 6 vCPU and 7,168 MB in total. That fits the free demo too.
In your workspace: Shared, then JNCIA-SEC and JNCIS-SEC SRX security guided labs, then 05 - Routing instances and filter-based forwarding
- Level
- Intermediate
- Time
- About 70 minutes
- Nodes need
- 6 vCPU, 7,168 MB
- Smallest plan
- Lite
The scenario
Hartwell's yard at Falmouth has two internet lines. ISP-A is big and cheap, ISP-B is small with very steady latency. The boss wants the phones on ISP-B and everything else on ISP-A. A guest network has to reach the internet without touching the office routing table.
| Device | Interface | Address | Notes |
|---|---|---|---|
| SRX | ge-0/0/0 | 198.51.100.2/30 | Zone untrust, to ISP-A (198.51.100.1) |
| SRX | ge-0/0/1 | 198.51.100.6/30 | Zone untrust, to ISP-B (198.51.100.5) |
| SRX | ge-0/0/2 | 10.10.10.1/24 | Zone trust, office LAN |
| SRX | ge-0/0/3 | 10.10.90.1/24 | Zone guest, guest Wi-Fi (you add it) |
| LAN-PC | eth0 | 10.10.10.10/24, 10.10.10.70/24 | Desktop, and the voice gateway's address |
| GUEST | eth0 | 10.10.90.10/24 | Gateway 10.10.90.1 |
| ISP-A, ISP-B | Loopback0 | 192.0.2.200/32 | The same test address behind both providers |
Each ISP router answers on 192.0.2.200, and each one already has routes back to the 10.10.x.0/24 networks. So the second hop of a traceroute tells you which line your traffic took. No NAT is used here.
What you’ll practise
- Explain forwarding and virtual-router instances
- Share interface routes with a rib-group
- Steer traffic with a firewall filter and routing-instance action
- Join tables with a next-table route and a rib-group
- Keep zones and policy working across instances
The tasks
- Default routing
- A forwarding instance for ISP-B
- The filter
- A virtual router for the guests
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
- SRX
ge-0/0/0to ISP-AGi0/0 - SRX
ge-0/0/1to ISP-BGi0/0 - SRX
ge-0/0/2to LAN-PCeth0 - SRX
ge-0/0/3to GUESTeth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| SRX | Juniper vSRX NextGen template | vsrxng-24.4R1.9 | 2 vCPU, 4,096 MB |
| ISP-A | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| ISP-B | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| LAN-PC | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 1,024 MB |
| GUEST | EVE-NG GUI server (Docker) | eve-gui-server:latest | 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
JNCIA-SEC and JNCIS-SEC SRX security guided labs.Open
05 - Routing instances and filter-based forwardingand 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-SEC and JNCIS-SEC labs
All JNCIA-SEC and JNCIS-SEC labs
Related labs in other courses
CloudLabBox is independent of Cisco and Juniper Networks. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.