Multicast on the Internet CSE 6590 116 April 2015.

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.
Multicasting 1. Multicast Applications News/sports/stock/weather updates Distance learning Configuration, routing updates, service location Pointcast-type.
1  Changes in IPv6 – Expanded addressing capabilities (32 to 128 bits), anycast address – A streamlined 40-byte header – Flow labeling and priority –
Multicasting CSE April Internet Multicast Service Model Multicast group concept: use of indirection a host “sends” IP datagrams to multicast.
Multicast1 Instructor: Anirban Mahanti Office: ICT Slides are adapted from the companion web site of the textbook “
Multicast Routing: Problem Statement r Goal: find a tree (or trees) connecting routers having local mcast group members m tree: not all paths between routers.
1 Internet Networking Spring 2004 Tutorial 7 Multicast Routing Protocols.
1 Internet Networking Spring 2006 Tutorial 7 DVMRP.
Network Layer4-1 Spanning trees r Suppose you have a connected undirected graph m Connected: every node is reachable from every other node m Undirected:
COS 420 Day 18. Agenda Group Project Discussion Program Requirements Rejected Resubmit by Friday Noon Protocol Definition Due April 12 Assignment 3 Due.
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.
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.
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.
Group Management n Introduction n Internet Group Management Protocol (IGMP) n Multicast Listener Discovery (MLD) protocol.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
Multicast Routing Protocols NETE0514 Presented by Dr.Apichan Kanjanavapastit.
Network Layer4-1 R1 R2 R3R4 source duplication R1 R2 R3R4 in-network duplication duplicate creation/transmission duplicate Broadcast Routing r Deliver.
Multicast Sources: Kurose and Ross cast/addresstranslation_01.html.
Network Layer introduction 4.2 virtual circuit and datagram networks 4.3 what’s inside a router 4.4 IP: Internet Protocol  datagram format  IPv4.
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.
1 Chapter 16b Multicasting. Chapter 16b Multicasting 2 Multicasting Applications Multimedia Multimedia –television, presentations, etc. Teleconferencing.
CS 5565 Network Architecture and Protocols Godmar Back Lecture 22.
Broadcast and Multicast. Overview Last time: routing protocols for the Internet  Hierarchical routing  RIP, OSPF, BGP This time: broadcast and multicast.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks  4.3 What ’ s inside a router r 4.4 IP: Internet.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
Chapter 15 Multicasting and Multicast Routing
IPv6. r Initial motivation: 32-bit address space soon to be completely allocated. r Additional motivation: m header format helps speed processing/forwarding.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
IP Multicast COSC Addressing Class D address Ethernet broadcast address (all 1’s) IP multicast using –Link-layer (Ethernet) broadcast –Link-layer.
Multicast 1 Spencer Tsai Mobile Communication & Broadband Network Lab CSIE Fu-Jen Catholic University Introduction to Multicast.
Broadcast and multicast routing. R1 R2 R3R4 source duplication R1 R2 R3R4 in-network duplication duplicate creation/transmission duplicate Broadcast Routing.
Introduction to Multicast Routing Protocols
© J. Liebeherr, All rights reserved 1 IP Multicasting.
Network Layer4-1 Chapter 4 roadmap 4.1 Introduction and Network Service Models 4.2 Routing Principles 4.3 Hierarchical Routing 4.4 The Internet (IP) Protocol.
Multicasting CSE 6590 Winter December 2015.
1 IP Multicasting Relates to Lab 10. It covers IP multicasting, including multicast addressing, IGMP, and multicast routing.
4: Network Layer4-1 Chapter 4: Network Layer Last time: r Internet routing protocols m RIP m OSPF m IGRP m BGP r Router architectures r IPv6 Today: r IPv6.
Chapter 21 Multicast Routing
Network Layer4-1 Chapter 4 roadmap 4.1 Introduction and Network Service Models 4.2 Routing Principles 4.3 Hierarchical Routing 4.4 The Internet (IP) Protocol.
Multicast Communications
Spring 2006CS 3321 Multicast Outline Link-state Multicast Distance-vector Multicast Protocol Independent Multicast.
4.6 Multicast at the Network Layer Introduction: The Internet multicast abstraction and multicast groups The IGMP Protocol Multicast.
1 Protocol Independent Multicast (PIM) To develop a scalable protocol independent of any particular unicast protocol –ANY unicast protocol to provide routing.
2/25/20161 Multicast on the Internet CSE 6590 Fall 2009.
Internet Multicasting Routing: DVMRP r DVMRP: distance vector multicast routing protocol, RFC1075 r flood and prune: reverse path forwarding, source-based.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
Application Layer 2-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A.
Multicasting protocols
Multicast Outline Multicast Introduction and Motivation DVRMP.
(How the routers’ tables are filled in)
CMPE 252A: Computer Networks
ECE544: Communication Networks-II Spring 2013
Multicasting and Multicast Routing Protocols
ECE544: Communication Networks-II Spring 2018
IP Multicasting By Behzad Akbari Fall 2008
Multicast on the Internet
IP Multicasting Let one packet go to multiple addresses and you can save much bandwidth. That’s the promise of IP multicasting…
IP Multicast COSC /5/2019.
EE 122: Lecture 13 (IP Multicast Routing)
Implementing Multicast
Optional Read Slides: Network Multicast
Presentation transcript:

