<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Dmvpn on The Network Stack</title>
    <link>https://thenetworkstack.com/tags/dmvpn/</link>
    <description>Recent content in Dmvpn on The Network Stack</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 25 Feb 2014 16:00:17 +0000</lastBuildDate>
    <atom:link href="https://thenetworkstack.com/tags/dmvpn/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>DMVPN Troubleshooting Commands</title>
      <link>https://thenetworkstack.com/dmvpn-troubleshooting-commands/</link>
      <pubDate>Tue, 25 Feb 2014 16:00:17 +0000</pubDate>
      <guid>https://thenetworkstack.com/dmvpn-troubleshooting-commands/</guid>
      <description>&lt;p&gt;Some basic IOS IPsec/DMVPN commands to aid with troubleshooting:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;show dmvpn detail
show ip nhrp
show ip nhrp multicast
&lt;/code&gt;&lt;/pre&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;show crypto isakmp sa
show crypto isakmp policy
show crypto ipsec sa
&lt;/code&gt;&lt;/pre&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;show run | s isakmp
show run | s ipsec
show run | s interface Tunnel
&lt;/code&gt;&lt;/pre&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;debug crypto isakmp
debug crypto ipsec
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;em&gt;Remember to enable terminal monitor if you are remote for the debug commands&lt;/em&gt;&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Some basic IOS IPsec/DMVPN commands to aid with troubleshooting:</p>
<pre tabindex="0"><code>show dmvpn detail
show ip nhrp
show ip nhrp multicast
</code></pre><pre tabindex="0"><code>show crypto isakmp sa
show crypto isakmp policy
show crypto ipsec sa
</code></pre><pre tabindex="0"><code>show run | s isakmp
show run | s ipsec
show run | s interface Tunnel
</code></pre><pre tabindex="0"><code>debug crypto isakmp
debug crypto ipsec
</code></pre><p><em>Remember to enable terminal monitor if you are remote for the debug commands</em></p>
]]></content:encoded>
    </item>
    <item>
      <title>DMVPN Firewall (Access-List) Ports</title>
      <link>https://thenetworkstack.com/dmvpn-firewall-access-list-ports/</link>
      <pubDate>Wed, 13 Nov 2013 23:20:16 +0000</pubDate>
      <guid>https://thenetworkstack.com/dmvpn-firewall-access-list-ports/</guid>
      <description>&lt;p&gt;If you have a dedicated DMVPN router and want to apply a simple access list to the public interface to block all other traffic, this is what you need opened up:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;permit esp any any
permit udp any eq isakmp any eq isakmp
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;and if you have NAT-T, then you also need:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;permit udp any eq non500-isakmp any eq non500-isakmp
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This is also assuming you have spokes connecting from unknown IP&amp;rsquo;s, if you have all static IP&amp;rsquo;s, you can further lock it down by restricting access to those IP&amp;rsquo;s only.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>If you have a dedicated DMVPN router and want to apply a simple access list to the public interface to block all other traffic, this is what you need opened up:</p>
<pre tabindex="0"><code>permit esp any any
permit udp any eq isakmp any eq isakmp
</code></pre><p>and if you have NAT-T, then you also need:</p>
<pre tabindex="0"><code>permit udp any eq non500-isakmp any eq non500-isakmp
</code></pre><p>This is also assuming you have spokes connecting from unknown IP&rsquo;s, if you have all static IP&rsquo;s, you can further lock it down by restricting access to those IP&rsquo;s only.</p>
]]></content:encoded>
    </item>
    <item>
      <title>DMVPN - Phase 1 with EIGRP</title>
      <link>https://thenetworkstack.com/dmvpn-phase-1-with-eigrp/</link>
      <pubDate>Tue, 12 Nov 2013 04:04:45 +0000</pubDate>
      <guid>https://thenetworkstack.com/dmvpn-phase-1-with-eigrp/</guid>
      <description>&lt;p&gt;Here is a quick and clean DMVPN Phase 1 Configuration:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Hub Router&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;IPsec:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;HUB01(config)# crypto isakmp policy 10
HUB01(config-isakmp)# encr 3des
HUB01(config-isakmp)# hash md5
HUB01(config-isakmp)# authentication pre-share

HUB01(config)# crypto isakmp key CISCO address 0.0.0.0 0.0.0.0

HUB01(config)#crypto ipsec transform-set TR_SET esp-3des
HUB01(cfg-crypto-trans)# mode transport

