Octet

Compare crypto maps with virtual tunnel interfaces. Which would you deploy today?

Show the answer

Say this first

A crypto map is policy-based: it is applied to the physical outside interface and an ACL decides which traffic is encrypted to which peer. A VTI is route-based: a tunnel interface with tunnel protection, and anything routed into it is encrypted. I would deploy VTIs. They run routing protocols, take per-tunnel QoS, ACLs and NAT, use one simple any-to-any selector, and show up in the routing table and interface counters like any link. Crypto maps stay for interop with peers that only do policy-based VPNs.

Go deeper

Crypto mapStatic VTI
Modelpolicy-basedroute-based
What gets encryptedtraffic matching the crypto ACLtraffic routed into the tunnel
Routing protocolsno (needs GRE)yes
Selectorsone SA pair per ACL lineone pair, 0.0.0.0/0 both sides
MonitoringSA countersinterface counters, SNMP, line protocol
Failoverseveral set peer entries plus DPDrouting over two tunnels

Crypto map

Cisco IOS
crypto map VPNMAP 10 ipsec-isakmp
 set peer 203.0.113.2
 set transform-set TS-AES256
 match address VPN-TRAFFIC
interface GigabitEthernet0/0/0
 crypto map VPNMAP

VTI

Cisco IOS
interface Tunnel0
 ip address 172.16.12.1 255.255.255.252
 tunnel source GigabitEthernet0/0/0
 tunnel mode ipsec ipv4
 tunnel destination 203.0.113.2
 tunnel protection ipsec profile VTI-PROF
ip route 10.2.0.0 255.255.255.0 Tunnel0

Traps

  • Building the VTI and forgetting the route. Nothing is encrypted until the remote prefixes point into the tunnel.
How did you do?Book 8.5 Example Systems