DMVPN Phase 3 Basic Configuration

Lesson Contents

DMVPN supports three different versions called “phases”. In my first DMVPN lesson I explained the basics and  the DMVPN phase 2 configuration and DMVPN phase 1 configuration lessons explain how to configure the first two phases.

This time, I’ll show you how to configure DMVPN phase 3. We’ll use the following topology for this:

dmvpn-example-topology

We have one hub router and two spoke routers.

Configuration



The configuration of DMVPN phase 3 and 2 is very similar. Let’s start with the following DMVPN phase 2 configuration on all routers:

Hub(config)#interface Tunnel0
Hub(config-if)#ip address 172.16.123.1 255.255.255.0
Hub(config-if)#ip nhrp authentication DMVPN
Hub(config-if)#ip nhrp map multicast dynamic
Hub(config-if)#ip nhrp network-id 1
Hub(config-if)#tunnel source GigabitEthernet0/1
Hub(config-if)#tunnel mode gre multipoint
Spoke1(config)#interface Tunnel0
Spoke1(config-if)#ip address 172.16.123.2 255.255.255.0
Spoke1(config-if)#ip nhrp authentication DMVPN
Spoke1(config-if)#ip nhrp map 172.16.123.1 192.168.123.1
Spoke1(config-if)#ip nhrp map multicast 192.168.123.1
Spoke1(config-if)#ip nhrp network-id 1
Spoke1(config-if)#ip nhrp nhs 172.16.123.1
Spoke1(config-if)#tunnel source GigabitEthernet0/1
Spoke1(config-if)#tunnel mode gre multipoint
Spoke2(config)#interface Tunnel0
Spoke2(config-if)#ip address 172.16.123.3 255.255.255.0
Spoke2(config-if)#ip nhrp authentication DMVPN
Spoke2(config-if)#ip nhrp map 172.16.123.1 192.168.123.1
Spoke2(config-if)#ip nhrp map multicast 192.168.123.1
Spoke2(config-if)#ip nhrp network-id 1
Spoke2(config-if)#ip nhrp nhs 172.16.123.1
Spoke2(config-if)#tunnel source GigabitEthernet0/1
Spoke2(config-if)#tunnel mode gre multipoint

To migrate from DMVPN phase 2 to 3, we only need two commands…here’s the first command:

Hub(config)#interface tunnel 0
Hub(config-if)#ip nhrp redirect

The NHRP redirect command on the hub will inform spoke routers that they can reach another spoke router directly. The second command is needed on the spoke routers:

Sign up for FREE to Get Started

Here's what you'll get:

  • Full Access to 390 lessons.
  • Learn CCNA, CCNP and CCIE R&S. Explained as simple as possible.
  • Unlock Access to this lesson + 423 more by becoming a member.
  • New Lessons Added Regularly. You'll Be the First to Know.
  • Content created by Rene Molenaar (CCIE #41726)

Takes 1 minute - No credit card needed

Tags: , ,


Forum Replies

  1. Avatar for norman norman says:

    Hi !

    I didnt have “ip nhrp redirect” in my IOS (C3745-ADVENTERPRISEK9_SNA-M) ??? that´s the only one i got..

     

    /Oskar

  2. Avatar for ReneMolenaar ReneMolenaar says:

    Hi Oskar,

    Check the Cisco Feature Navigator to find out which IOS versions support certain commands.

    It seems the T11 release for the 3725 should support ip nhrp redirect:

    c3725-adventerprisek9_sna-mz.124-6.T11.bin

    http://tools.cisco.com/ITDIT/CFN/Dispatch?act=featdesc&task=display&featureId=5963

    Rene

  3. Avatar for wdavis84 wdavis84 says:

    Hi Rene,

    What is the advantages using the Phase 3 over Phase 2?

    Try to minimize the routing entry in the spoke router?

    Davis

  4. Avatar for ReneMolenaar ReneMolenaar says:

    Hi Davis,

    The main advantage is that you have smaller routing tables. In phase 2, each spoke router requires specific entries for networks it wants to reach behind other spoke routers. With phase 3, a summary route is all you need.

    Rene

  5. Avatar for wdavis84 wdavis84 says:

    Hi Rene,

    ok. Thanks

    Davis

44 more replies! Ask a question or join the discussion by visiting our Community Forum