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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

GRE Tunnel - Dynamic IP when tunnel destination


I have configured a GRE tunnel to communicate 2 different locations over internet.

I did it using static IP's using the command tunnel destination x.x.x.x and it worked it but I now these offices don't have static IP form the ISP, now are dynamic and the tunnel is down.

I wonder; Is there a way to add tunnel destination and the make the router check if the domain has a new IP each 5 minutes and update it automatically?



VIP Purple

What kind of devices are

What kind of devices are these?

Are both ends dynamic, or only one?

New Member

Hello,Yes, both ends are

Hello,Yes, both ends are using dynamic IP.

VIP Purple

Here is a good example from

Here is a good example from Cisco on how to do this.

Personally I prefer the older crypto map method, since it has native support for this, while VTI's require a script.

Super Bronze



The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.


In theory, if your devices support scripting, it might do the job.  If you're interested in that approach, post a question in the EEM scripting forum.

Philip asked if both sides used dynamic IPs.  If not, a DMVPN setup supports spokes with dynamic IPs using NHRP.  (Don't know whether you can use NHRP directly for this.)

CreatePlease login to create content