Multicast on the Internet CSE April 2015

Multicast Addressing Class D address (see next slide) Source: unicast IP address S Receivers: multicast group ID G, a class-D address Each group is identified by (S, G) Ethernet broadcast address (all 1’s) 2 ways of doing IP multicast at the link layer: – Link-layer (Ethernet) broadcast – Link-layer (Ethernet) multicast Both cases need filtering at IP layer. 2

IPv4 Address Formats 3

Multicast Addressing at Link Layer 1. Link-layer (Ethernet) broadcast IP multicast packet is encapsulated in an Ethernet broadcast frame and transmitted on the bus. Every host picks up the Ethernet frame and does filtering at the IP layer to decide whether to keep or discard the frame. 2. Link-layer (Ethernet) multicast Requires a mapping of IP multicast address to an Ethernet multicast address (see next slide). There are up to 32 IP class-D addresses mapped to the same Ethernet multicast address. The IP module still has to filter out packets for non-member hosts. 4

Mapping from Class D IP adress to Ethernet multicast adress 5

Internet Multicast Service Model Multicast group concept: use of indirection a host “sends” IP datagrams to multicast group. routers forward multicast datagrams to hosts that have “joined” that multicast group multicast group

Multicast groups  Class D Internet addresses reserved for multicast:  Host group semantics: oanyone can “join” (receive from) multicast group. oanyone can send to multicast group. ono network-layer identification to hosts of members.  Needed: infrastructure to deliver multicast-addressed datagrams to all hosts that have joined that multicast group. 7

Multicast Protocols Transport layer UDP Real-time Transport Protocol (RTP): for multimedia content ReSerVation Protocol (RSVP): for bandwidth reservation in a multicast distribution 8

Multicast Protocols (2) Routing, delivery On a local network (join/leave): – Internet Group Management Protocol (IGMP) – Multicast Listener Discovery (MLD): similar to IGMP but for IPv6 Intra-domain (routing): – MOSPF, PIM, DVMRP Inter-domain (routing): – Multicast Border Gateway Protocol (MBGP) 9

Joining a multicast group: 2-step process Local: host informs local multicast router of desire to join group: IGMP (Internet Group Management Protocol) Wide area: local router interacts with other routers to receive multicast datagram flow – many protocols (e.g., DVMRP, MOSPF, PIM) 10 IGMP wide-area multicast routing

IGMP: Internet Group Management Protocol Router: sends IGMP query at regular intervals – hosts belonging to a multicast group must reply to query if wishing to join or stay in the group. Host: sends IGMP report (reply) when application wishes to join a multicast group. – IP_ADD_MEMBERSHIP socket option – hosts need not explicitly “unjoin” group when leaving 11 query report

IGMP Router: broadcasts Host Membership Query message on LAN. Host: replies with Host Membership Report message to indicate group membership – randomized delay before responding – cancel its own report if hearing another – implicit leave via no reply to Query Group-specific Query Leave Group message – Last host replying to Query can send explicit Leave Group message – Router performs group- specific query to see if any hosts left in group – Introduced in RFC 2236 IGMP v3: current version 12

IGMP: Summary For membership management. Between a host on a subnet (Ethernet) and the router for the subnet. The router periodically broadcast an IGMP host-membership query message on its subnet. A host subscribes to a group replies by multicasting a host- membership report message. – Note: feedback implosion  uses a random timer. The report is sent 3 times (for reliability). IGMP-1: hosts send no report  leaving the group IGMP-2: hosts send explicit host-membership leave messages to reduce leave latency. 13