HUB01(config)# crypto ipsec profile DMVPN
HUB01(config-profile)# set transform-set TR_SET
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Tunnel:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;HUB01(config)# interface tunnel 0
HUB01(config-if)# ip address 192.168.200.1 255.255.255.0
HUB01(config-if)# ip mtu 1400
HUB01(config-if)# ip tcp adjust-mss 1360
HUB01(config-if)# ip nhrp authentication DMVPN
HUB01(config-if)# ip nhrp map multicast dynamic
HUB01(config-if)# ip nhrp network-id 1
HUB01(config-if)# ip nhrp holdtime 60
HUB01(config-if)# ip nhrp registration no-unique
HUB01(config-if)# tunnel source FastEthernet0/1 (WAN interface)
HUB01(config-if)# tunnel mode gre multipoint
HUB01(config-if)# tunnel key 1234
HUB01(config-if)# tunnel protection ipsec profile DMVPN
HUB01(config-if)# no ip eigrp 1 split-horizon eigrp 1
HUB01(config-if)# bandwidth 1000
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;EIGRP:&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Here is a quick and clean DMVPN Phase 1 Configuration:</p>
<p><strong>Hub Router</strong></p>
<p>IPsec:</p>
<pre tabindex="0"><code>HUB01(config)# crypto isakmp policy 10
HUB01(config-isakmp)# encr 3des
HUB01(config-isakmp)# hash md5
HUB01(config-isakmp)# authentication pre-share

HUB01(config)# crypto isakmp key CISCO address 0.0.0.0 0.0.0.0

HUB01(config)#crypto ipsec transform-set TR_SET esp-3des
HUB01(cfg-crypto-trans)# mode transport

HUB01(config)# crypto ipsec profile DMVPN
HUB01(config-profile)# set transform-set TR_SET
</code></pre><p>Tunnel:</p>
<pre tabindex="0"><code>HUB01(config)# interface tunnel 0
HUB01(config-if)# ip address 192.168.200.1 255.255.255.0
HUB01(config-if)# ip mtu 1400
HUB01(config-if)# ip tcp adjust-mss 1360
HUB01(config-if)# ip nhrp authentication DMVPN
HUB01(config-if)# ip nhrp map multicast dynamic
HUB01(config-if)# ip nhrp network-id 1
HUB01(config-if)# ip nhrp holdtime 60
HUB01(config-if)# ip nhrp registration no-unique
HUB01(config-if)# tunnel source FastEthernet0/1 (WAN interface)
HUB01(config-if)# tunnel mode gre multipoint
HUB01(config-if)# tunnel key 1234
HUB01(config-if)# tunnel protection ipsec profile DMVPN
HUB01(config-if)# no ip eigrp 1 split-horizon eigrp 1
HUB01(config-if)# bandwidth 1000
</code></pre><p>EIGRP:</p>
<pre tabindex="0"><code>HUB01(config)# router eigrp 1
HUB01(config-router)# no auto-summary
HUB01(config-router)# network 192.168.200.0
HUB01(config-router)# network 10.0.0.0 0.0.0.255 (internal network)
</code></pre><p>IP Route:</p>
<p>Remember to add a default route to the outside network, or a specific route for the outside interface of the DMVPN spoke interface</p>
<hr>
<p><strong>Spoke Router</strong></p>
<p>IPsec:</p>
<pre tabindex="0"><code>SPOKE01(config)# crypto isakmp policy 10
SPOKE01(config-isakmp)# encr 3des
SPOKE01(config-isakmp)# hash md5
SPOKE01(config-isakmp)# authentication pre-share

SPOKE01(config)# crypto isakmp key CISCO address 0.0.0.0 0.0.0.0

SPOKE01(config)#crypto ipsec transform-set TR_SET esp-3des
SPOKE01(cfg-crypto-trans)# mode transport

SPOKE01(config)# crypto ipsec profile DMVPN
SPOKE01(config-profile)# set transform-set TR_SET
</code></pre><p>Tunnel:</p>
<pre tabindex="0"><code>SPOKE01(config)# interface tunnel 0
SPOKE01(config-if)# ip address 192.168.200.2 255.255.255.0
SPOKE01(config-if)# ip mtu 1400
SPOKE01(config-if)# ip tcp adjust-mss 1360
SPOKE01(config-if)# ip nhrp authentication DMVPN
SPOKE01(config-if)# ip nhrp map 192.168.200.1 1.1.1.1 (Ext IP of Hub router)
SPOKE01(config-if)# ip nhrp network-id 1
SPOKE01(config-if)# ip nhrp holdtime 60
SPOKE01(config-if)# ip nhs 192.168.200.1
SPOKE01(config-if)# tunnel source FastEthernet0/1 (WAN interface)
SPOKE01(config-if)# tunnel destination 1.1.1.1 (Ext IP of Hub router)
SPOKE01(config-if)# tunnel key 1234
SPOKE01(config-if)# tunnel protection ipsec profile DMVPN
SPOKE01(config-if)# bandwidth 1000
</code></pre><p>EIGRP:</p>
<pre tabindex="0"><code>SPOKE01(config)# router eigrp 1
SPOKE01(config-router)# no auto-summary
SPOKE01(config-router)# network 192.168.200.0
SPOKE01(config-router)# network 172.16.0.0 0.0.0.255 (internal network)
SPOKE01(config-router)# eigrp stub
</code></pre><p>IP Route:</p>
<p>Remember to add a default route to the outside network, or a specific route for the outside interface of the DMVPN Hub interface</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
