We have global DMVPN Phase 2 network based on 4 hubs (2 in North America and 2 in Australia)
Issue is related to Spoke nhs entries configuration order. Does it matter? If no how will nhs be choosen?
Here is initial configuration of spoke in AUS:
interface Tunnel21 - Tunnel to hubs
ip nhrp map X.X.X.2 HUB-2(AUS)
ip nhrp map X.X.X.1 HUB-1(AUS)
ip nhrp map X.X.X.3 HUB-3(NA)
ip nhrp map X.X.X..4 HUB-4(NA)
ip nhrp network-id 21
ip nhrp nhs HUB-1(AUS)
ip nhrp nhs HUB-2(AUS)
In this configuration spoke can only see hubs in AUS but not in NA, it sees all after I added:
ip nhrp nhs HUB-3(NA)
ip nhrp nhs HUB-4(NA)
Generaly speaking on spoke we should configure nhs to all 4 hubs (otherwise spoke can not see other hubs)
Does it matter if we change the order of NHRP entries in configuration?
1) If yes spoke will use first entry and first nhs server to up spoke-spoke connection. If spoke is in AUS (wants to speak with AUS other spoke) and first NHS in NA than it will be latency in tunnel establishment. Packets will come to NA before tunnel will be up.
In this case we need to change order of nhrp statments based on location to have best performance for spoke-spoke tunnels.
I have read cisco documentation and can not find any related information.
2) If no, and spoke sends requests to all NHS servers in the same time (hubs share information in between to have same picture). Than the idea was to use only local entries for spoke. But it is not working in real world as spoke even can not see other non-local hubs.
Thanks for reading and input!