cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
285
Views
3
Helpful
2
Replies

DMVPN (ip nhrp map spoke_tunnel_ip or spoke_public_ip)

AminRamadan
Level 1
Level 1

Hi,

I'm in the process of configuring DMVPN and need some clarification on the correct syntax for the ip nhrp map command. Specifically, I'm unsure about the order of IP addresses in the command. Could someone explain the difference between these two commands and which is correct?

  1. ip nhrp map spoke_tunnel_IP spoke_public_ip
  2. ip nhrp map spoke_public_ip spoke_tunnel_IP

In my lab, both commands seem to work, but I want to understand the implications of each. Thanks!

2 Accepted Solutions

Accepted Solutions

Torbjørn
Spotlight
Spotlight

That command creates a static nhrp mapping between tunnel address to underlay/nbma address. The most common use for this command is to inform spoke routers of how to establish connectivity to the nhs by creating a static map of the addreesses of the hub. Only the first command should work - since you say that both commands are working, what does your config look like?

EDIT: It should also likely be the hub addresses

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

View solution in original post

  1. ip nhrp map spoke_tunnel_IP spoke_public_ip

This is correct' other one is not correct.

We use this command if we want to use static MAP (tunnel to spoke) instead of using nhrp.

https://www.netprojnetworks.com/dmvpn-notes-phase-1-static-mappings/

Note:- It not common to use this type of config.

MHM

View solution in original post

2 Replies 2

Torbjørn
Spotlight
Spotlight

That command creates a static nhrp mapping between tunnel address to underlay/nbma address. The most common use for this command is to inform spoke routers of how to establish connectivity to the nhs by creating a static map of the addreesses of the hub. Only the first command should work - since you say that both commands are working, what does your config look like?

EDIT: It should also likely be the hub addresses

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

  1. ip nhrp map spoke_tunnel_IP spoke_public_ip

This is correct' other one is not correct.

We use this command if we want to use static MAP (tunnel to spoke) instead of using nhrp.

https://www.netprojnetworks.com/dmvpn-notes-phase-1-static-mappings/

Note:- It not common to use this type of config.

MHM