Reverse Path Forwarding Building a loop-free broadcast tree No knowledge of group membership 14

Reverse Path Forwarding (2) if (multicast datagram received on incoming link on shortest path back to sender) then flood datagram onto all outgoing links else ignore datagram  rely on router’s knowledge of unicast shortest path from it to sender  each router has simple forwarding behavior: 15

Reverse Path Forwarding: Example 16 A B G D E c F

Spanning-Tree Broadcast 17 A B G D E c F A B G D E c F (a) Broadcast initiated at A (b) Broadcast initiated at D

Truncated Broadcasting Extension of Reverse Path Forwarding. No members of a group on a subnet  leaf router will not forward packets of this group to the subnet (pruning). But does not reduce traffic in the core network. More efficient multicast routing is needed!!! 18

Internet Multicasting Routing: DVMRP DVMRP: distance vector multicast routing protocol, RFC1075. Flood and prune: reverse path forwarding, source- based tree. – initial datagram to multicast group is flooded everywhere via RPF – routers not wanting the multicast data: send prune messages to upstream neighbors 19

DVMRP Example R1 R2 R3 R4 R5 R6 R i router with attached group member router with no attached group member link used for forwarding, i indicates order link added by algorithm LEGEND S: source 20

DVMRP Details Soft state: DVMRP router periodically (1 min.) “forgets” that branches are pruned: – multicast data again flows down unpruned branches. – downstream routers: reprune or else continue to receive data. Routers can quickly re-graft to tree following an IGMP join at a leaf router by sending a “graft” message upstream. Deployment: – commonly implemented in commercial routers. – Mbone routing done using DVMRP. Works well in small autonomous domains. 21

DVMRP: Summary Distance Vector Multicast Routing Protocol Leaf router sends a prune message to neighbouring routers when there is no group member on the subnet. Intermediate routers perform pruning whenever possible. Flooding and pruning are repeated periodically, when the current state times out. Between flooding rounds, a leaf router can re-join a group by sending a graft message upstream. Intermediate routers propagates the graft message upstream until the path is re-connected. 22

Multicast Routing Approaches Minimum cost trees – Steiner trees Shortest path trees – Source-based trees – Core-based trees …we first look at basic approaches, then specific protocols adopting these approaches 23

Steiner Trees Steiner Tree: minimum cost tree connecting all routers with attached group members. Problem is NP-complete. Excellent heuristics exist. Not used in practice: – computational complexity. – information about entire network needed. – monolithic: rerun whenever a router needs to join/leave. 24

Shortest Path Tree Multicast cast forwarding tree: tree of shortest path routes from source to all receivers. – Dijkstra’s algorithm. R1 R2 R3 R4 R5 R6 R i router with attached group member router with no attached group member link used for forwarding, i indicates order link added by algorithm LEGEND S: source 25

MOSPF Extends OSPF for multicasting. Every router has the complete topology of its autonomous system. A receiver joins a multicast group G by exchanging IGMP messages with its end-router R. The end-router R broadcasts its group membership to the whole network in the form (G, R). Every router in the network maintains a group membership table with each entry being a tuple [S, G, ]. A sender simply sends data packets as they are available. Each router uses the network topology, the group membership table, and the multicast group ID in the data packets to compute the route(s) to the destination(s). 26

Core-Based Trees For many-to-many multicast. Protocols: CBT, PIM-SM, PIM-DM (Protocol Independent Multicast, sparse/dense mode) Purpose: to reduce the amount of routing info stored at routers when a multicast group has a large number of members and multiple senders. A multicast group requires a core (rendez-vous point). Receivers “join” the (shortest-path) tree rooted at the core  only one tree per multicast group (used for multiple senders). Sources send multicast data to the core, which then multicasts the data to the tree. 27

MBone Multicast backbone of the Internet. Not all routers support multicast routing protocols and IGMP. Connecting multicast-capable routers using (virtual) IP tunnels. Was a long-running experimental approach to enabling multicast between sites through the use of tunnels. No longer operational. 28

References Multicasting on the Internet and Its Applications, Sanjoy Paul, Kluwer Academic Publishers, 1998, chapters 2, 4, 5. Computer Networking: A Top-Down Approach, 5 th edition, Kurose and Ross. 29