Introduction to Multicast Network Protocols October 5, 1999 Lawrence A. Rowe and Gordon Chaffee University of California, Berkeley URL:

Slides:



Advertisements
Similar presentations
1April 16, 2002 Layer 3 Multicast Addressing IP group addresses – “Class D” addresses = high order bits of “1110” Special reserved.
Advertisements

Introduction 1 Lecture 22 Network Layer (Broadcast and Multicast) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
Multicast on the Internet CSE April 2015.
COS 461 Fall 1997 Routing COS 461 Fall 1997 Typical Structure.
UNIT-IV Computer Network Network Layer. Network Layer Prepared by - ROHIT KOSHTA In the seven-layer OSI model of computer networking, the network layer.
COS 420 Day 15. Agenda Assignment 3 Due Assignment 4 Posted Chap Due April 6 Individual Project Presentations Due IEPREP - Jeff MANETS - Donnie.
1 Internet Networking Spring 2004 Tutorial 7 Multicast Routing Protocols.
1 Internet Networking Spring 2006 Tutorial 7 DVMRP.
17: IP Multicast Last Modified: 4/16/2017 8:54:43 PM
School of Information Technologies Internet Multicasting NETS3303/3603 Week 10.
COS 420 Day 18. Agenda Group Project Discussion Program Requirements Rejected Resubmit by Friday Noon Protocol Definition Due April 12 Assignment 3 Due.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 22 Introduction to Computer Networks.
COS 420 Day 14. Agenda Assignment 3 Posted Covers chapters Due March 23 Assignment 4 Posted Chap Due April 6 Individual Project Papers due.
TDC375 Winter 2002John Kristoff - DePaul University1 Network Protocols IP Multicast.
Chapter 4 IP Multicast Professor Rick Han University of Colorado at Boulder
Slide Set 15: IP Multicast. In this set What is multicasting ? Issues related to IP Multicast Section 4.4.
Computer Networking Lecture 24 – Multicast.
CS335 Networking & Network Administration Tuesday, May 18, 2010.
Internet Networking Spring 2002
1 IP Multicasting. 2 IP Multicasting: Motivation Problem: Want to deliver a packet from a source to multiple receivers Applications: –Streaming of Continuous.
TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Multicast.
EE689 Lecture 12 Review of last lecture Multicast basics.
1 CSE 401N:Computer Network LECTURE-14 MULTICAST ROUTING.
MULTICASTING Network Security.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
CSE679: Multicast and Multimedia r Basics r Addressing r Routing r Hierarchical multicast r QoS multicast.
1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Computer Networks 2 Lecture 1 Multicast.
Multicasting  A message can be unicast, multicast, or broadcast.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
22.1 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Multicast Routing Protocols NETE0514 Presented by Dr.Apichan Kanjanavapastit.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Network Layer4-1 R1 R2 R3R4 source duplication R1 R2 R3R4 in-network duplication duplicate creation/transmission duplicate Broadcast Routing r Deliver.
AD HOC WIRELESS MUTICAST ROUTING. Multicasting in wired networks In wired networks changes in network topology is rare In wired networks changes in network.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
CSC 600 Internetworking with TCP/IP Unit 8: IP Multicasting (Ch. 17) Dr. Cheer-Sun Yang Spring 2001.
Multicast Outline Multicast revisited Protocol Independent Multicast - SM Future Directions.
Broadcast and Multicast. Overview Last time: routing protocols for the Internet  Hierarchical routing  RIP, OSPF, BGP This time: broadcast and multicast.
Multicast Routing Algorithms n Multicast routing n Flooding and Spanning Tree n Forward Shortest Path algorithm n Reversed Path Forwarding (RPF) algorithms.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
Chapter 15 Multicasting and Multicast Routing
Multicast Routing Protocols. The Need for Multicast Routing n Routing based on member information –Whenever a multicast router receives a multicast packet.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
Multicast 1 Spencer Tsai Mobile Communication & Broadband Network Lab CSIE Fu-Jen Catholic University Introduction to Multicast.
CS 4396 Computer Networks Lab IP Multicast - Fundamentals.
Björn Landfeldt School of Information Technologies NETS 3303 Networked Systems Multicast.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
1 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #7 DVMRP.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
1 IP Multicasting Relates to Lab 10. It covers IP multicasting, including multicast addressing, IGMP, and multicast routing.
Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.
Chapter 9: Multicast Sockets
Multicast Communications
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #09: SOLUTIONS Shivkumar Kalyanaraman: GOOGLE: “Shiv.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
2/25/20161 Multicast on the Internet CSE 6590 Fall 2009.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
DMET 602: Networks and Media Lab Amr El Mougy Yasmeen EssamAlaa Tarek.
1 Group Communications: Reverse Path Multicast Dr. Rocky K. C. Chang 19 March, 2002.
4: Network Layer 4a-1 16: IP Extensions – VPN, Mobile IP, IP Multicast Last Modified: 11/22/ :04:45 PM Adapted from Gordon Chaffee’s slides
DMET 602: Networks and Media Lab
Computer Networking Multicast.
Multicast Outline Multicast Introduction and Motivation DVRMP.
(How the routers’ tables are filled in)
Multicast Outline Multicast revisited
Other Routing Protocols
IP Multicast COSC /5/2019.
EE 122: Lecture 13 (IP Multicast Routing)
Presentation transcript:

