03-13-2006 11:00 AM - edited 02-21-2020 02:18 PM
Hi
I've got a Linksys Rv042 at a remote site, connected to a standard DSL service (dynamic public IP address) and I've got that RV042 setup to do Dynamic DNS and to also do an IPSec VPN back to my main office which is running an 2821 on a static public ip address. I've got the vpn setup and working between these two devices, but whenever the IP address at the remote site (RV042) changes, the VPN has to be reconfigured on the 2821 (really just the 'set peer' field in the crypto map)....is there anyway to have the 2821 use the dynamic dns name rather than the ip address? I've tried the 'set peer name' in the crypto map, but it does a dns lookup immediately and then populates set peer with the current ip, and then never looks up that name again. Is there any way to do this? Thanks.
Jason Humes
03-13-2006 04:55 PM
No, you have to do somehting like this:
crypto isakmp key cisco123 address 0.0.0.0 0.0.0.0
03-15-2006 08:55 PM
Hi Froggy,
from above command, the request from any IP address which will be accepted, but what should we put the 'Set peer' ip address. Becoz as per the above case notes the ip address of Linksys router is changing all the time.
Please give more info. as I am also having same senario with me....
03-24-2006 02:40 AM
Hi,
you have to configure the "dynamic" keyword in the crypto map after the dns-name of the remote peer.
Example:
set peer myname.dyndns.org dynamic
BUT:
we have currently a problem with the dyndns updates and the cryptop map. Maybe it is a problem, because we have Dynamic Ip Addresses on both sides. But give the example above a try, i don't know if it works finde when one site is static ip addressed.
03-24-2006 06:05 AM
I am running 12.3, I believe this command is only available in 12.4 I could be wrong though.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide