{"id":997,"date":"2018-03-23T14:56:41","date_gmt":"2018-03-23T13:56:41","guid":{"rendered":"http:\/\/www.quisted.net\/?p=997"},"modified":"2018-03-23T14:56:41","modified_gmt":"2018-03-23T13:56:41","slug":"lab-multicast-pim-sparse-mode","status":"publish","type":"post","link":"https:\/\/www.quisted.net\/index.php\/2018\/03\/23\/lab-multicast-pim-sparse-mode\/","title":{"rendered":"LAB VI: Multicast PIM Sparse mode"},"content":{"rendered":"<p><a href=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/03\/multicast.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-998 size-full\" src=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/03\/multicast.png\" alt=\"\" width=\"771\" height=\"231\" srcset=\"https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/03\/multicast.png 771w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/03\/multicast-300x90.png 300w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/03\/multicast-768x230.png 768w\" sizes=\"auto, (max-width: 771px) 100vw, 771px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Protocol_Independent_Multicast\">https:\/\/en.wikipedia.org\/wiki\/Protocol_Independent_Multicast<\/a><\/p>\n<ul>\n<li><em><b>PIM Sparse Mode<\/b> (PIM-SM) explicitly builds unidirectional shared trees rooted at a rendezvous point (RP) per group, and optionally creates shortest-path trees per source. PIM-SM generally scales fairly well for wide-area usage.<\/em><\/li>\n<\/ul>\n<p>Packetcapture when generating traffic from the Video Server (R1) to the multicast group address <strong>224.3.2.1.<\/strong><\/p>\n<p><a href=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/03\/multicast-packet.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-999 size-large\" src=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/03\/multicast-packet-1024x618.png\" alt=\"\" width=\"678\" height=\"409\" srcset=\"https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/03\/multicast-packet-1024x618.png 1024w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/03\/multicast-packet-300x181.png 300w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/03\/multicast-packet-768x463.png 768w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/03\/multicast-packet.png 1920w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/a><\/p>\n<p><strong>Connectivity via OSPF:<\/strong><\/p>\n<pre>On all routers:\nrouter ospf 1\n network 0.0.0.0 255.255.255.255 area 0\n\nR1#sh ip route\nCodes: 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\n\nGateway of last resort is not set\n\n     1.0.0.0\/32 is subnetted, 1 subnets\nO       1.1.1.1 [110\/21] via 10.0.0.2, 00:14:46, FastEthernet0\/0\n     20.0.0.0\/24 is subnetted, 1 subnets\nO       20.0.0.0 [110\/20] via 10.0.0.2, 00:14:46, FastEthernet0\/0\n     10.0.0.0\/24 is subnetted, 1 subnets\nC       10.0.0.0 is directly connected, FastEthernet0\/0\n     30.0.0.0\/24 is subnetted, 1 subnets\nO       30.0.0.0 [110\/30] via 10.0.0.2, 00:14:46, FastEthernet0\/0\n<\/pre>\n<p><strong>Multicast configuration:<\/strong><\/p>\n<pre><span style=\"color: #ff0000;\"><span style=\"color: #000000;\">On all routers:<\/span>\n<strong># Enable Multicast routing<\/strong><\/span>\nip multicast-routing\n\n<strong><span style=\"color: #ff0000;\">#Enable PIM Sparse-mode on the interfaces<\/span><\/strong>\nR1(config)#int fa0\/0\nR1(config-if)#ip pim sparse-mode\nR1(config)#int fa0\/1\nR1(config-if)#ip pim sparse-mode\n\n<span style=\"color: #ff0000;\"><strong>#Add RP address<\/strong><\/span>\nip pim rp-address 1.1.1.1\n<\/pre>\n<p><!--more--><\/p>\n<p><strong>RP configuration<\/strong><\/p>\n<pre><span style=\"color: #ff0000;\"><strong>On R3:<\/strong><\/span>\nR3(config)#int loopback0\nR3(config-if)# ip address 1.1.1.1 255.255.255.0\n<\/pre>\n<p><strong>IGMP Multicast group<\/strong><\/p>\n<pre><span style=\"color: #ff0000;\"><strong>On R4:<\/strong><\/span>\nR4(config)#int fa0\/0\nR4(config-if)#ip igmp join-group 224.3.2.1\n<\/pre>\n<p><strong>DEBUGGING<\/strong><\/p>\n<pre>R1#ping 224.3.2.1\n\nType escape sequence to abort.\nSending 1, 100-byte ICMP Echos to 224.3.2.1, timeout is 2 seconds:\n\nReply to request 0 from 30.0.0.2, 48 ms\n<\/pre>\n<pre>R3#sh ip mroute\nIP Multicast Routing Table\nFlags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,\n       L - Local, P - Pruned, R - RP-bit set, F - Register flag,\n       T - SPT-bit set, J - Join SPT, M - MSDP created entry,\n       X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,\n       U - URD, I - Received Source Specific Host Report,\n       Z - Multicast Tunnel, z - MDT-data group sender,\n       Y - Joined MDT-data group, y - Sending to MDT-data group\nOutgoing interface flags: H - Hardware switched, A - Assert winner\n Timers: Uptime\/Expires\n Interface state: Interface, Next-Hop or VCD, State\/Mode\n\n(*, 224.3.2.1), 00:21:43\/stopped, RP 1.1.1.1, flags: SJC\n  Incoming interface: Null, RPF nbr 0.0.0.0\n  Outgoing interface list:\n    FastEthernet0\/1, Forward\/Sparse, 00:21:43\/00:02:33\n\n(10.0.0.1, 224.3.2.1), 00:00:49\/00:02:09, flags:\n  Incoming interface: FastEthernet0\/0, RPF nbr 20.0.0.1\n  Outgoing interface list:\n    FastEthernet0\/1, Forward\/Sparse, 00:00:49\/00:03:09\n\n(*, 224.0.1.40), 00:26:41\/00:02:43, RP 1.1.1.1, flags: SJCL\n  Incoming interface: Null, RPF nbr 0.0.0.0\n  Outgoing interface list:\n    FastEthernet0\/1, Forward\/Sparse, 00:22:43\/00:02:49\n    FastEthernet0\/0, Forward\/Sparse, 00:26:41\/00:02:48\n<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Capture Detail:<\/strong><\/p>\n<p><a href=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/03\/multicast-packet2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-1008\" src=\"http:\/\/vps.quisted.net\/wp-content\/uploads\/2018\/03\/multicast-packet2-1024x617.png\" alt=\"\" width=\"678\" height=\"409\" srcset=\"https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/03\/multicast-packet2-1024x617.png 1024w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/03\/multicast-packet2-300x181.png 300w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/03\/multicast-packet2-768x463.png 768w, https:\/\/www.quisted.net\/wp-content\/uploads\/2018\/03\/multicast-packet2.png 1918w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/en.wikipedia.org\/wiki\/Protocol_Independent_Multicast PIM Sparse Mode (PIM-SM) explicitly builds unidirectional shared trees rooted at a rendezvous point (RP) per group, and optionally creates shortest-path trees per source. PIM-SM generally scales fairly well for wide-area usage. Packetcapture when generating traffic from the Video Server (R1) to the multicast group address 224.3.2.1. Connectivity via OSPF: On all routers: router [&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":[67],"class_list":["post-997","post","type-post","status-publish","format-standard","hentry","category-labs","tag-multicast"],"_links":{"self":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/posts\/997","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=997"}],"version-history":[{"count":0,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/posts\/997\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/media?parent=997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/categories?post=997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quisted.net\/index.php\/wp-json\/wp\/v2\/tags?post=997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}