cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4726
Views
0
Helpful
4
Replies

GRE Tunnel - Dynamic IP when tunnel destination

Manuel Nin
Level 1
Level 1

Hi,

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 host3534.dyndns.org and the make the router check if the domain has a new IP each 5 minutes and update it automatically?

Thanks,

Manuel

4 Replies 4

Philip D'Ath
VIP Alumni
VIP Alumni

What kind of devices are these?

Are both ends dynamic, or only one?

Hello,Yes, both ends are using dynamic IP.

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

http://www.cisco.com/c/en/us/support/docs/security-vpn/ipsec-architecture-implementation/118048-technote-ipsec-00.html

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

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

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.

Posting

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card