07-26-2023 04:37 AM
please note that I confgure VTI and keep alive but the tunnel doesn't go down automaticly,
interface Tunnel29
ip mtu 1400
keepalive 10 3
tunnel mode ipsec ipv4
tunnel protection ipsec profile TNB-BKP_Prof
any advise!
thanks
07-26-2023 04:38 AM
Did you config tunnel source and destiantion?
07-26-2023 05:15 AM
yes sure, below is all conf
interface Tunnel29
ip address 10.10.10.1 255.255.255.252
ip mtu 1400
ip access-group NEW-ACL_BK in
ntp disable
keepalive 10 3
tunnel source 192.168.1.1
tunnel destination 192.168.1.2
end
07-26-2023 05:22 AM
I check keepalive work for GRE tunnel, here you run mode IPsec so it not work
07-26-2023 07:09 AM
yes it will work, but what is solution if I want mode IPsec, is there any other method to detect the tunnel?
07-26-2023 07:21 AM
Hmm'
solution is using track ip sla and eem' the eem check track status down and action will be shut the tunnel.
Also isakmp already have keepalive whcih I think it also effect tunnel status.(this if you want i can check by lab)
07-26-2023 07:26 AM
I want to keep the ip sla solution last choice, so I am searching how to use the keepalive feature
I found deep detiction feature under the crypto ikev2 profile, but also did not work,
thank you MHM, appreciated
07-26-2023 07:28 AM
Friend you are so so welcome
Have a nice summer
MHM
07-27-2023 05:45 AM
BTW, I recall @MHM Cisco World is correct. I.e. interface keep-alive works on ordinary GRE tunnel, but not on some/all others.
07-26-2023 04:46 AM
hello @Sudqi,
is that the full GRE tunnel config ?
https://study-ccnp.com/site-to-site-virtual-tunnel-interface-vti-over-ipsec/
07-26-2023 05:16 AM
no, below is the full:
interface Tunnel29
ip address 10.10.10.1 255.255.255.252
ip mtu 1400
ip access-group NEW-ACL_BK in
ntp disable
keepalive 10 3
tunnel source 192.168.1.1
tunnel destination 192.168.1.2
end
07-29-2023 11:45 PM
Hi,
the VTI configuration was successful, but the idea here is that I want the GRE to become auto-down when the peer is dead, unfortunately, keepalive does not work,
07-30-2023 01:19 AM
Hello
My understanding using keepalives on a ipse/gre tunnel at both ends wont work due to the way the the keepalives are still encrypted as they reach the physical interface and forwarded on to the tunnel interface, using an additional monitoring feature such IPSA would be an alternative for establishing the state of the tunnels.
review here
07-31-2023 04:40 AM
Thanks Paul,
yes, it doesn't work, I will do IP SLA
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