{"id":309,"date":"2017-08-25T10:26:07","date_gmt":"2017-08-25T09:26:07","guid":{"rendered":"https:\/\/zed-network.fr\/?p=309"},"modified":"2017-08-25T10:26:07","modified_gmt":"2017-08-25T09:26:07","slug":"dmvpn-phase-3-multicast-with-source-and-receiver-on-spokes","status":"publish","type":"post","link":"https:\/\/zed-network.fr\/?p=309","title":{"rendered":"DMVPN Phase 3 &#8211; Multicast with source and receiver on spokes"},"content":{"rendered":"<h1>Assumption :<\/h1>\n<ul>\n<li>PIM open standard (rp-candidate + bsr-candidate), PIM SM<\/li>\n<li>RP is connected behind the HUB. (10.15.15.15)<\/li>\n<li>The source is connected to the Spoke 1.<\/li>\n<li>The receiver is connected to the spoke 2<\/li>\n<\/ul>\n<h1>HUB configuration :<\/h1>\n<pre>ip multicast-routing\r\n!\r\ninterface Tunnel0\r\n bandwidth 1000\r\n ip address 10.0.1.1 255.255.255.248\r\n no ip redirects\r\n ip mtu 1400\r\n <strong>ip pim nbma-mode<\/strong>\r\n<strong> ip pim sparse-mode<\/strong>\r\n ip nhrp authentication key\r\n ip nhrp map multicast dynamic\r\n ip nhrp network-id 12345\r\n ip nhrp holdtime 300\r\n ip nhrp redirect\r\n ip tcp adjust-mss 1360\r\n delay 1000\r\n tunnel source Ethernet0\/0\r\n tunnel mode gre multipoint\r\n tunnel protection ipsec profile PROFILE<\/pre>\n<h1>Spoke 1 configuration :<\/h1>\n<pre>ip multicast-routing\r\n!\r\nip pim spt-threshold infinity\r\n!\r\ninterface Tunnel0\r\n bandwidth 1000\r\n ip address 10.0.1.2 255.255.255.248\r\n no ip redirects\r\n ip mtu 1400\r\n<strong> ip pim sparse-mode<\/strong>\r\n ip nhrp authentication key\r\n ip nhrp map multicast 172.16.0.1\r\n ip nhrp map 10.0.1.1 172.16.0.1\r\n ip nhrp network-id 12345\r\n ip nhrp holdtime 300\r\n ip nhrp nhs 10.0.1.1 \r\n ip nhrp shortcut\r\n ip tcp adjust-mss 1360\r\n delay 1000\r\n tunnel source Serial1\/0\r\n tunnel mode gre multipoint\r\n tunnel protection ipsec profile PROFILE<\/pre>\n<h1>Spoke 2 configuration :<\/h1>\n<pre>ip multicast-routing\r\n!\r\nip pim spt-threshold infinity\r\n!\r\ninterface Tunnel0\r\n bandwidth 1000\r\n ip address 10.0.1.3 255.255.255.248\r\n no ip redirects\r\n ip mtu 1400\r\n<strong> ip pim sparse-mode<\/strong>\r\n ip nhrp authentication key\r\n ip nhrp map multicast 172.16.0.1\r\n ip nhrp map 10.0.1.1 172.16.0.1\r\n ip nhrp network-id 12345\r\n ip nhrp holdtime 300\r\n ip nhrp nhs 10.0.1.1\r\n ip nhrp shortcut\r\n ip tcp adjust-mss 1380\r\n delay 1000\r\n tunnel source Serial1\/0\r\n tunnel mode gre multipoint\r\n tunnel protection ipsec profile PROFILE<\/pre>\n<h1>Tshoot<\/h1>\n<pre>IP Multicast Routing Table\r\nFlags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,\r\n L - Local, P - Pruned, R - RP-bit set, F - Register flag,\r\n T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,\r\n X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,\r\n U - URD, I - Received Source Specific Host Report,\r\n Z - Multicast Tunnel, z - MDT-data group sender,\r\n Y - Joined MDT-data group, y - Sending to MDT-data group,\r\n G - Received BGP C-Mroute, g - Sent BGP C-Mroute,\r\n Q - Received BGP S-A Route, q - Sent BGP S-A Route,\r\n V - RD &amp; Vector, v - Vector\r\nOutgoing interface flags: H - Hardware switched, A - Assert winner\r\n Timers: Uptime\/Expires\r\n Interface state: Interface, Next-Hop or VCD, State\/Mode\r\n<\/pre>\n<h2>RP on HUB and Spokes routers<\/h2>\n<pre>#sh ip pim rp\r\n<strong>Group: 232.1.1.1, RP: 10.15.15.15<\/strong>, v2, uptime 00:13:52, expires 00:01:46<\/pre>\n<pre><em>! Source multicast with real IP address 10.1.18.1\r\n<\/em>\r\nSPOKE1#sh ip mroute 232.1.1.1 \r\n\r\n(*, 232.1.1.1), 00:02:40\/stopped, RP 10.15.15.15, flags: SPF\r\n Incoming interface: Tunnel0, RPF nbr 10.0.1.1\r\n Outgoing interface list: Null\r\n\r\n(10.1.18.1, 232.1.1.1), 00:02:40\/00:03:23, flags: FT\r\n Incoming interface: Ethernet0\/0, RPF nbr 0.0.0.0, Registering\r\n Outgoing interface list:\r\n Tunnel0, Forward\/Sparse, 00:02:40\/00:02:47, A<\/pre>\n<pre><em>! Receiver multicast for the group 232.1.1.1<\/em>\r\n\r\ninterface Ethernet0\/0\r\n ip address 10.1.19.1 255.255.255.0\r\n ip pim sparse-mode\r\n <strong>ip igmp join-group 232.1.1.1<\/strong>\r\n\r\nSPOKE2#sh ip mroute 232.1.1.1\r\n\r\n(*, 232.1.1.1), 00:09:21\/00:02:42, RP 10.15.15.15, flags: SCL\r\n Incoming interface: Tunnel0, RPF nbr 10.0.1.1\r\n Outgoing interface list:\r\n Ethernet0\/0, Forward\/Sparse, 00:09:19\/00:02:42<\/pre>\n<pre>HUB#sh ip mroute 232.1.1.1\r\n\r\n\r\n(*, 232.1.1.1), 00:09:13\/00:03:08, RP 10.15.15.15, flags: S\r\n Incoming interface: Ethernet0\/1, RPF nbr 10.20.1.17\r\n Outgoing interface list:\r\n Tunnel0, 10.0.1.3, Forward\/Sparse, 00:09:13\/00:03:08\r\n\r\n(10.1.18.1, 232.1.1.1), 00:06:17\/00:01:35, flags: T\r\n Incoming interface: Tunnel0, RPF nbr 10.0.1.3\r\n Outgoing interface list:\r\n Tunnel0, 10.0.1.3, Forward\/Sparse, 00:06:17\/00:03:08<\/pre>\n<pre>SPOKE2#mtrace 10.1.19.1 232.1.1.1\r\nType escape sequence to abort.\r\nMtrace from 10.1.19.1 to 10.1.19.1 via group 232.1.1.1\r\nFrom source (?) to destination (?)\r\nQuerying full reverse path...\r\n 0  10.1.19.1\r\n-1  10.1.19.1 ==&gt; 10.0.1.3 PIM  [using shared tree]       &lt;&lt; Interface Tu0\r\n-2 10.0.1.1 ==&gt; 10.20.1.18 PIM  [using shared tree]       &lt;&lt; Interface Tu0 Hub to next router \r\n-3 10.20.1.17 ==&gt; 10.20.1.2 PIM  [using shared tree]      &lt;&lt; Next router to RP router \r\n-4 10.20.1.1 ==&gt; 0.0.0.0 PIM_MT Reached RP\/Core [using shared tree] &lt;&lt; RP router\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Assumption : PIM open standard (rp-candidate + bsr-candidate), PIM SM RP is connected behind the HUB. (10.15.15.15) The source is connected to the Spoke 1. The receiver is connected to the spoke 2 HUB configuration : ip multicast-routing ! interface Tunnel0 bandwidth 1000 ip address 10.0.1.1 255.255.255.248 no ip redirects ip mtu 1400 ip pim [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-309","post","type-post","status-publish","format-standard","hentry","category-cisco"],"_links":{"self":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/309","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=309"}],"version-history":[{"count":3,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/309\/revisions"}],"predecessor-version":[{"id":312,"href":"https:\/\/zed-network.fr\/index.php?rest_route=\/wp\/v2\/posts\/309\/revisions\/312"}],"wp:attachment":[{"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zed-network.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}