Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM A Dell technical white paper Version 1.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM This document is for informational purposes only and may contain typographical errors and technical inaccuracies. The content is provided as is, without express or implied warranties of any kind. © 2013 Dell Inc. All rights reserved. Dell and its affiliates cannot be responsible for errors or omissions in typography or photography. Dell, the Dell logo, and PowerEdge are trademarks of Dell Inc.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM Contents Introduction ........................................................................................ 4 Multicast Overview ................................................................................ 4 Scenarios in this Document ....................................................................... 5 Scenario 1: Layer 2 Video Distribution on a Single VLAN (Using IGMP Querier) .....
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM Introduction Dell PowerConnectTM firmware revision 5.1 has added vast improvements in the areas of IGMP (Internet Group Management Protocol) snooping and IP Multicast Failover. Starting with PowerConnect 5.1 firmware, Dell PowerConnect users have a new set of commands to configure IGMP snooping, MLD snooping, MVR (Multicast VLAN Registration), and bridge multicast filtering.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM IGMP snooping and static multicast groups accomplish the same task. One is dynamic; requiring less setup and maintenance, while the other is static; requiring more setup and maintenance time. This paper only discusses how to set up the dynamic IGMP snooping feature with and without a PIM router. If it is desired to set up Static multicast groups, please see the documentation that came with your particular switch for instructions.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM Without IGMP snooping, multicast packets are broadcast throughout the network, causing unnecessary traffic. This impedes the efficiency of both the network and every system on the network that has to process and drop multicast packets they were not expecting. For example, all three laptops in Figure 2 would receive the traffic although only one or two of them may desire to.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM CLI Commands Switch 1. Enter or cut and paste the following on the first switch (closest to the Video Server): configure vlan database vlan 10 exit interface vlan 10 ip address 10.0.0.1 255.255.255.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM Switch 3. Enter or cut and paste the following on the third switch (closest to clients): configure vlan database vlan 10 exit interface vlan 10 ip address 10.0.0.3 255.255.255.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM 7. Check the Display Locally box, and click Add. 8. In the Address field, enter a valid IPv4 multicast group address (we used 239.0.0.25). Caution: Some multicast addresses in the multicast range are reserved. It is best to use an address of 239.X.Y.Z, where X is not 0, 128, 144, 160, OR Y is not 0, OR Z is not 1, 2, 3, or 4, or 13. Using a reserved address will impede you network’s efficiency.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM 4. Click Play. CAUTION: Seeing the video playing on the client does not ensure multicast is working, because it may be receiving a broadcast stream if multicast is not set up correctly. Be sure to test the multicast setup as instructed in the next section. The client port has now joined the multicast group. Allow a few seconds for the video to begin playing.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM Troubleshooting Tips If you are receiving video at the clients but no ports are showing up under 0.0.1 from the show ip igmp snooping groups command, then Multicast is not working. They are receiving video because the traffic is still being broadcasted to all ports (this is the default behavior of the switches). Recheck settings on all switches.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM Scenario 2: Layer 3 Video Distribution with Multiple VLANs (Using PIM-DM) The second scenario consists of two switches, two video servers and multiple clients to receive the streaming videos. The particular setup for generating this document contains two Dell PowerEdge R815 (Video Servers), two Dell PowerConnect 8132 switches, and three Dell laptops for use as multicast receivers (Figure 2Figure 2).
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM 3. Enable routing, which will set up static routing on the first switch to route between VLANs. 4. Enable PIM-DM on the first switch. PIM must be set globally as well as on each VLAN. 5. Disable IGMP snooping on the first switch. Enable IGMP globally and on each VLAN. 6. Create VLANs 10, 20, and 30 on the second switch, assigning each an IP address.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM CLI Commands Switch 1. Enter or cut and paste the following into the first switch (routing switch): configure vlan database vlan 10,20,30,40 exit ip routing interface vlan 10 ip address 10.10.0.5 255.255.255.0 ip igmp ip pim exit interface vlan 20 ip address 10.20.0.5 255.255.255.0 ip igmp ip pim exit interface vlan 30 ip address 10.30.0.5 255.255.255.0 ip igmp ip pim exit interface vlan 40 ip address 10.40.0.5 255.255.255.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM Switch 2. Enter or cut and paste the following into the second switch: configure vlan database vlan 10,20,30 exit ip default-gateway 10.10.0.5 interface vlan 10 ip address 10.10.0.1 255.255.255.0 exit interface vlan 20 ip address 10.20.0.1 255.255.255.0 exit interface vlan 30 ip address 10.30.0.1 255.255.255.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM Create a Multicast Video From a Dell PowerEdge R815 Multicast Server (Sender): 1. Start VLC Media Player. 2. Select Media -> Streaming… -> Add. 3. Browse to a video file (we used MP4 and WMA/WMV files for streaming). Click Open. 4. Click Stream at the bottom of the window. 5. In the Stream Output window, click Next. 6. Under Destinations, select RTP/MPEG Transport Stream from the pull-down menu. 7.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM Note: Allow a few seconds for the video to begin playing locally on the Video Server. At that point, the video is also being transmitted to the multicast stream. Note: Some MP4 files will only display the first video frame locally on the server, but are still being streamed to the clients, which is seen by the progress bar below the display. To get around this issue, stream WMV/WMA or other files. 14.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM Show Commands Description show ip igmp snooping mrouter Run from an IGMP snooping switch to show the port that knows where the server is. This can be run on any IGMP snooping switches. Other switches will not show any entries. show ip igmp membership Run from the PIM router to see what VLANs and IP interfaces have joined the multicast group.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM Keep in mind these general rules: PIM does not route. Routing must be working for it to work. No more than 3 hops should be used between the transmitter and receiver when multicast is used. This does not include a Rendezvous Point when using PIM-SM, but only refers to the shortest path that is taken after pruning.
Efficient Video Distribution Networks with.Multicast: IGMP Querier and PIM-DM About Dell Dell is a leading technology provider to commercial and public enterprises around the world. For more information on Dell PowerConnect products and features, visit www.dell.com/powerconnect.