Multicast: Conformance and Performance Testing
Total Page:16
File Type:pdf, Size:1020Kb
White Paper Multicast: Conformance and Performance Testing 26601 Agoura Road, Calabasas, CA 91302 | Tel: 818.871.1800 | Fax: 818.871.1805 | www.ixiacom.com Contents 1. Introduction··························································································································· 1 2. What Is Multicast? ···················································································································1 2.1 Multicast Taxonomy ························································································································ 1 2.2 Historical Perspective/Evolution········································································································· 3 3. How Does Multicast Work? ·······································································································4 3.1 Multicast Groups ·····························································································································4 3.2 Multicast Addressing ······················································································································· 5 3.3 Multicast Scope/Time-To-Live (TTL)··································································································· 6 3.4 Multicast Routing···························································································································· 6 3.5 Multicast Distribution Trees··············································································································· 7 3.6 Multicast Distribution Trees··············································································································· 7 3.7 Dynamic Registration ······················································································································ 7 4. Multicast Protocols··················································································································8 4.1 Multicast Group Management Protocols ·······························································································8 4.2 Multicast Routing Protocols ···············································································································9 5. Multicast Testing Challenges ·································································································· 12 5.1 Why Test for Multicast Conformance?································································································12 5.2 Why Test for Multicast Scalability and Performance? ············································································12 5. Multicast Testing Challenges ·································································································· 12 5.1 Why Test for Multicast Conformance?································································································12 5.2 Why Test for Multicast Scalability and Performance? ············································································12 6. Test Solution Requirements···································································································· 13 6.1 Optimized Hardware Platform ··········································································································13 6.2 Routing Protocol Emulation·············································································································13 6.3 Integrated Control and Data Plane Testing··························································································13 6.4 Traffic Generation··························································································································13 6.5 Automation···································································································································13 7. Ixia’s Approach to Multicast Testing ························································································14 7.1 Multicast Scalability and Performance Testing ·····················································································13 8. Conclusion ··························································································································· 16 9. Appendix: Multicast Testing Example······················································································· 17 9.1 PIM-SM Conformance Test ·············································································································17 9.2 IPv4 Multicast Benchmarking Test ····································································································20 9.3 Pv6 Multicast Listener Discovery (MLD) Performance Test·····································································23 9.4 PIM-SM Shortest-Path Tree Switchover Test·······················································································28 10. Glossary of Terms ················································································································· 33 11. Bibliography ························································································································· 34 12. Acknowledgments················································································································· 34 Copyright © 2005 by Ixia All rights reserved IXIA 26601 West Agoura Road, Calabasas, CA 91302 (877) FOR-IXIA This Test Plan Primer contains a general outline for testing a particular technology. Not all the capabilities of Ixia technology have been exposed in this document. Please feel free to contact us if additional capabilities are required. 1. Introduction The sustained expansion of Internet communications continues to generate new services and network applications. At the same time, the exponential growth in the number of concurrent users who want to simultaneously access shared data in corporate intranets, as well as the global Internet, has generated the need for applications that provide data access while minimizing bandwidth requirements. The implementation strategy adopted by many of these emerging applications involves sending packets from one or more senders to a group of recipients—in a single operation. This technique is referred to as “IP Multicast.” This paper presents a review of IP multicast, but given the immensity of the field and its continuing evolution, this review is by no means exhaustive. It also includes an overview of multicast test challenges—and Ixia’s approach to testing multicast technologies to determine the scalability and performance of a multicast system. Finally, this paper reviews the importance of validating the conformance of various multicast technologies to the growing number of Internet Engineering Task Force (IETF) Drafts and RFCs associated with multicast. Multicast testing before, as well as after, deployment of network equipment helps ensure a fully operational multicast system. 2. What is Multicast? IP multicast is defined in RFCs 966 and 988 as the transmission of an IP datagram to a “host group”—a set of hosts identified by a single IP destination address. A multicast datagram is delivered to all members of its destination host group with the same “best- effort” reliability as regular unicast IP datagrams, i.e., the datagram is not guaranteed to arrive at all members of the destination group or in the same order relative to other datagrams. Multicast was developed as an efficient method of data delivery over an IP packet-switched network that allows a server to send a single data stream to a local multicast-capable router that then redistributes it to other local hosts. In multicast, each packet is sent from one sender to multiple receivers with a single "transmit" operation. 2.1 Multicast Taxonomy A multicast application can be characterized as one of three types: One-to-Many, Many-to-Many, or Many-to-One. One-to-Many applications (see Figure 1) are similar to standard television or radio broadcasts. Examples include: “push media” content distribution of news, sports, weather, etc.; security monitoring; distribution of stock market prices, manufacturing process information, schedule announcements, keys, and network times; and file distribution and caching. Figure 1: One-to-Many multicast transmission from a single host to all intended recipient hosts. The sender dispatches a multicast packet addressed to the multicast group of receivers. Multicast routes are indicated with the thicker, red arrows. Multicast: Conformance and Performance Testing Copyright © Ixia, 2005 1 An important distinction to be noted is that one-to-many Netcasting does NOT imply multicast. There are various applications that implement unicast Netcasting to provide one-to-many “broadcast-like” services. The one-to-many Netcasting applications distribute information using separate unicast IP streams for each user, providing broadcast-like services such as Real Audio and Real Video, as well as several servers for MP3 file distribution. Many-to-Many applications (see Figure 2) include interactive distance learning, interactive multi-player games, jam sessions, multimedia teleconferencing (voice/video phones and whiteboards), chat groups, shared editing and collaboration tools, parallel computing, as well as distributed interactive simulations. Figure 2: Many-to-Many multicast transmission from two senders to all intended recipient hosts.