Introduction to Multicast Network Protocols October 5, 1999 Lawrence A. Rowe and Gordon Chaffee University of California, Berkeley URL:

Multimedia Systems & Applications2 Outline Multicast Application Models Multicast Routing Multicast and the ISP’s Problems Future Work on Multicast Applications

Multimedia Systems & Applications3 What is Multicast? 1 to N communication Called N-way communication Dynamic join/leave Network hardware efficiently supports multicast transport Example: Ethernet allows one packet to be received by many hosts Many different protocols and service models Examples: IETF IP Multicast, ATM Multipoint

Multimedia Systems & Applications4 ATM Multipoint Service Single sender with multiple receivers Multipoint - essentially an N-to-1 unicast circuit N-way communication? Identify single multicast server that forwards all messages Open N multipoint circuits Early versions did not allow dynamic join/leave Works well for interactive broadcast applications I.e., applications where one sender dominant

Multimedia Systems & Applications5 IP Multicast True N-way communication Any participant can send at any time and everyone receives the message Unreliable delivery Avoids hard problem (e.g., NACK explosion) Efficient delivery Packets only traverse network links once (i.e., tree delivery) Location independent addressing One IP address per multicast group Receiver-oriented service model Receivers can join/leave at any time Senders do not know who is listening

Multimedia Systems & Applications6 IP Multicast Details Service All senders send at the same time to the same group Receivers subscribe to any group Routers find receivers Reserved IP addresses to reserved for multicast Partitioned for different addressing models (e.g., administrative scoping, global/local scoping, etc.) Static addresses for popular services (e.g., SAP)

Multimedia Systems & Applications7 Internet Group Management Protocol Protocol for managing group membership IP hosts report multicast group memberships to neighboring routers Messages in IGMPv2 (RFC 2236) Membership Query (from routers) Membership Report (from hosts) Leave Group (from hosts) Announce-listen protocol with suppression Host responds only if no other host has responded Soft-state protocol

Multimedia Systems & Applications8 IGMP Example (1) Network 1 Host 1 begins sending packets No IGMP messages sent Packets remain on Network 1 Router periodically sends IGMP Membership Query Network 2 Router

Multimedia Systems & Applications9 IGMP Example (2) Network 1 Host 3 joins conference Sends IGMP Membership Report message Router begins forwarding packets onto Network 2 Host 3 leaves conference Sends IGMP Leave Group message Only sent if it was the last host to send an IGMP Membership Report message Network 2 Router Membership Report 33 Leave Group

Multimedia Systems & Applications10 Distance Vector Routing First decentralized IP routing algorithm Building routing tables Routers know local links and distance to self Neighbor routers exchange current distance vectors New distances computed using neighbors distance vectors Routing tables Nodes maintain distance from self to every destination

