Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Cisco 2821 IPSec, can i use a dyndns name as 'set peer'? Dynamic IP IPSec?

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

4 REPLIES
New Member

Re: Cisco 2821 IPSec, can i use a dyndns name as 'set peer'? Dyn

No, you have to do somehting like this:

crypto isakmp key cisco123 address 0.0.0.0 0.0.0.0

New Member

Re: Cisco 2821 IPSec, can i use a dyndns name as 'set peer'? Dyn

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....

New Member

Re: Cisco 2821 IPSec, can i use a dyndns name as 'set peer'? Dyn

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.

New Member

Re: Cisco 2821 IPSec, can i use a dyndns name as 'set peer'? Dyn

I am running 12.3, I believe this command is only available in 12.4 I could be wrong though.

303
Views
0
Helpful
4
Replies
CreatePlease to create content