JNCIA-SEC and JNCIS-SEC lab 6 of 16
Route-based IKEv2 VPN with st0
Join Poole and Falmouth with a route-based IKEv2 VPN: proposals, policies, gateway, st0 in its own zone, routes and policies, then dead peer detection.
Run this lab
It needs Standard: its 5 nodes are set to 7 vCPU and 10,752 MB in total.
In your workspace: Shared, then JNCIA-SEC and JNCIS-SEC SRX security guided labs, then 06 - Route-based IKEv2 VPN with st0
- Level
- Intermediate
- Time
- About 75 minutes
- Nodes need
- 7 vCPU, 10,752 MB
- Smallest plan
- Standard
The scenario
Hartwell's two sites, Poole (head office) and Falmouth (the yard), both have an SRX and internet access with source NAT. Staff at Falmouth need the Poole file server, and the Poole office needs the Falmouth stock server. You'll join them with a route-based IKEv2 VPN: the tunnel appears as an interface, st0.0, and ordinary routing decides what goes down it.
| Device | Interface | Address | Notes |
|---|---|---|---|
| ISP | Gi0/0 / Gi0/1 | 198.51.100.1/30 / 203.0.113.1/30 | The internet between the sites |
| SRX-HQ | ge-0/0/0 | 198.51.100.2/30 | Zone untrust, default route to the ISP |
| SRX-HQ | ge-0/0/1 | 10.10.10.1/24 | Zone trust, Poole LAN |
| HQ-PC | eth0 | 10.10.10.10/24 | Gateway 10.10.10.1 |
| SRX-BR | ge-0/0/0 | 203.0.113.2/30 | Zone untrust, default route to the ISP |
| SRX-BR | ge-0/0/1 | 10.20.10.1/24 | Zone trust, Falmouth LAN |
| BR-PC | eth0 | 10.20.10.10/24 | Gateway 10.20.10.1 |
| Setting | Value |
|---|---|
| IKE proposal | Pre-shared keys, DH group 20, SHA-256, AES-256-CBC, 28,800 s |
| Pre-shared key | Hartwell-VPN-2027 |
| IPsec proposal | ESP, HMAC-SHA-256-128, AES-256-CBC, 3,600 s, PFS group 20 |
| Tunnel addresses | st0.0: SRX-HQ 172.16.12.1/30, SRX-BR 172.16.12.2/30, zone vpn |
What you’ll practise
- Build IKE and IPsec configuration in layers
- Bind a VPN to st0 and place it in a zone
- Allow IKE with host-inbound traffic
- Route traffic through the tunnel and write policies for it
- Verify SAs, counters and real traffic
- Add dead peer detection
The tasks
- Check the underlay
- IKE, phase 1
- IPsec, phase 2
- st0, zones, host-inbound and routes
- Policies
- Verify, and see the traffic
- Notice a dead peer
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-HQ
ge-0/0/0to ISPGi0/0 - SRX-BR
ge-0/0/0to ISPGi0/1 - SRX-HQ
ge-0/0/1to HQ-PCeth0 - SRX-BR
ge-0/0/1to BR-PCeth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| ISP | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| SRX-HQ | Juniper vSRX NextGen template | vsrxng-24.4R1.9 | 2 vCPU, 4,096 MB |
| SRX-BR | Juniper vSRX NextGen template | vsrxng-24.4R1.9 | 2 vCPU, 4,096 MB |
| HQ-PC | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 1,024 MB |
| BR-PC | 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
06 - Route-based IKEv2 VPN with st0and 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.