Multimedia Systems & Applications11 Distance Vector Example A B DE C 1. Begin with all distance vectors only knowing distance to self. Assume link costs are Initial distance vectors are sent to neighbors, and nodes compute new distance vectors. 3. Send distance vectors; nodes re-compute vectors. L1 L3 L2 L4 L5 A A 0 XX B B 0 XX C C 0 XX D D 0 XX E E 0 XX E E 0 XX D 1 L4 C 1 L5 A A 0 XX B 1 L1 D 1 L3 B B 0 XX A 1 L1 C 1 L2 C C 0 XX B 1 L2 E 1 L5 D D 0 XX A 1 L3 E 1 L4 A A 0 XX B 1 L1 D 1 L3 C 2 L1 E 2 L3 B B 0 XX A 1 L1 C 1 L2 D 2 L1 E 2 L2 C C 0 XX B 1 L2 E 1 L5 A 2 L2 D 2 L5 D D 0 XX A 1 L3 E 1 L4 B 2 L3 C 2 L4 E E 0 XX D 1 L4 C 1 L5 A 2 L4 B 2 L5 4. Now, the network has converged. No changes will occur in the distance vectors without a topology change. * Note: Routing updates sent at random intervals, not synchronously as shown in this example.

Multimedia Systems & Applications12 Distance Vector Problems Problems Routing tables slow to converge Route flapping Cycles can occur after topology changes Optimizations Triggered updates Split horizon with poison reverse ABC L1L2 Cycle in tables

Multimedia Systems & Applications13 Distance Vector Example 2 A B DE C L1 L3 L2 L4 L5 A A 0 XX B 1 L1 D 1 L3 C 2 L1 E 2 L3 B B 0 XX A 1 L1 C 1 L2 D 2 L1 E 2 L2 C C 0 XX B 1 L2 E 1 L5 A 2 L2 D 2 L5 D D 0 XX A 1 L3 E 1 L4 B 2 L3 C 2 L4 E E 0 XX D 1 L4 C 1 L5 A 2 L4 B 2 L5 1. Begin with the converged routing tables from the previous example. 2. Link L2 between B and C fails. B begins using link L1 to get to C. However, A uses link L1 to get to C, so there is now a cycle between A and B. There is also a cycle between C and E. A A 0 XX B 1 L1 D 1 L3 C 2 L1 E 2 L3 B B 0 XX A 1 L1 C 3 L1 D 2 L1 E 2 L2 C C 0 XX B 3 L5 E 1 L5 A 2 L2 D 2 L5 D D 0 XX A 1 L3 E 1 L4 B 2 L3 C 2 L4 E E 0 XX D 1 L4 C 1 L5 A 2 L4 B 2 L5 Temporary Cycle 3. Routing tables continue to be exchanged. A A 0 XX B 1 L1 D 1 L3 C 3 L3 E 2 L3 B B 0 XX A 1 L1 C 3 L1 D 2 L1 E 2 L2 C C 0 XX B 3 L5 E 1 L5 A 2 L2 D 2 L5 D D 0 XX A 1 L3 E 1 L4 B 2 L3 C 2 L4 E E 0 XX D 1 L4 C 1 L5 A 2 L4 B 3 L4 4. Routing tables converge after another exchange. A A 0 XX B 1 L1 D 1 L3 C 3 L3 E 2 L3 B B 0 XX A 1 L1 C 4 L1 D 2 L1 E 2 L2 C C 0 XX B 4 L5 E 1 L5 A 2 L2 D 2 L5 D D 0 XX A 1 L3 E 1 L4 B 2 L3 C 2 L4 E E 0 XX D 1 L4 C 1 L5 A 2 L4 B 3 L4

Multimedia Systems & Applications14 Path Vector Routing Distribute full paths to destinations Simple Converges quickly Every node on network knows full network topology Used by the Border Gateway Protocol (BGP)

Multimedia Systems & Applications15 Multicast Routing Discussion What is the problem? Need to find all receivers in a multicast group Need to create spanning tree of receivers Design goals Minimize unwanted traffic Minimize router state Scalability Reliability

Multimedia Systems & Applications16 Tree Building Choices Flood and prune Distance Vector Multicast Routing Protocol (DVMRP) Protocol Independent Multicast Dense Mode (PIM-DM) Explicit join Core Based Trees (CBT) Protocol Independent Multicast Sparse Mode (PIM-SM) Flood network topology to all routers Link state protocol MOSPF

