Multi-vendor troubleshooting lab 6 of 12
IPsec quick fixes across vendors
Larkfield's head office has three branch tunnels, on Juniper, FortiGate and MikroTik, and none of them passes traffic. Work through the faults engineers meet most often between vendors: selectors, host-inbound traffic, a tunnel with no policy, default proposals, and NAT getting there before IPsec does.
Run this lab
It needs Standard: its 9 nodes are set to 10 vCPU and 9,472 MB in total.
In your workspace: Shared, then Multi-vendor interoperability and troubleshooting guided labs, then 06 - IPsec quick fixes across vendors
- Level
- Advanced
- Time
- About 90 minutes
- Nodes need
- 10 vCPU, 9,472 MB
- Smallest plan
- Standard
The scenario
Larkfield's security team has re-keyed head office's three branch tunnels after an audit, and none of them works. This isn't a build: every tunnel existed before, and the settings below are agreed with the branches. Each fault is one you'll meet on real tickets, and each shows up differently on each vendor. For a longer look at each pairing, see the Firewalls and VPNs multi-vendor course.
| Site | Device | Public address | LAN | PC |
|---|---|---|---|---|
| HQ | HQ (IOS) | 203.0.113.2 | 10.1.0.0/24 | HQ-PC 10.1.0.10 |
| Hull | SRX-HULL (vSRX) | 198.51.100.2 | 10.2.0.0/24 | HULL-PC 10.2.0.10 |
| York | FGT-YORK (FortiGate) | 192.0.2.2 | 10.3.0.0/24 | YORK-PC 10.3.0.10 |
| Goole | CHR-GOOLE (RouterOS) | 198.18.0.2 | 10.4.0.0/24 | GOOLE-PC 10.4.0.10 |
| Tunnel | Type at HQ | IKEv2 | ESP | Key |
|---|---|---|---|---|
| Hull | VTI Tunnel1, 169.254.10.0/30 | AES-256, SHA-256, group 20 | AES-256, SHA-256 | Larkfield-Hull-27 |
| York | VTI Tunnel2, 169.254.20.0/30 | DES, SHA-256, group 14 | DES, SHA-256 | Larkfield-York-27 |
| Goole | Crypto map, 10.1.0.0/24 to 10.4.0.0/24 | AES-256, SHA-256, group 19 | AES-256, SHA-256 | Larkfield-Goole-27 |
Evaluation licence. The FortiGate runs with low-strength encryption only, so its IPsec offers DES and nothing stronger. That is a limit of this image, not a recommendation: production tunnels use AES-256-GCM with DH 19, 20 or 21.
What you’ll practise
- Read IKE and IPsec state on IOS, Junos, FortiOS and RouterOS
- Tell an IKE failure from a CHILD SA failure
- Fix a traffic-selector mismatch between a route-based and a policy-style peer
- Allow IKE to a vSRX, and explain host-inbound traffic
- Explain why a FortiGate tunnel with no firewall policy never negotiates
- Exempt VPN traffic from NAT on IOS and on RouterOS
- Read ESP counters to find an SA that is up but fails its integrity checks
The tasks
- Prepare the Linux hosts
- Which phase failed?
- Hull, nothing answers
- Hull, no CHILD SA
- York, a tunnel nobody uses
- Goole, defaults at the far end
- Goole, NAT got there first
- Goole, up at both ends and still nothing
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
- ISP
Gi0/0to HQGi0/0 - ISP
Gi0/1to SRX-HULLge-0/0/0 - ISP
Gi0/2to FGT-YORKport1 - ISP
Gi0/3to CHR-GOOLEether1 - HQ
Gi0/1to HQ-PCeth0 - SRX-HULL
ge-0/0/1to HULL-PCeth0 - FGT-YORK
port2to YORK-PCeth0 - CHR-GOOLE
ether2to GOOLE-PCeth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| ISP | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| HQ | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| SRX-HULL | Juniper vSRX NextGen template | vsrxng-23.4R2-S3.9 | 2 vCPU, 4,096 MB |
| FGT-YORK | Fortinet FortiGate | fortinet-FGT-v7.0.17.M-build0682 | 1 vCPU, 2,048 MB |
| CHR-GOOLE | MikroTik RouterOS | mikrotik-7.14.2 | 1 vCPU, 256 MB |
| HQ-PC | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| HULL-PC | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| YORK-PC | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
| GOOLE-PC | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
Multi-vendor interoperability and troubleshooting guided labs.Open
06 - IPsec quick fixes across vendorsand 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 Multi-vendor troubleshooting labs
All Multi-vendor troubleshooting labs
Related labs in other courses
CloudLabBox is independent of Arista Networks, Cisco, CompTIA, Fortinet, HPE, Juniper Networks and MikroTik. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.