. What if you were not using it though, and you wanted traffic sent in plain text direction between spokes instead of doing to the hub first?
fredrikjj wrote: » You could just use DMVPN without encryption in that case. DMVPN is kind of modular in the sense that you can set it up with or without several of the components. For example, to satisfy your requirement of sending plain text, you could just not use encryption. You could also disable spoke to spoke communication entirely if you wanted to, etc. It's pretty cool.
Now, why is GRE needed here if we're not sending anything unsupported over the wire (like multicast)?
Spoke A learns the physical IP (public IP?) of Spoke B via Hub A thru NHRP (how does Spoke A already know the logical IP?)
fredrikjj wrote: » Ok, let's say that spoke A and spoke B has learned of each other's public IP addresses (called NBMA addresses in DMVPN, and sometimes underlay addresses, or transport addresses). Spoke A wants to send a packet to the 10.1.1.0/24 network that exists at spoke B. Some host at spoke A creates a packet where the destination IP address is 10.1.1.1 and the source address is for example 192.168.1.1, and sends to his nearest router. Then what? This packet can never arrive at spoke B with the destination address being 10.1.1.1 because it's not an address that is routed towards B by every router between A and B. Some kind of encapsulation of the packet is required where another IP header is added so that it can be delivered to the public address of spoke B. Let's say that this address is 83.1.1.1. When the packet is routed from spoke A to spoke B, it's routed as if it's a normal IP packet with the destination address 83.1.1.1. When it arrives at spoke B, the outer header with 83.1.1.1 is removed and it's again a packet destined for 10.1.1.1. There are several types of encapsulations, and GRE just happens to be the de facto standard for IP based tunnels. Like you point out, if you are just sending IP unicast, you don't really need the extra GRE header. You could use an IP in IP encapsulation in that case, but there's really not much point to doing this.
hurricane1091 wrote: » It has to be static right? I would imagine without a static tunnel back to the nhrp server, you would have no way of dynamically making other tunnels?
fredrikjj wrote: » correct.