Multimedia Systems & Applications17 Data Flooding Send data to all nodes in network Problem Need to prevent cycles Need to send only once to all nodes in network Could keep track of every packet and check if it had previously visited node, but means too much state Sender R3R1 R2

Multimedia Systems & Applications18 Reverse Path Forwarding (RPF) Simple technique for building trees Send out all interfaces except the one with the shortest path to the sender In unicast routing, routers send to the destination via the shortest path In multicast routing, routers send away from the shortest path to the sender

Multimedia Systems & Applications19 Reverse Path Forwarding Example R5R6 R3R2 R1 R4R7 Sender 2. Router R2 accepts packets sent from Router R1 because that is the shortest path to the Sender. The packet gets sent out all interfaces. 1. Router R1 checks: Did the data packet arrive on the interface with the shortest path to the Sender? Yes, so it accepts the packet, duplicates it, and forwards the packet out all other interfaces except the interface that is the shortest path to the sender (i.e the interface the packet arrived on). Drop 3. Router R2 drops packets that arrive from Router R3 because that is not the shortest path to the sender. Avoids cycles.

Multimedia Systems & Applications20 Data Distribution Choices Source rooted trees State in routers for each sender Forms shortest path tree from each sender to receivers Minimal delays from sources to destinations Shared trees All senders use the same distribution tree State in routers only for wanted groups No per sender state (until IGMPv3) Greater latency for data distribution

Multimedia Systems & Applications21 Source Rooted vs Shared Trees B A C D B A C D Source Rooted Trees Shared Tree Traffic is heavily concentrated on some links while others get little utilization. Routers maintain state for each sender in a group. Often does not use optimal path from source to destination.

Multimedia Systems & Applications22 Distance Vector Multicast Routing (DVMRP [Deering88]) Source rooted spanning trees Shortest path tree Minimal hops (latency) from source to receivers Extends basic distance vector routing Flood and prune algorithm Initial data sent to all nodes in network using RPF Prunes remove unwanted branches State in routers for all unwanted groups Periodic flooding since prune state times out (soft state)

Multimedia Systems & Applications23 DVMRP Problems Problems of distance vector routing State maintained for unwanted groups Bandwidth intensive Periodic data flooding per group No explicit joins, and prune state times out Not suitable for heterogeneous networks Poorly handles large number of senders Scaling = O(Senders, Groups)

Multimedia Systems & Applications24 Multicast Tunneling Problem Not all routers are multicast capable Want to connect domains with non-multicast routers between them Solution Encapsulate multicast packets in unicast packet Tunnel multicast traffic across non-multicast routers Internet MBONE Multicast capable virtual subnet of Internet Native multicast regions connection with tunnels

Multimedia Systems & Applications25 Multicast Tunneling Example (1) UR1UR2 Multicast Router 1 Multicast Router 2 Sender 1 Encapsulated Data Packet Unicast Routers Multicast Router 1 encapsulates multicast packets for groups that have receivers outside of network 1. It encapsulates them as unicast IP-in-IP packets. Network 1 Receiver Network 2 Multicast Router 2 decapsulates IP-in-IP packets. It then forwards them using Reverse Path Multicast.

Multimedia Systems & Applications26 Multicast Tunneling Example (2) MR1MR2 Virtual Interfaces Virtual Network Topology

Multimedia Systems & Applications27 Multicast Problems Debugging is difficult Immature protocols and applications Interoperability Flood and prune/explicit join Routing instability

Multimedia Systems & Applications28 Operational Problems Debugging is difficult Misconfigured routers inject unicast routing tables into multicast routing tables Black holes Cisco to Cisco tunneling using DVMRP doesn’t work Routes exchanged, but no data flows RPF checks on different routers think multicast traffic should be coming from the other router Backchannel tunnels Improper tunnels cause non-optimal routing behavior

Multimedia Systems & Applications29 Multicast Address Allocation Problem Multicast addresses are a limited resource Current multicast address allocation scheme does not scale and makes multicast routing more difficult Solution Use dynamically allocated addresses Location of address allocation determines root of shared tree Hierarchical address allocation scales better and helps multicast routing

