Firewalls and VPNs lab 1 of 16
IKEv2 between IOS routers - crypto map then VTI
Connect a depot to HQ with a policy-based IKEv2 crypto map and a shop with a route-based virtual tunnel interface (VTI), using AES-256-GCM and DH group 20, then add a new HQ subnet and see why route-based VPNs replaced crypto maps.
Run this lab
It needs Lite: its 5 nodes are set to 5 vCPU and 2,560 MB in total. That fits the free demo too.
In your workspace: Shared, then Firewalls and VPNs multi-vendor guided labs, then 01 - IKEv2 between IOS routers - crypto map then VTI
- Level
- Intermediate
- Time
- About 75 minutes
- Nodes need
- 5 vCPU, 2,560 MB
- Smallest plan
- Lite
The scenario
Tamar Valley Foods runs its head office (HQ) in Plymouth on a Cisco router. The Exeter depot and a new shop in Truro each have their own internet line and a small router. The ISP carries only the public addresses: it has no idea where 10.x.x.x lives, so today HQ-PC cannot reach either site.
You will join both sites to HQ with IKEv2. The depot gets the classic policy-based design, a crypto map, because that is what most existing networks still run. The shop gets the modern route-based design, a virtual tunnel interface. Then HQ's new voice subnet has to reach both sites, and you will see for yourself which design is easier to live with.
| Device | Interface | Address | Notes |
|---|---|---|---|
| ISP | Gi0/0, Gi0/1, Gi0/2 | 203.0.113.1/30, 198.51.100.1/30, 192.0.2.1/30 | Public addresses only |
| HQ | Gi0/0 | 203.0.113.2/30 | Internet, default route to .1 |
| HQ | Gi0/1 | 10.1.10.1/24 | Office LAN (HQ-PC 10.1.10.10) |
| HQ | Loopback20 | 10.1.20.1/24 | New voice subnet |
| HQ | Tunnel1 | 172.16.13.1/30 | VTI to SHOP (you create it) |
| DEPOT | Gi0/0 / Loopback10 | 198.51.100.2/30 / 10.2.10.1/24 | Loopback10 stands in for the depot LAN |
| SHOP | Gi0/0 / Loopback10 | 192.0.2.2/30 / 10.3.10.1/24 | Loopback10 stands in for the shop LAN |
| SHOP | Tunnel1 | 172.16.13.2/30 | VTI to HQ (you create it) |
Tamar's crypto standard:
| Setting | Value |
|---|---|
| IKE SA (phase 1) | IKEv2, AES-256-GCM, PRF SHA-384, DH group 20 (ECP-384) |
| Authentication | Pre-shared keys: depot Tamar-Depot-26, shop Tamar-Shop-26 |
| IPsec SA (phase 2) | ESP AES-256-GCM, PFS group 20, tunnel mode, 3,600 s |
| Depot traffic | 10.1.10.0/24 to and from 10.2.10.0/24 (crypto map) |
| Shop traffic | Anything routed into Tunnel1 (VTI) |
What you’ll practise
- Build reusable IKEv2 building blocks on IOS: proposal, policy, keyring and profiles
- Configure a policy-based VPN with a crypto ACL and a crypto map
- Configure a route-based VPN with an IPsec profile and a static VTI
- Choose modern algorithms: AES-256-GCM, a PRF, DH group 20 and PFS
- Compare the traffic selectors of both designs with show crypto session and show crypto ipsec sa
- Add a subnet to both VPNs and explain the difference in effort
The tasks
- Check the underlay
- IKEv2 building blocks on HQ
- Policy-based VPN to the depot (crypto map)
- Route-based VPN to the shop (VTI)
- HQ's new voice subnet
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 DEPOTGi0/0 - ISP
Gi0/2to SHOPGi0/0 - HQ
Gi0/1to HQ-PCGi0/0
| 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 |
| DEPOT | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| SHOP | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| HQ-PC | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 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
Firewalls and VPNs multi-vendor guided labs.Open
01 - IKEv2 between IOS routers - crypto map then VTIand 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 Firewalls and VPNs labs
Related labs in other courses
CloudLabBox is independent of Check Point, Cisco, CompTIA, Fortinet, Juniper Networks, MikroTik, Netgate and Palo Alto Networks. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.