Updated October 2026: I re-tested this design in my home lab on Cisco IOL 17.18.2. Some defaults and failure behavior differed from what is described below, so I corrected those details and added the re-test results near the end.
Everyone builds a second DMVPN hub for redundancy. Far fewer people test that the failover actually works - and the ones who do are often unpleasantly surprised. A dual-hub DMVPN can have both hubs up, both spokes registered, routing fully converged, and still black-hole spoke-to-spoke traffic after a hub fails if stale NHRP state lingers. Whether it does depends on the platform and its timers, which is why you test it.
This article builds a dual-hub DMVPN in a CML lab, fails a hub, and shows exactly what breaks and why - including a genuine, non-obvious failure that we hit and fixed. For the fundamentals, start at the complete DMVPN guide.
Single cloud vs dual cloud
Single cloud is the simpler default and is what you want when both hubs are on the same transport. Dual cloud is for when you need to reason about, police, or fail between two independent transports.
The lab, up and running
Two hubs (HUB1 primary, HUB2 backup), two spokes, one INET underlay router, EIGRP over the mGRE cloud, and IPsec protecting every tunnel. All three NHRP peers register with HUB1:
HUB1#show dmvpn
Type:Hub, NHRP Peers:3,
1 100.64.2.1 10.0.0.2 UP 00:00:31 D
1 100.64.11.1 10.0.0.11 UP 00:00:27 D
1 100.64.12.1 10.0.0.12 UP 00:00:22 DSpoke-to-spoke works: SPOKE1 learns SPOKE2's LAN via both hubs, and the next hop is SPOKE2 directly - not a hub - thanks to no ip next-hop-self on the hub tunnels:
SPOKE1#show ip route 12.12.12.12
10.0.0.12, from 10.0.0.1, via Tunnel0
* 10.0.0.12, from 10.0.0.2, via Tunnel0
SPOKE1#show ip cef 12.12.12.12
12.12.12.12/32
nexthop 10.0.0.12 Tunnel0
nexthop 10.0.0.12 Tunnel0Two equal-cost paths, both pointing at SPOKE2 as the next hop. This is a healthy Phase 3 DMVPN. (For the EIGRP-over-mGRE details - no split-horizon, no next-hop-self - see EIGRP over DMVPN.)
The failure that surprised us
We shut HUB1's internet link. EIGRP did its job: it dropped the HUB1 neighbor, and the route to SPOKE2 survived via HUB2. Routing reconverged. Everything looked fine in the routing table.
And spoke-to-spoke traffic died completely:
SPOKE1#ping 10.2.2.1 source Loopback0 repeat 20
....................
Success rate is 0 percent (0/20)Zero. Not a brief reconvergence blip - total, sustained black-holing, with the routing table showing a perfectly good path via HUB2. The kind of thing that has you staring at a correct-looking show ip route wondering why the pings still fail.
The cause
The direct spoke-to-spoke shortcut to SPOKE2 had been resolved through HUB1. When HUB1 died, that NHRP mapping went stale - it still pointed at HUB1 as the resolution path:
SPOKE1#show dmvpn
2 100.64.1.1 10.0.0.1 UP 00:03:18 S
10.0.0.12 UP 00:01:24 I2
1 100.64.2.1 10.0.0.2 UP 00:03:19 SSee that I2 state on the SPOKE2 entry - a temporary shortcut entry (I2 is "Temporary" in the show dmvpn legend) still associated with HUB1's now-dead NBMA address. The routing table said "send to SPOKE2 directly", but the NHRP-to-NBMA mapping needed to build that direct tunnel was broken and pointing at a dead hub.
And here is the killer: it would not fix itself until that entry aged out. The NHRP holdtime had been left at the default. Until that stale entry aged out, SPOKE1 kept trying to reach SPOKE2 through a resolution that no longer worked.
SPOKE1#clear ip nhrp
SPOKE1#ping 10.2.2.1 source Loopback0 repeat 5
!!!!!
Success rate is 100 percent (5/5)A manual clear ip nhrp forced immediate re-resolution via HUB2 and connectivity came straight back. But you cannot rely on manually clearing NHRP on every spoke every time a hub fails.
The fix: a short NHRP holdtime
Do not assume the default NHRP holdtime; check it. You will often see 7200 seconds (two hours) quoted, but the IOL 17.18.2 image I re-tested this on shows 600 seconds in show running-config all. Whatever the value, it is how long a stale spoke-to-spoke shortcut resolved via a failed hub can persist. Set it explicitly on every tunnel:
interface Tunnel0
ip nhrp holdtime 300With a 300-second holdtime, a shortcut resolved through a hub that dies ages out within five minutes and re-resolves through the surviving hub automatically. Five minutes is still not instant - during that window, spoke-to-spoke traffic for an already-resolved pair may black-hole - but it is recoverable without human intervention, and for the common case (spoke-to-hub-to-spoke fallback, and newly-resolved shortcuts) failover is much faster.
This is the single most important and most overlooked knob in a dual-hub DMVPN. The redundancy you built is only real if the NHRP holdtime lets stale shortcuts clear in a reasonable time. Every dual-hub design should set it explicitly; the default will bite you exactly when you least want it to - during a hub failure.
Making one hub primary
With both hubs advertising equal metrics, spokes load-share, which is usually not the intent. Make HUB1 primary and HUB2 a true backup with a delay adjustment or an offset list on the backup hub - one command, one router, applies to every spoke:
! On HUB2, make its advertised routes less attractive
router eigrp 100
! (named mode) offset-list, or on the interface:
interface Tunnel0
delay 10000Now spokes prefer HUB1 and keep HUB2 in the topology table as the backup. Check that it is really a feasible successor (reported distance lower than the feasible distance) before you count on instant EIGRP failover for the routing, while the NHRP holdtime governs how fast stale shortcuts recover. Both mechanisms matter, and they are independent. (Offset-list detail in EIGRP offset lists.)
The two independent failover mechanisms
This is the mental model that makes dual-hub DMVPN make sense. There are two things that have to fail over, and they are governed by different timers:
A DMVPN that fails over its routing in three seconds but keeps a stale NHRP shortcut for the full holdtime has effectively not failed over at all for that spoke pair. Test both. Tune both.
Tune the EIGRP and IPsec timers too
- EIGRP hello/hold on the tunnel: 60/180 is the default only on low-speed NBMA multipoint interfaces. On the IOL tunnel I re-tested, EIGRP already ran 5/15 by default and dropped the dead hub 11 to 15 seconds after the failure. Check show ip eigrp interfaces detail, and tune further or pair with BFD if that is too slow.
- IPsec DPD (Dead Peer Detection): so a spoke notices a dead hub's crypto session promptly and tears down the SA, rather than holding it until the SA lifetime expires.
- NHRP registration timer: spokes re-register with the NHS at one-third of the holdtime by default, so a shorter holdtime also means more frequent registration - a reasonable trade for faster recovery.
Re-tested in my home lab (October 2026)
I rebuilt this design in my home lab on Cisco IOL 17.18.2 in Containerlab, using the addressing in this article: HUB1 10.0.0.1 on 100.64.1.1, HUB2 10.0.0.2 on 100.64.2.1, SPOKE1 10.0.0.11 and SPOKE2 10.0.0.12, one INET router, EIGRP AS 100 with no split-horizon and no next-hop-self on the hubs, Phase 3 redirect and shortcut, and IKEv2 (AES-256, SHA-256, DH 19) tunnel protection. I added an Alpine Linux host behind each spoke and ran a continuous 5-pings-per-second stream between them through every failure. The registration and route output matched the snapshots above. The failover did not.