Multimedia Systems & Applications30 Multicast Address Allocation Architecture Multicast Address Set Claim (MASC) Protocol to allocate multicast address sets to domains Algorithm: Listen and claim with collision detection Makes hierarchy available to routing infrastructure Address Allocation Protocol (AAP) Protocol for allocating multicast addresses within domains Used by Multicast Address Allocation Servers (MAAS) MDCHP (Multicast DHCP) Protocol for end hosts to request multicast address Extension to DHCP (Dynamic Host Configuration Protocol)

Multimedia Systems & Applications31 Multicast Address Allocation Example MAAS MDHCP MAAS MDHCP MAAS MDHCP MAAS MASC Multicast AAP MASC TCP MASC Exchanges Allocation Domain

Multimedia Systems & Applications32 Scoping Multicast Traffic TTL based Based on Time to Live (TTL) field in IP header Only packets with a TTL > threshold cross boundary Administrative scoping Set of addresses is not forwarded past domain More flexible than TTL based. Scoped addresses * never leaves subnet

Multimedia Systems & Applications33 TTL Scoping Example R1 R3 Receiver 3 Receiver 1 Sender R2 Receiver 2 Network 1 Network 2 Network 3 Network 4 TTL=1 TTL=2 TTL=3 R4 TTL=4 TTL=33 R4 blocks traffic with TTL < 32

Multimedia Systems & Applications34 Administrative Scoping Example R1R2R3R4 Host CAIRN High Speed Network UC Berkeley Network To Rest of World To Rest of World Administrative scoping allows traffic to be limited to a region based on its multicast group address, resulting in more flexible network configurations. The Host can send traffic that is limited to only the CAIRN High Speed Network, to only the UC Berkeley Network, to both, or to the rest of the world : Traffic scoped to only the CAIRN High Speed Network : Traffic scoped to only the UC Berkeley Network : Traffic scoped to both the CAIRN and UC Berkeley Networks : Traffic scoped to the rest of the world

Multimedia Systems & Applications35 ISP Concerns Multicast causes high network utilization One source can produce high total network load Experimental multicast applications are relatively high bandwidth: audio and video Flow control non-existent in many multicast apps Multicast breaks TELCO/ISP pricing model Currently, both sender and receiver pay for bandwidth Multicast allows sender to buy less bandwidth while reaching same number of receivers Load on ISP network not proportional to source data rate

Multimedia Systems & Applications36 Economics of Multicast One packet sent to multiple receivers Sender + Benefits by reducing network load compared to unicast + Lower cost of network connectivity Network service provider - One packet sent can cause load greater than unicast packet load + Reduces overall traffic that flows over network Receiver = Same number of packets received as unicast

Multimedia Systems & Applications37 Campus Network Operator Concerns Needs to control traffic distribution Campus has some networks with and without capacity to carry multicast traffic Applications produce multiple streams – different bit rates Want to control where high bit rate streams are transmitted Needs stable protocol that works with different vendor equipment Reduce the number of phone calls to netops

Multimedia Systems & Applications38 Multicast Problems Multicast is immature Tools are poor, difficult to use Routing protocols leave many issues unresolved PIM support limited and does not interoperate Multicast development has focused on academic problems, not business concerns Routing did not address policy PIM, DVMRP, CBT do not address ISP policy concerns BGMP addresses some ISP concerns, but it is still under development

Multimedia Systems & Applications39 Current ISP Multicast Solution Restrict senders of multicast data ISP’s beginning to support multicast Customers are demanding service Long-term solution to traffic growth problem Multicast interchanges (MIX) being established Similar to unicast exchange centers

Multimedia Systems & Applications40 What’s the Alternative Broadcast distribution networks (e.g., broadcast.com, real, etc.) Build private network with traffic splitters in remote sites Client connects to nearest traffic splitter Build cache at remote sites

Multimedia Systems & Applications41 Splitter Network S Streaming Server S S S

Multimedia Systems & Applications42 Future Directions Improving applications and networks for distributed multimedia Make applications more adaptive Make protocols more resilient to loss Make algorithms more resilient to loss Make networks more responsive and flexible Develop new models/protocols for multicast services Fix routing problems