Конфиг:
!
crypto isakmp policy 1
encr aes
authentication pre-share
group 2
crypto isakmp key password address 203.0.113.2
!
crypto ipsec transform-set ESR esp-aes esp-sha-hmac
!
crypto ipsec profile IPsec_profile
set transform-set ESR
!
interface Tunnel2
ip address 192.0.2.2 255.255.255.252
ip ospf network broadcast
ip ospf 1 area 0
tunnel source 203.0.113.6
tunnel mode ipsec ipv4
tunnel destination 203.0.113.2
tunnel protection ipsec profile IPsec_profile
!
interface FastEthernet0/0
ip address 203.0.113.6 255.255.255.252
speed auto
full-duplex
!
ip route 203.0.113.0 255.255.255.252 203.0.113.5
|