DMVPN animation


Here is an interactive animation of DMVPN (Dynamic Multipoint VPN), followed by a detailed offline lab (a snapshot of the topology under test with hopefully all commands needed for analysis and study).

Finally, check your understanding of the fundamental concepts by taking a small quiz.

Studied topology:

DMVPN animation

Animation

http://hpnouri.free.fr/dmvpn/DMVPN.swf

Offline Lab

http://hpnouri.free.fr/dmvpn/offlinelabv1025.swf

You might consider the following key points for troubleshooting:

Routing protocols:

To avoid RPF failure, announce routing protocols only through tunnel interfaces.

EIGRP

  • Turn off “next-hop-self” to makes spokes speak directly. Without it traffic between spokes will always pass through the HUB and NHRP resolution will not occur.
  • Turn off “split-horizon” to allow eigrp to advertise a received route from one spoke to another spoke through the same interface.
  • Turn off sumarization
  • Pay attention to the bandwidth required for EIGRP communication. requires BW > tunnel default BW “bandwidth 1000”

OSPF

  • “ip ospf network point-to-multipoint”, allows only phase1 (Spokes Data plane communication through the HUB)
  • “ip ospf broadcast” on all routers allows Phase2 (Direct Spoke-to-spoke Data plane communication)
  • Set the ospf priority on the HUBs (DR/BDR) to be bigger than the priority on spokes (“ip ospf priority 0”).
  • Make sure OSPF timers match if spokes and the HUB use different OSPF types.
  • Because spokes are generally low-end devices, they probably can’t cope with LSA flooding generated within the OSPF domain. Therefore, it’s recommended to make areas Stubby (filter-in LSA5 from external areas) or totally stubby (neither LSA5 nor inter-area LSA3 are accepted)

Make sure appropriate MTU value matches between tunnel interfaces (“ip mtu 1400 / ip tcp mss-adjust 1360”)

Consider the OSPF scalability limitation (50 routers per area). OSPF requires much more tweekening for large scale deployments.

Layered approach:

DMVPN involves multiple layers of technologies (mGRE, routing, NHRP, IPSec), troubleshooting an issue can be very tricky.

To avoid cascading errors, test your configuration after each step and move forward only when the current step works fine. For example: IPSec encryption is not required to the functioning of DMVPN, so make sure your configuration works without it and only then you add it (set IPSEc parameters and just add “tunnel protection ipsec profile” to the tunnel interface).

Quiz

http://hpnouri.free.fr/dmvpn/dmvpn-quiz2.swf

These previous posts could be helpful

GRE (Generic Routing Encapsulation): Point-to-point & multipoint GRE

Multicast over FR NBMA part1 – (pseudo broadcast, PIM NBMA mode, mGRE and DMVPN)

Multicast over FR NBMA part2 – (PIM NBMA mode and static RP)

Multicast over FR NBMA part3 – (PIM-NBMA mode and Auto-RP)

Multicast over FR NBMA part4 – (multipoint GRE and DMVPN)

References

DMVPN Design and Implementation

DMVPN explained

Introduction to DMVPN

http://wiki.nil.com/Next-hop_fixup_in_partially-meshed_NBMA_networks

http://blog.ipspace.net/2010/12/can-you-run-ospf-over-dmvpn.html

About ajnouri
Se vi deziras sekure komuniki eksterbloge, jen mia publika (GPG) ŝlosilo: My public key for secure communication: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x41CCDE1511DF0EB8

5 Responses to DMVPN animation

  1. Imran says:

    Really Good try to give your nice concept with animation..I hope you will post more Animation concepts in the upcoming days..

  2. jnguyen@peakipsolutions.com says:

    very nice

  3. Bobby says:

    I am new to networking. Do you need a switch in between routers? I tried copying your configs but my routes are not being learnt. Possibly the missing switch configs.

    • ajnouri says:

      Hi Bobby, in the offline lab, the device representing the Internet Cloud is the router “backbone” configured to route and provide DHCP services to the spokes. Look at the list of commands available to inspect it.

Leave a comment