Firewalls and VPNs lab 2 of 16
IOS VTI to a vSRX st0 interface with OSPF over the tunnel
Build a route-based IKEv2 tunnel between a Cisco IOS router and a Juniper vSRX, bind it to st0 in its own security zone, run OSPF across it, and learn the SRX pieces an IOS engineer forgets: zones, host-inbound traffic, policies and the tunnel MTU.
Run this lab
It needs Lite: its 5 nodes are set to 6 vCPU and 6,144 MB in total. That fits the free demo too.
In your workspace: Shared, then Firewalls and VPNs multi-vendor guided labs, then 02 - IOS VTI to a vSRX st0 interface with OSPF over the tunnel
- Level
- Intermediate
- Time
- About 90 minutes
- Nodes need
- 6 vCPU, 6,144 MB
- Smallest plan
- Lite
The scenario
Brightwater Labs runs Cisco at head office. Its new branch came with a Juniper SRX (here a vSRX), already set up for internet access with source NAT. Join the branch to HQ with a route-based IKEv2 tunnel and run OSPF across it, so new subnets at either end are learned automatically.
| Device | Interface | Address | Notes |
|---|---|---|---|
| ISP | Gi0/0 / Gi0/1 | 203.0.113.1/30 / 198.51.100.1/30 | |
| HQ | Gi0/0 / Gi0/1 | 203.0.113.2/30 / 10.1.0.1/24 | Default route to the ISP |
| HQ | Tunnel0 | 172.16.12.1/30 | VTI to the SRX (you create it) |
| HQ-PC | Gi0/0 | 10.1.0.10/24 | |
| SRX-BR | ge-0/0/0 (zone untrust) | 198.51.100.2/30 | Default route to the ISP |
| SRX-BR | ge-0/0/1 (zone trust) | 10.2.0.1/24 | Source NAT trust to untrust |
| SRX-BR | st0.0 (zone vpn) | 172.16.12.2/30 | You create it |
| BR-PC | Gi0/0 | 10.2.0.10/24 |
| Setting | Value |
|---|---|
| IKE SA | IKEv2, AES-256-CBC, SHA-256, DH group 20, 28,800 s, key Brightwater-27 |
| IPsec SA | ESP AES-256-CBC with HMAC-SHA-256-128, PFS group 20, 3,600 s |
| Routing | OSPF area 0 on the tunnel and both LANs (LANs passive) |
What you’ll practise
- Configure SRX IKE and IPsec proposals, policies, a gateway and a route-based VPN bound to st0
- Place st0 in a security zone and allow IKE and OSPF as host-inbound traffic
- Write SRX security policies between the trust and VPN zones
- Match the SRX with an IOS IKEv2 VTI
- Run OSPF over the tunnel and fix an MTU mismatch between vendors
- Verify on both vendors: show security ike security-associations, show security ipsec security-associations, show crypto ikev2 sa, show ospf neighbor
The tasks
- Check the underlay
- IKE and IPsec on the SRX
- Zones, host-inbound traffic and policies
- The IOS end
- OSPF over the tunnel
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-BRge-0/0/0 - HQ
Gi0/1to HQ-PCGi0/0 - SRX-BR
ge-0/0/1to BR-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 |
| HQ-PC | Cisco IOSv | vios-adventerprisek9-m.spa.159-3.m9 | 1 vCPU, 512 MB |
| SRX-BR | Juniper vSRX NextGen template | vsrxng-23.4R2-S3.9 | 2 vCPU, 4,096 MB |
| BR-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
02 - IOS VTI to a vSRX st0 interface with OSPF over the tunneland 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.