JNCIA-SEC and JNCIS-SEC lab 8 of 16
VPN troubleshooting with traceoptions
A VPN that has never worked has five faults, one behind another. Use IKE traceoptions and SA output on both ends to find each one, fix it, and leave the firewalls clean.
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 08 - VPN troubleshooting with traceoptions
- Level
- Advanced
- Time
- About 80 minutes
- Nodes need
- 7 vCPU, 10,752 MB
- Smallest plan
- Standard
The scenario
A contractor built the Poole to Falmouth VPN from the design sheet in lab 6 and left. It has never come up. There are five faults between the two firewalls, one behind another: fixing one uncovers the next. Find them from the evidence, comparing both ends with the sheet. Don't retype the configuration.
| 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 |
| Design sheet | 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 | st0.0, 172.16.12.1/30 and .2/30, zone vpn on both ends |
What you’ll practise
- Enable and read IKE traceoptions
- Tell a path or host-inbound problem from a proposal, authentication or phase 2 problem
- Work through a VPN in order: path, phase 1, phase 2, traffic
- Remove debugging when finished
The tasks
- Turn on the evidence
- Work through the faults
- Traffic
- Tidy up
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
08 - VPN troubleshooting with traceoptionsand 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.