Hello,

Hello,

I have a very simple setup for ipsec for testing.. however i am unable to form a tunnel at both ends. Getting an error "No peer struct to get peer description"

here is my config for ipsec on

r2:

interface Serial1/0
ip address 1.1.1.2 255.255.255.0
serial restart-delay 0
crypto map R2R1

R2#sho run | s crypto
crypto isakmp policy 1
encr aes
hash md5
authentication pre-share
group 2
crypto isakmp key cisco1 address 1.1.1.1
crypto ipsec transform-set AES ah-sha-hmac esp-aes
crypto map R2R1 10 ipsec-isakmp
set peer 1.1.1.1
set transform-set AES
match address vpn_traffic
crypto map R2R1

Extended IP access list vpn_traffic
10 permit ip 20.20.20.0 0.0.0.255 10.10.10.0 0.0.0.255 log

and my r1

R1#sho run int s1/0
Building configuration...

Current configuration : 102 bytes
!

interface Serial1/0
ip address 1.1.1.1 255.255.255.0
serial restart-delay 0
crypto map R1R2
end

R1#sho run | s crypto
crypto isakmp policy 1
encr aes
hash md5
authentication pre-share
group 2
crypto isakmp key cisco1 address 1.1.1.2
crypto ipsec transform-set AES ah-sha-hmac esp-aes
crypto map R1R2 10 ipsec-isakmp
set peer 1.1.1.2
set transform-set AES
match address vpn_traffic
crypto map R1R2

Extended IP access list vpn_traffic
10 permit ip 10.10.10.0 0.0.0.255 20.20.20.0 0.0.0.255 log

it's connected via serial link. this is a gns lab by the way,. my configuration mirrors each others router but could not do anything. appreciate the assistance.