Простая настройка IPSec+GRE+OSPF на Cisco IOS

crypto isakmp policy 10
encr aes
authentication pre-share
group 2
crypto isakmp key 123456 address 10.10.20.1
!
crypto ipsec transform-set IPSEC esp-aes 192 esp-sha-hmac
!
crypto ipsec profile IPSEC
set transform-set IPSEC
!
interface Tunnel0
ip address 10.0.0.1 255.255.255.252
ip ospf 1 area 0
tunnel source FastEthernet0/1
tunnel destination 10.10.20.1
tunnel mode ipsec ipv4
tunnel protection ipsec profile IPSEC
!
interface FastEthernet0/0
description -= LAN =-
ip address 192.168.1.1 255.255.255.0
ip ospf 1 area 0
!
interface FastEthernet0/1
description -= WAN =-
ip address 10.10.10.1 255.255.255.0
!
router ospf 1
log-adjacency-changes
!
ip route 0.0.0.0 0.0.0.0 10.10.10.2 name ISP

11.09.2017 · XDriver · Комментариев нет
Метки:  · Рубрики: Cisco

Написать комментарий

Вы должны войти, чтобы комментировать.