cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
488
Views
5
Helpful
2
Replies

Problems with GRE tunnels

Tusune
Level 1
Level 1

Hello,

I'm here because today i've seen something in my topology that seems wrong :

I have 2 routers, each connected to the same vlan, so i've done HSRP on them. On each of them i have 4 GRE tunnels, and i wanted that when on the active HSRP router a tunnel go down, the HSRP priority decrease, but there is my problem : even when i cut links between ends of a GRE tunnel, it don't go down, i can't ping, but when i do a "show int tunnel 1" (for example), tunnel is up and line protocol is up.

 

Am i doing something wrong ? Or is this normal ? If normal, it's possible to make it going down when connectivity don't work ?

 

Thanks in advance.

2 Replies 2

mlund
Level 7
Level 7

Hi

Long time since i worked with tunnels, but i think ther where a command like "tunnel keepalive".

Without the keepalive the tunnel is up as long the destination is in the routingtable.

/Mikael

Ah thank you, exactly what i needed !

(config)# int tun 0
(config-if)# keepalive x

x is in seconds, so the interval between keepalives

 

Many thanks, it work :)