{"id":925,"date":"2018-02-20T23:17:51","date_gmt":"2018-02-20T22:17:51","guid":{"rendered":"http:\/\/www.quisted.net\/?p=925"},"modified":"2018-02-20T23:17:51","modified_gmt":"2018-02-20T22:17:51","slug":"lab-iii-dmvpn","status":"publish","type":"post","link":"https:\/\/www.quisted.net\/index.php\/2018\/02\/20\/lab-iii-dmvpn\/","title":{"rendered":"LAB III ( DMVPN, MGRE, NHRP, EIGRP)"},"content":{"rendered":"<p><a href=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/02\/index-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-930 size-full\" src=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/02\/index-1.png\" alt=\"\" width=\"657\" height=\"412\" srcset=\"https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/index-1.png 657w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/index-1-300x188.png 300w\" sizes=\"auto, (max-width: 657px) 100vw, 657px\" \/><\/a><\/p>\n<section><em>The Next Hop Resolution Protocol (NHRP) is an Address Resolution Protocol (ARP)-like protocol that dynamically maps a Non-Broadcast Multi-Access (NBMA) network. With NHRP, systems attached to an NBMA network can dynamically learn the NBMA (physical) address of the other systems that are part of that network, allowing these systems to directly communicate.<\/em><\/p>\n<p><em>NHRP is a client and server protocol where the hub is the Next Hop Server (NHS) and the spokes are the Next Hop Clients (NHCs). The hub maintains an NHRP database of the public interface addresses of each spoke. Each spoke registers its real address when it boots and queries the NHRP database for real addresses of the destination spokes to build direct tunnels.<\/em><\/p>\n<p><a href=\"https:\/\/www.cisco.com\/c\/en\/us\/td\/docs\/ios-xml\/ios\/ipaddr_nhrp\/configuration\/xe-16\/nhrp-xe-16-book\/config-nhrp.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.cisco.com\/c\/en\/us\/td\/docs\/ios-xml\/ios\/ipaddr_nhrp\/configuration\/xe-16\/nhrp-xe-16-book\/config-nhrp.html<\/a><\/p>\n<\/section>\n<p><span style=\"color: #993366;\"><strong>HUB (<em>R1 <\/em>):<\/strong><\/span><\/p>\n<pre>R1: \ninterface FastEthernet0\/0\n ip address 192.168.1.100 255.255.255.0\n duplex full\n\ninterface Tunnel0\n ip address 10.1.1.1 255.255.255.0  <span style=\"color: #ff0000;\"><strong>#TUNNEL CONFIG<\/strong><\/span>\n no ip redirects\n ip mtu 1416\n ip hold-time eigrp 1 35         <span style=\"color: #3366ff;\"><strong>#EIGRP CONFIG<\/strong><\/span>\n no ip next-hop-self eigrp 1     <span style=\"color: #3366ff;\"><strong>#EIGRP CONFIG<\/strong><\/span>\n no ip split-horizon eigrp 1     <span style=\"color: #3366ff;\"><strong>#EIGRP CONFIG<\/strong><\/span>\n ip nhrp map multicast dynamic   <strong><span style=\"color: #339966;\">#NHRP CONFIG<\/span><\/strong> \n ip nhrp network-id 1            <strong><span style=\"color: #339966;\">#NHRP CONFIG<\/span><\/strong> \n tunnel source 192.168.1.100     <span style=\"color: #ff0000;\"><strong>#TUNNEL CONFIG<\/strong><\/span>\n tunnel mode gre multipoint      <span style=\"color: #ff0000;\"><strong>#TUNNEL CONFIG<\/strong><\/span>\n!\nrouter eigrp 1\n network 10.0.0.0\n network 172.16.0.0\n network 192.168.0.0\n!\nip route 0.0.0.0 0.0.0.0 192.168.1.1  <strong><span style=\"color: #993366;\">#ROUTING TO R2-INTERNET<\/span>\n<\/strong><\/pre>\n<p><!--more--><br \/>\n<span style=\"color: #993366;\"><strong>SPOKES (<em>R3, R4, R5 <\/em>)<\/strong><\/span><\/p>\n<pre>interface FastEthernet0\/0 \n ip address 192.168.11.2 255.255.255.0 \n duplex full \n!\ninterface Tunnel0\n ip address 10.1.1.2 255.255.255.0     <span style=\"color: #ff0000;\"><strong>#TUNNEL CONFIG<\/strong><\/span>\n no ip redirects\n ip mtu 1416\n ip hold-time eigrp 1 35               <span style=\"color: #3366ff;\"><strong>#EIGRP CONFIG<\/strong><\/span> \n no ip next-hop-self eigrp 1           <span style=\"color: #3366ff;\"><strong>#EIGRP CONFIG<\/strong><\/span>\n no ip split-horizon eigrp 1           <span style=\"color: #3366ff;\"><strong>#EIGRP CONFIG<\/strong><\/span> \n ip nhrp map 10.1.1.1 192.168.1.100    <span style=\"color: #339966;\"><strong>#NHRP CONFIG<\/strong><\/span>\n ip nhrp map multicast 192.168.1.100   <span style=\"color: #339966;\"><strong>#NHRP CONFIG<\/strong><\/span> \n ip nhrp network-id 1                  <span style=\"color: #339966;\"><strong>#NHRP CONFIG<\/strong><\/span>   \n ip nhrp nhs 10.1.1.1                  <span style=\"color: #339966;\"><strong>#NHRP CONFIG<\/strong><\/span> \n tunnel source 192.168.11.2            <strong><span style=\"color: #ff0000;\">#TUNNEL CONFIG<\/span><\/strong>\n tunnel mode gre multipoint            <span style=\"color: #ff0000;\"><strong>#TUNNEL CONFIG<\/strong><\/span>\n!\n\nrouter eigrp 1\n network 10.0.0.0\n network 172.16.0.0\n network 192.168.0.0\n!\nip route 0.0.0.0 0.0.0.0 192.168.11.1   <span style=\"color: #993366;\"><strong>#ROUTING TO R2-INTERNET<\/strong>\n<\/span><\/pre>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/02\/DMVPN.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-928\" src=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/02\/DMVPN-1024x559.png\" alt=\"\" width=\"678\" height=\"370\" srcset=\"https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/DMVPN-1024x559.png 1024w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/DMVPN-300x164.png 300w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/DMVPN-768x419.png 768w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/DMVPN.png 1899w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<pre>R1#sh ip route\nCodes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP\n       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area\n       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2\n       E1 - OSPF external type 1, E2 - OSPF external type 2\n       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2\n       ia - IS-IS inter area, * - candidate default, U - per-user static route\n       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP\n       + - replicated route, % - next hop override\n\nGateway of last resort is 192.168.1.1 to network 0.0.0.0\n\nS*    0.0.0.0\/0 [1\/0] via 192.168.1.1\n      10.0.0.0\/8 is variably subnetted, 2 subnets, 2 masks\nC        10.1.1.0\/24 is directly connected, Tunnel0\nL        10.1.1.1\/32 is directly connected, Tunnel0\n      172.16.0.0\/24 is subnetted, 3 subnets\n<strong><span style=\"color: #3366ff;\">D        172.16.11.0 [90\/27008000] via 10.1.1.2, 00:11:07, Tunnel0\nD        172.16.12.0 [90\/27008000] via 10.1.1.3, 00:11:07, Tunnel0\nD        172.16.13.0 [90\/27008000] via 10.1.1.4, 00:11:07, Tunnel0<\/span><\/strong>\n      192.168.1.0\/24 is variably subnetted, 2 subnets, 2 masks\nC        192.168.1.0\/24 is directly connected, FastEthernet0\/0\nL        192.168.1.100\/32 is directly connected, FastEthernet0\/0\n<\/pre>\n<p><span style=\"color: #800080;\"><strong>HUB DMVPN<\/strong><\/span><\/p>\n<pre>R1#sh dmvpn\nLegend: Attrb --&gt; S - Static, D - Dynamic, I - Incomplete\n        N - NATed, L - Local, X - No Socket\n        # Ent --&gt; Number of NHRP entries with same NBMA peer\n        NHS Status: E --&gt; Expecting Replies, R --&gt; Responding, W --&gt; Waiting\n        UpDn Time --&gt; Up or Down Time for a Tunnel\n==========================================================================\n\nInterface: Tunnel0, IPv4 NHRP Details\nType:Hub, NHRP Peers:3,\n\n # Ent  Peer NBMA Addr Peer Tunnel Add State  UpDn Tm Attrb\n ----- --------------- --------------- ----- -------- -----\n<strong><span style=\"color: #339966;\">     1 192.168.11.2           10.1.1.2    UP 00:22:30     D\n     1 192.168.12.2           10.1.1.3    UP 00:21:40     D\n     1 192.168.13.2           10.1.1.4    UP 00:21:25     D\n<\/span><\/strong><\/pre>\n<p><span style=\"color: #800080;\"><strong>DMVPN and Routing via EIGRP<\/strong><\/span><\/p>\n<pre>R3#sh dmvpn\nLegend: Attrb --&gt; S - Static, D - Dynamic, I - Incomplete\n        N - NATed, L - Local, X - No Socket\n        # Ent --&gt; Number of NHRP entries with same NBMA peer\n        NHS Status: E --&gt; Expecting Replies, R --&gt; Responding, W --&gt; Waiting\n        UpDn Time --&gt; Up or Down Time for a Tunnel\n==========================================================================\n\nInterface: Tunnel0, IPv4 NHRP Details\nType:Spoke, NHRP Peers:2,\n\n # Ent  Peer NBMA Addr Peer Tunnel Add State  UpDn Tm Attrb\n ----- --------------- --------------- ----- -------- -----\n<strong><span style=\"color: #339966;\">     1 192.168.1.100          10.1.1.1    UP 00:22:43     S\n     1 192.168.12.2           10.1.1.3    UP 00:21:29     D<\/span><\/strong>\n\nR3#ping 172.16.13.1\nType escape sequence to abort.\nSending 5, 100-byte ICMP Echos to 172.16.13.1, timeout is 2 seconds:\n!!!!!\nSuccess rate is 100 percent (5\/5), round-trip min\/avg\/max = 20\/50\/144 ms\nR3#ping 172.16.12.1\nType escape sequence to abort.\nSending 5, 100-byte ICMP Echos to 172.16.12.1, timeout is 2 seconds:\n!!!!!\nSuccess rate is 100 percent (5\/5), round-trip min\/avg\/max = 20\/30\/36 ms\n<\/pre>\n<p><a href=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnping.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-932 size-large\" src=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnping-1024x723.png\" alt=\"\" width=\"678\" height=\"479\" srcset=\"https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnping-1024x723.png 1024w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnping-300x212.png 300w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnping-768x542.png 768w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnping.png 1126w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/a><\/p>\n<p><span style=\"color: #800080;\"><strong>Purge from R3:<\/strong><\/span><\/p>\n<p><a href=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnpurge.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-933\" src=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnpurge-1024x735.png\" alt=\"\" width=\"678\" height=\"487\" srcset=\"https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnpurge-1024x735.png 1024w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnpurge-300x215.png 300w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnpurge-768x552.png 768w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnpurge.png 1160w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #800080;\">Purge reply:<\/span><br \/>\n<\/strong><\/p>\n<p><a href=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnpurgereply.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-934\" src=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnpurgereply-1024x832.png\" alt=\"\" width=\"678\" height=\"551\" srcset=\"https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnpurgereply-1024x832.png 1024w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnpurgereply-300x244.png 300w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnpurgereply-768x624.png 768w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/02\/dmvpnpurgereply.png 1160w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Next Hop Resolution Protocol (NHRP) is an Address Resolution Protocol (ARP)-like protocol that dynamically maps a Non-Broadcast Multi-Access (NBMA) network. With NHRP, systems attached to an NBMA network can dynamically learn the NBMA (physical) address of the other systems that are part of that network, allowing these systems to directly communicate. NHRP is a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[6],"tags":[],"class_list":["post-925","post","type-post","status-publish","format-standard","hentry","category-labs"],"_links":{"self":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/posts\/925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/comments?post=925"}],"version-history":[{"count":0,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/posts\/925\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/media?parent=925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/categories?post=925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/tags?post=925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}