Hello all,
First off, I haven't really ever messed with IPSec before today. Just what I've seen in my books.
I have been messing around in my lab with VPNs on Adtran devices, but I am wanting to do the same with Cisco. I have worked with Adtran for some time now, and after looking though the command reference I was able to get two tunnels up and going. I am now wanting to swap out my "hub" Adtran router with a Cisco 2821 utilizing Fa0/1 as the WAN port but I am having a hard time finding documentation.
Like I said before, I am new to IPSec and the terminology/configuration is still kind of confusing for me. Below is the config of the 1335 I am attempting to convert to 2821.
If anyone could point me to a good source of documentation, "other than stating cisco.com", or break down my config in Cisco's syntax, It would be greatly appreciated.
!! ADTRAN, Inc. OS version 18.02.01.00.E
! Boot ROM version 15.01.B1
! Platform: NetVanta 1335 PoE, part number 1700525E2
!
!
hostname "Router1"
!
clock no-auto-correct-DST
!
ip subnet-zero
ip classless
ip routing
!
ip crypto
!
crypto ike policy 100
initiate main
respond anymode
local-id address 44.44.44.20
peer 44.44.44.35
attribute 1
encryption 3des
hash md5
authentication pre-share
!
crypto ike policy 101
initiate main
respond anymode
local-id address 44.44.44.20
peer 44.44.44.30
attribute 1
encryption 3des
hash md5
authentication pre-share
!
crypto ike remote-id address 44.44.44.30 preshared-key RTR3KEY ike-policy 101 crypto map VPN 20 no-mode-config no-xauth
crypto ike remote-id address 44.44.44.35 preshared-key RTR2KEY ike-policy 100 crypto map VPN 10 no-mode-config no-xauth
!
crypto ipsec transform-set MAIN_TRANS_SET esp-3des esp-md5-hmac
mode tunnel
!
crypto map VPN 10 ipsec-ike
description TO_ROUTER2
match address VPN_TO_RTR2
set peer 44.44.44.35
set transform-set MAIN_TRANS_SET
ike-policy 100
crypto map VPN 20 ipsec-ike
description TO_ROUTER3
match address VPN_TO_RTR3
set peer 44.44.44.30
set transform-set MAIN_TRANS_SET
ike-policy 101
!
vlan 1
name "Default"
!
vlan 5
name "VLAN0005"
!
!
interface switchport 0/1
no shutdown
!
interface switchport 0/2
no shutdown
!
interface switchport 0/3
no shutdown
!
interface switchport 0/4
no shutdown
!
interface switchport 0/5
no shutdown
!
interface switchport 0/6
no shutdown
!
interface switchport 0/7
no shutdown
!
interface switchport 0/8
no shutdown
!
interface switchport 0/9
no shutdown
!
interface switchport 0/10
no shutdown
!
interface switchport 0/11
no shutdown
!
interface switchport 0/12
no shutdown
!
interface switchport 0/13
no shutdown
!
interface switchport 0/14
no shutdown
!
interface switchport 0/15
no shutdown
!
interface switchport 0/16
no shutdown
!
interface switchport 0/17
no shutdown
!
interface switchport 0/18
no shutdown
!
interface switchport 0/19
no shutdown
!
interface switchport 0/20
no shutdown
!
interface switchport 0/21
no shutdown
!
interface switchport 0/22
no shutdown
!
interface switchport 0/23
no shutdown
!
interface switchport 0/24
no shutdown
!
!
interface gigabit-switchport 0/1
no shutdown
switchport access vlan 5
!
interface gigabit-switchport 0/2
no shutdown
!
interface vlan 1
ip address 192.168.1.1 255.255.255.0
ip route-cache express
no shutdown
!
interface vlan 5
ip address 44.44.44.20 255.255.255.0
crypto map VPN
ip route-cache express
no shutdown
!
ip access-list extended VPN_TO_RTR2
permit ip 192.168.1.0 0.0.0.255 172.16.1.0 0.0.0.255
permit ip 10.0.0.0 0.0.0.255 172.16.1.0 0.0.0.255
!
ip access-list extended VPN_TO_RTR3
permit ip 192.168.1.0 0.0.0.255 10.0.0.0 0.0.0.255
permit ip 172.16.1.0 0.0.0.255 10.0.0.0 0.0.0.255
!
ip route 10.0.0.0 255.255.255.0 44.44.44.30
ip route 172.16.1.0 255.255.255.0 44.44.44.35
!
no tftp server
no tftp server overwrite
ip http server
no ip http secure-server
no snmp agent
no ip ftp server
ip ftp server default-filesystem flash
no ip scp server
no ip sntp server
!
!
end