The defaults were not what this article assumed
ip nhrp holdtime 600SPOKE1#show ip eigrp interfaces detail Tunnel0
...
Hello-interval is 5, Hold-time is 15So on this image the NHRP holdtime defaults to 600 seconds, not 7200, and the tunnel already uses the fast 5/15 EIGRP timers.
Shutting HUB1's internet link did not black-hole spoke-to-spoke traffic
With every timer at its default, I shut HUB1's internet link exactly as described above and left it down for more than 12 minutes, longer than the 600-second holdtime plus two minutes. SPOKE1 dropped the HUB1 EIGRP neighbor about 14 seconds after the failure:
*Oct 21 08:31:58.203: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 10.0.0.1 (Tunnel0) is down: holding time expiredThe host-to-host stream across the spoke-to-spoke shortcut did not lose a single packet during the whole window:
3703 packets transmitted, 3703 received, 0% packet loss, time 743355msNear the end, SPOKE1 still held a normal dynamic entry for SPOKE2 on SPOKE2's own NBMA address, refreshed and nowhere near expiry, with no I2 entry tied to the dead hub:
10.0.0.12/32 via 10.0.0.12
Tunnel0 created 00:12:59, expire 00:04:58
Type: dynamic, Flags: router nhop rib
NBMA address: 100.64.12.1I then tried seven variants to provoke the stale-shortcut failure: building the shortcut while HUB1 was the only NHS, HUB1 preferred by delay, hubs with next-hop-self, a silent cut on the INET side so HUB1 stayed up but unreachable, HUB1's WAN and tunnel both shut, holdtime 300, and holdtime 300 with DPD. Every one lost zero spoke-to-spoke packets. In every run SPOKE1 dropped the HUB1 EIGRP neighbor 11 to 15 seconds after the failure (about 14 seconds in the default run, about 12 seconds in the two holdtime 300 runs), and traffic to a target behind the hubs paused for about the same 11 to 15 seconds, which matches the 15-second EIGRP hold time. I could not reproduce the black-hole shown earlier in this article on this platform. That does not prove it can never happen, but it is not the default outcome here.
Without DPD, the dead hub's IKEv2 SA stayed READY
This part of the advice held up. In the default run (holdtime 600, no DPD, HUB1's own WAN link shut), SPOKE1 still showed its IKEv2 SA to HUB1 as READY in the last snapshot, about 12 minutes (723 seconds) after HUB1 went dark. In the holdtime 300 run, also without DPD, it was still READY in that run's last snapshot, about 334 seconds after the failure. The default-run snapshot:
Tunnel-id Local Remote fvrf/ivrf Status
1 100.64.11.1/500 100.64.1.1/500 none/none READY
...
Life/Active Time: 86400/832 secThen I added dpd 10 3 periodic to the IKEv2 profile on every router, keeping holdtime 300. That run used a different fault: a silent cut on the INET side, so HUB1 stayed up but unreachable, instead of shutting HUB1's own WAN link. So treat it as an indication, not a clean DPD-versus-no-DPD comparison. The closest no-DPD case is the earlier silent-cut run at the default holdtime, where SPOKE1's SA to HUB1 was still READY in its last snapshot about 92 seconds after the cut; that run was only watched for about 90 seconds. With DPD, the original SA was last seen READY 17 to 19 seconds after the cut and was gone in the next snapshot, 28 to 29 seconds after it, so DPD cleared it within about 30 seconds. A replacement IN-NEG row for HUB1 (a fresh negotiation attempt showing 0 seconds active) remained under the same tunnel ID, alongside older DELETE rows:
SPOKE1(config-ikev2-profile)#dpd 10 3 periodicSPOKE1#show clock
*09:15:46.578 UTC Wed Oct 21 2026
...
7 100.64.11.1/500 100.64.1.1/500 none/none READY
...
SPOKE1#show clock
*09:15:56.922 UTC Wed Oct 21 2026
...
7 100.64.11.1/500 100.64.1.1/500 none/none IN-NEG delay 10000 made HUB1 primary, but not with a feasible successor
With delay 10000 on HUB2's Tunnel0, SPOKE1 preferred HUB1 as intended. But HUB2's reported distance (28288000) equalled the feasible distance (28288000), and the feasibility condition needs it to be strictly lower, so HUB2 was not a feasible successor for SPOKE2's loopback:
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 28288000
...
Composite metric is (28288000/27008000), route is Internal
...
Composite metric is (29568000/28288000), route is InternalFailover still worked in that test (zero spoke-to-spoke loss), but via a fresh DUAL computation rather than an instant switch to a pre-computed backup. Check show ip eigrp topology for the backup hub's reported distance before you rely on it.
Key takeaways
- A dual-hub DMVPN has two failover mechanisms: routing (EIGRP timers, fast) and NHRP resolution (holdtime, check your default). Both must work.
- The classic failure: HUB1 dies, routing reconverges via HUB2, but a spoke-to-spoke shortcut resolved through HUB1 goes stale (
I2) and black-holes traffic - with a correct-looking routing table. My October 2026 re-test on IOL did not reproduce it, so treat it as a risk to test for, not a certainty. - The timer that governs it is the NHRP holdtime (600 seconds on the image I re-tested, often quoted as 7200). Set
ip nhrp holdtime 300on every tunnel so stale shortcuts age out and re-resolve via the surviving hub automatically. - Make one hub primary with a delay or offset-list adjustment on the backup hub - one command, all spokes.
- Check the EIGRP tunnel hello/hold (5/15 on the IOL tunnel I tested) and add IPsec DPD as well.
- Test the failover, not just the redundancy. Both hubs up is not the same as failover working.
Next: DMVPN with IKEv1 vs IKEv2, using the same lab. The full cluster index lives on the DMVPN pillar.