cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
570
Views
10
Helpful
3
Replies

Dynamic vpn change ip address issue

soufiane.Max
Level 1
Level 1

hello.

 

I have two routers one with static ip address ( Router A ) and one with dynamic ip address.( Router B )

 

I i setted up a dynamic crypto map on my router A. all is working fine. But when the router B change the ip address after some hours. He can't send traffic when i do sho crypto isakmp sa. I see a tunnel up but no traffic.

I thing a it s ghost tunnel  when i clear the vpn session vpn come back again and work fine until the ip change. 

 

Please do you have a solution to this issue ??

 

Best regards.

 

 

 

 

 

 

1 Accepted Solution

Accepted Solutions

Config keepalivr in peer with dynamic map,

This will make it detect other peer is gone and peer with new ip can establish new isakmp.

View solution in original post

3 Replies 3

Config keepalivr in peer with dynamic map,

This will make it detect other peer is gone and peer with new ip can establish new isakmp.

it worked like a charm but i setted on the both router A and B .

 

Thank you 

Hi 

 What you can do is run a EEM script to restart the tunnel time to time. Better if you know the lease time. 

You can also use FQDN tunnel but you may need some openDNS to track your IP and monitor de IP changes. 

 

Review Cisco Networking for a $25 gift card