12-19-2020 06:19 PM
Hi, I recently configured a GRE tunnel between two networks. On one of two sides of the tunnel I have a router with a public IP which refreshes from time to time or when it reboots. I configured the other side of the tunnel with the command tunnel destination "hostname". I noticed that during the configuration, the hostname is resolved and what it is actually configured is the IP. So everytime the public IP is refreshed, the tunnel is closed because the tunnel destination address is wrong.
What is the ideal solution for this problem?
Thank you!
12-19-2020 07:53 PM
Use gre keep alive when the destination is not reachable the tunnel will be down automatic
12-19-2020 08:54 PM
But this solution will also automatically recover the tunnel? Setting the new IP when it is refreshed?
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