gre tunnel with dynamic IP

Unanswered Question
Jun 18th, 2008

Dear ,

I'm trying to create GRE tunnel between two Cisco 877 routers by using ddns

interface Tunnel1

ip address

tunnel source Dialer1

tunnel destination

The domain name under is resolving immediately to IP and when I do show run tunnel destination is showing me as IP address and this is making problem . Because remote end point for the tunnel is dynamic IP and it's changing everytime . I want to use tunnel destination as domain name and not as IP ? Is there is any way


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
michael.leblanc Wed, 06/18/2008 - 14:38

I would assume that the IP address is changing frequently because you are not keeping the tunnel up.

Perhaps you could keep the tunnel up using GRE Keepalives.


interface Tunnel0

keepalive 5 4

The only time you would likely see a change in IP, would be following a power outage.

Not the perfect solution you are seeking, but it could significantly improve your situation.

hennigan Wed, 06/18/2008 - 15:07


interface tunnel1

ip ddns update

ip address

tunnel source Dialer1

tunnel destination

Also search Cisco docs for "ip ddns" show and debug commands, options.


This Discussion