Reliable IP Multicast

Total Page:16

File Type:pdf, Size:1020Kb

Reliable IP Multicast Reliable IP Multicast Adam Ryan Michael Henderson Basic Multicast • One-to-many connections • Many-to-many connections • Possible uses: • Streaming video and audio • Software distribution • Online gaming 1 Unicast vs. Multicast • Unicast • TCP packets • Reliable transfer of data • Inefficient for large scale communication • Multicast • UDP packets • Easy transfer of data between server and client • Requires too much error correction and monitoring to be effective in today’s Internet TCP vsUDP • TCP (Transmission Control Protocol) • Reliable transfer • Dependent travel • UDP (User Datagram Protocol) • Unreliable transfer • Independent travel 2 Multicast over WLAN • Makes good use of bandwidth for each receiver that joins a multicast group • Must use some kind of algorithm to retransmit data which a client might not properly receive. IP Multicast • Uses a Class D IP address (224.0.0.0 – 234.255.255.255) • Allows servers/clients to join and drop the connection at any time • Data is transferred to the IP address by the server and retrieved by the clients 3 Background • Original Goal: Add multicast ability to Classroom Presenter and test it over a wireless network • Classroom Presenter 2.0 already has an IP multicast feature • Easier to measure reliability with our own program Reliable IP Multicast • Goal: To test a simple IP multicast setup within the test bed over a wireless network • Things we measured: • Reliability • Efficiency • Effectiveness of error correction/detection 4 The Test Bed •8 computers • 1 sender and 7 receivers • Windows XP Professional • Microsoft .NET Framework 2.0 MCast • Developed in C# • Consists of 2 parts • MCSend – server end • MCReceive – client end • Features: • Sends strings of data over a LAN or WLAN connection. • Pseudo-NACK algorithm • Measure time it takes for sender to send a message • Implements sockets • Records data. 5 MCSend • Important Functions: • Initializes multicast connection with a multicast address and multicast port • User input • Sends messages to the multicast group • Receives NACK messages via thread initialized within the program via port 65535 MCReceive • Functions: • Receives messages from the multicast connection • Sends a NACK message via a Unicast connection between the sender and itself if it does not properly receive a message • Records results 6 NACK • Negative acknowledgement • Triggered when a client fails to receive a packet instead of when a client successfully receives a packet • More efficient than ACK • Other implementations include TRACK and SuppACK NACK: MCast •pCount • Counter within MCSend • Separate counter within MCReceive • Starts at 0 and increments every time a message is sent over the connection • NACK implementation • pCount is appended to each message and sent to a client • When a client first receives a message, its pCount is initialized to the same number appended to the message received • pCount then increments independently from the MCSend pCount • Once a client fails to receive a message over the network, the program becomes out-of-synch with the multicast connection and starts to NACK 7 Testing • One test, Two networks • Goal: To have all clients send NACK messages to the server at the same time • Measure: Number of “NACKing” clients at pCount (time) • Tested of LAN and WLAN networks Assumptions • No outside interference • LAN and WLAN connections weren’t mixed 8 The Test • Sent a few test messages to make sure everything is working properly • Sent different lengths of messages • Try overloading the connection by sending a constant stream of messages to the multicast address LAN Results • Could not break it • No client sent a NACK message • Longest run: 584 messages 9 WLAN Results • Broke very quickly • Unpredictable results Number of Receivers Dropped Over Time 9 8 7 6 5 WIRELESS 4 WIRED 3 2 1 # of Receivers Dropped (NACKs Sent) 0 0 20406080100120 Time (Packet #) Conclusion • While no new information about IP multicasting over a WLAN connection was found in the duration of this project, we have reiterated that this method is still unreliable due to its use of UDP packets and error correction methods which are either inappropriate or not developed enough. However, IP multicast still remains to be the standard today. 10 Problems with MCast • No way of retransmitting the lost packets • Inefficient yet effective algorithms • The only thing that one is able to read from the logs is the number of NACKing clients at the time • Logs not formatted • Bug where MCast prints out the wrong Unicast IP address and port Project Problems • Confusion • Not enough resources for a large scale test (N > 30) • Not enough participation for a large scale test due to lack of resources. • Alternative methods were researched but not used. 11 Looking Ahead • Some things we could do in the future: • Implement Classroom Presenter with different types of multicast • Fix MCast and develop it further as a monitoring tool • Launch MCast as an open source project • Play around with WLAN settings for optimal results Project References • Association of Computing Machines (ACM) • IEEE • Internet Engineering Task Force (IETF) • Wikipedia • Dr. Haibin Lu • Dr. Wenjun Zeng 12 Acknowledgements • Dr. Lu & Dr. Zeng • The other REU participants • Mizzou • Payroll office 13.
Recommended publications
  • WAN-LAN PIM Multicast Routing and LAN IGMP FEATURE OVERVIEW and CONFIGURATION GUIDE
    Technical Guide WAN-LAN PIM Multicast Routing and LAN IGMP FEATURE OVERVIEW AND CONFIGURATION GUIDE Introduction This guide describes WAN-LAN PIM Multicast Routing and IGMP on the LAN and how to configure WAN-LAN PIM multicast routing and LAN IGMP snooping. The AlliedTelesis Next Generation Firewalls (NGFWs) can perform routing of IPv4 and IPv6 multicast, using PIM-SM and PIM-DM. Also, switching interfaces of the NGFWs are IGMP aware, and will only forward multicast steams to these switch ports that have received reports. IGMP snooping allows a device to only forward multicast streams to the links on which they have been requested. PIM Sparse mode requires specific designated routers to receive notification of all streams destined to specific ranges of multicast addresses. When a router needs to get hold of a given group, it sends a request to the designated Rendezvous Point for that group. If there is a source in the network that is transmitting a stream to this group, then the Rendezvous Point will be receiving it, and will forward it to the requesting router. C613-22042-00 REV A alliedtelesis.com x Products and software version that apply to this guide Contents Introduction.............................................................................................................................................................................1 Products and software version that apply to this guide .......................................................................2 Configuring WAN-LAN PIM Multicast Routing and LAN IGMP Snooping........................................3
    [Show full text]
  • Ip Multicast Admission Control for Iptv
    IP MULTICAST ADMISSION CONTROL FOR IPTV A Thesis by Deepa Jayaraman Bachelor of Engineering, Anna University, India, 2008 Submitted to the Department of Electrical and Computer Science Engineering and the faculty of the Graduate school of Wichita State University in partial fulfillment of the requirements for the degree of Master of Science May 2012 i © Copyright 2012 by Deepa Jayaraman All Rights Reserved ii IP MULTICAST ADMISSION CONTROL FOR IPTV The following faculty members have examined the final copy of this Thesis for form and content and recommend that it be accepted in partial fulfillment of the requirements for the degree of Master of Science with a major in Electrical Engineering. __________________________________ Ravi Pendse, Committee Chair __________________________________ Linda Kliment, Committee Member __________________________________ Abu Asaduzzaman, Committee Member iii DEDICATION God, the Almighty My Parents Mrs. Lalitha Jayaraman & Mr. Jayaraman My Family Mrs. Indira Subramanian and Mr. Subramanian Mrs. Mythreyi Venkatesan and Mr. Venkatesan iv ACKNOWLEDGEMENT First I would like to thank God, the Almighty, for guiding me through every step in my life. I would like to extend my sincere thanks to Dr. Ravi Pendse, my advisor, for his constant encouragement, support and valuable advice. He has been there ever since I started my Masters in Wichita State University, guiding me and helping me in every step for the past three years. His classes and the conversations we had were very enlightening. Without him, I would never have known or found my true passion and interest. I am grateful to him for giving me an opportunity to work in the Cisco Technical Research Center which gave me a wonderful, first, work experience.
    [Show full text]
  • Multicast Over TCP/IP HOWTO Multicast Over TCP/IP HOWTO
    Multicast over TCP/IP HOWTO Multicast over TCP/IP HOWTO Table of Contents Multicast over TCP/IP HOWTO.......................................................................................................................1 Juan−Mariano de Goyeneche <[email protected]>............................................................................1 1.Introduction. .........................................................................................................................................1 2.Multicast Explained..............................................................................................................................1 3.Kernel requirements and configuration................................................................................................1 4.The MBone...........................................................................................................................................1 5.Multicast applications...........................................................................................................................1 6.Multicast programming.........................................................................................................................2 7.The internals..........................................................................................................................................2 8.Routing Policies and Forwarding Techniques......................................................................................2 9.Multicast Transport Protocols...............................................................................................................2
    [Show full text]
  • Introduction to IP Multicast Routing
    Introduction to IP Multicast Routing by Chuck Semeria and Tom Maufer Abstract The first part of this paper describes the benefits of multicasting, the Multicast Backbone (MBONE), Class D addressing, and the operation of the Internet Group Management Protocol (IGMP). The second section explores a number of different algorithms that may potentially be employed by multicast routing protocols: - Flooding - Spanning Trees - Reverse Path Broadcasting (RPB) - Truncated Reverse Path Broadcasting (TRPB) - Reverse Path Multicasting (RPM) - Core-Based Trees The third part contains the main body of the paper. It describes how the previous algorithms are implemented in multicast routing protocols available today. - Distance Vector Multicast Routing Protocol (DVMRP) - Multicast OSPF (MOSPF) - Protocol-Independent Multicast (PIM) Introduction There are three fundamental types of IPv4 addresses: unicast, broadcast, and multicast. A unicast address is designed to transmit a packet to a single destination. A broadcast address is used to send a datagram to an entire subnetwork. A multicast address is designed to enable the delivery of datagrams to a set of hosts that have been configured as members of a multicast group in various scattered subnetworks. Multicasting is not connection oriented. A multicast datagram is delivered to destination group members with the same “best-effort” reliability as a standard unicast IP datagram. This means that a multicast datagram is not guaranteed to reach all members of the group, or arrive in the same order relative to the transmission of other packets. The only difference between a multicast IP packet and a unicast IP packet is the presence of a “group address” in the Destination Address field of the IP header.
    [Show full text]
  • Performance Evaluation of Reliable Multicast Transport Protocol for Large-Scale Delivery
    11 Performance evaluation of reliable multicast transport protocol for large-scale delivery T. Shiroshita, T. Sano, N. Y amanouchi and T. Kushida 0. Takahashi, and M. Yamashita IBM Research, NTT Information and Communication Tokyo Research Labaratory Systems Laboratories 1623-14 Shimotsuruma, 1-2356 Take, Yokosuka, 238-03 Japan. Yamato, 242 Japan. [email protected] [email protected] Abstract This paper analyzes the performance of a reliable multicast transpoft protocol and discusses experimental test results. The Reliable Multicast Transport Protocol has been proposed to support "reliable" information delivery from a server to thousands of receivers over unreliable networks via IP-multicast. The protocol provides high-performance for most receivers through the advantage of IP multicast while also supporting temporarily unavailable or performance impaired receivers. lts applicability to large scale delivery is examined using an experimental network and the backoff time algorithm which avoids ACK implosion. The two types of flow control with the protocol are also exarnined. Separate retransmission is used to offset the local performance decline limited to a small nurober of receivers. Monitor-based rate control is used to offset the global performance declines due to causes such as network congestion. Keywords Reliable multicast protocol, large-scale delivery, rate-based flow control, performance analysis 1 INTRODUCTION The information age requires large-scale reliable information distribution functions. Sealahle information delivery has become feasible with the advent of high-speed networks which offer large bandwidth. However, the nurober of users still affects the reliability and performance of information distribution systems [NE94]. For scalable information distribution, reliable multicast has been studied for efficient and reliable information distribution.
    [Show full text]
  • IP Multicast
    Data Communication & Networks G22.2262-001 Session 10 - Main Theme IP Multicast Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences 1 Agenda Introduction to Multicast Multicast Addresses IP Multicast Reliable Multicast Pragmatic General Multicast (PGM) Reliable Multicast Protocol (RMP) Conclusion 2 Part I Introduction to Multicast 3 Cast Definitions Unicast - send to one destination (198.122.15.20) General Broadcast - send to EVERY local node (255.255.255.255) Directed Broadcast - send to subset of nodes on LAN (198.122.15.255) Multicast - send to every member of a Group of “interested” nodes (Class D address). RFC 1112 (an easy read!) 4 Why Multicast, Why Not Unicast? Unicast: Many applications require same message sent to many nodes (10, 100, 1000, n) Same message transits network n times. n messages requires n*(CPU time) as 1 message Need to deliver “timely” information. Message arrives at node n >> node 1 5 Why Multicast, Why Not Broadcast? Broadcast: Send a copy to every machine on the net Simple, but inefficient All nodes “must” process the packet even if they don’t care Wastes more CPU cycles of slower machines (“broadcast radiation”) General broadcast cannot be routed Directed broadcast is limited in scope (to machines on same sub-net or same domain) 6 Multicast Applications News/sports/stock/weather updates Software distribution Video-conferencing, shared whiteboards Distributed interactive gaming or simulations Email distribution lists Database replication 7 IP Multicast - Concepts Message sent to multicast “group” of receivers Senders need not be group members Each group has a “group address” Groups can have any size End-stations (receivers) can join/leave at will Data Packets are UDP (uh oh!) 8 IP Multicast Benefits Distribution tree for delivery/distribution of packets (i.e., scope extends beyond LAN) Tree is built by multicast routing protocols.
    [Show full text]
  • IP Multicast Backgrounder
    Stardust Technologies, Inc 1901 S. Bascom Ave, #333 Campbell, CA 95008 USA Tel: 408-879-8080 Fax: 408-879-8081 Web: www.ipmulticast.com IP Multicast Initiative (IPMI) IP Multicast Backgrounder An IP Multicast Initiative White Paper How IP Multicast alleviates network congestion and paves the way for next-generation network applications Inside… Scope Of This Document ....................................................................................... 2 Introduction to IP Multicast ..................................................................................... 2 Comparison of point-to-point unicast and multicast data flow ................................ 3 IP Multicast Benefits ............................................................................................... 4 IP Multicast in Use.................................................................................................. 4 IP Multicast Applications and Development ............................................................ 6 Evaluation and Implementation ............................................................................... 7 More information .................................................................................................... 8 Copyright ©1995-1997 Stardust Technologies, Inc. All Rights Reserved. Stardust® is a registered trademark of Stardust Technologies, Inc. All trademarks acknowledged. IPMI is a division of Stardust Labs. RESTRICTED RIGHTS LEGEND USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT IS SUBJECT TO RESTRICTIONS AS SET
    [Show full text]
  • Multicast Services Configuration Guide, Cisco IOS XE Release 3S
    IP Multicast: Multicast Services Configuration Guide, Cisco IOS XE Release 3S Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS. THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY. The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California. NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE. IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
    [Show full text]
  • Enterprise IPTV Validated Reference Design Guide Table of Contents
    Enterprise IPTV Validated Reference Design Guide Table of Contents Introduction ................................................................................................................................3 About EZ TV................................................................................................................................3 Overview .....................................................................................................................................3 Design Guidelines .....................................................................................................................5 Understanding the IPTV Solution .................................................................................5 Bandwidth Requirements ................................................................................................5 Link Aggregation.................................................................................................................6 Virtual Chassis .....................................................................................................................7 Protocol-Independent Multicast (PIM) Variants ...........................................................7 Multicast Groups .......................................................................................................................8 Multicast Flows .........................................................................................................................9 Deployment Guidelines ..........................................................................................................9
    [Show full text]
  • Multicast for Enterprise Video Streaming
    WHITE PAPER MULTICAST FOR ENTERPRISE VIDEO STREAMING Protocols and Design Guide This document provides a network equipment neutral, technical overview of multicast protocols and a discussion of techniques and best practices for implementing multicast video on an Enterprise Network. CONTENTS VIDEO STREAMING ON IP NETWORKS �������������������������4 Multicast on Enterprise Networks ��������������������������5 Multicast Addressing ������������������������������5 Multicast on Layer 2 �������������������������������7 IGMP �������������������������������������7 IGMP Snooping ��������������������������������7 Example �����������������������������������8 Multicast on Layer 3 �������������������������������9 PIM �������������������������������������9 PIM Sparse Mode (PIM-SM) ���������������������������9 Multicast Session Example ���������������������������� 11 Other Relevant Network Configurations ���������������������� 13 Spanning Tree �������������������������������� 13 Storm Control �������������������������������� 13 IMPLEMENTING MULTICAST VIDEO STREAMING ������������������� 14 Network Preparation ������������������������������ 14 Best Practices �������������������������������� 14 Scenario 1 Enterprise IPTV ��������������������������� 16 Best Practices �������������������������������� 16 MULTICAST FOR ENTERPRISE VIDEO STREAMING | WHITE PAPER | © 2015 HARMAN | v.01.2015 Page 2 of 38 Scenario 2 Room Overflow ���������������������������� 17 Best Practices �������������������������������� 17 Scenario 3 Non-Routed Multicast �������������������������
    [Show full text]
  • Deployment Issues for the IP Multicast Service and Architecture
    Deployment Issues for the IP Multicast Service and Architecture ¢ Christophe Diot* Brian Neil Levine Bryan Lyles* Hassan Kassem ¡ Doug Balensiefen ¦ ¤ ¥ *Sprint Advanced Technology Labs £ Computer Science Department SprintLink Sprint 1 Adrian Court University of Massachusetts 12502 Sunrise Valley Dr. 2002 Edmund Halley Dr. Burlingame, CA Amherst, MA Reston, VA Reston, VA cdiot,[email protected] [email protected] [email protected] [email protected] commercial implementation of multicast. Some of Abstract these issues include: • IP multicast offers scalable point-to-multipoint delivery Group management, including authorization necessary for using group communication applications for group creation, receiver authorization, and on the Internet. However, the IP multicast service has sender authorization. seen slow commercial deployment by ISPs and carriers. • Distributed multicast address allocation. The original service model was designed without a clear • Security, including protection against attacks understanding of commercial requirements or a robust on multicast routes and sessions, as well as implementation strategy. The very limited number of support for data integrity mechanisms. applications and the complexity of the architectural de- • Support for network management. sign — which we believe is a consequence of the open Consequently, the current IP-multicast archi- service model — have deterred widespread deployment tecture deployed by carriers and Internet Service as well. We examine the issues that have limited the Providers (ISPs) to compensate for these issues is commercial deployment of IP-multicast from the view- complex and has limited scalability. Trying to gen- point of carriers. We analyze where the model fails, what it does not offer, and we discuss requirements for suc- eralize and commercialize multicast from the cur- cessful deployment of multicast services.
    [Show full text]
  • Internet – Tcp/Ip: Konsep & Implementasi
    INTERNET – TCP/IP: KONSEP & IMPLEMENTASI Onno W. Purbo OnnoCenter Daftar Isi KATA PENGANTAR...........................................................................................................................9 BAB 1: Pendahuluan..........................................................................................................................10 TCP/IP dan Internet.......................................................................................................................10 Standar TCP/IP dan proses RFC....................................................................................................10 Badan Pengatur Internet............................................................................................................11 Proses pembentukan standar Internet........................................................................................13 Layanan di Internet...................................................................................................................14 Asumsi Peralatan / Sistem Operasi................................................................................................16 Referensi........................................................................................................................................17 BAB 2: Sejarah TCP/IP dan Internet..................................................................................................18 Evolusi TCP/IP dan Internet..........................................................................................................18
    [Show full text]