1 Chapter 16b Multicasting. Chapter 16b Multicasting 2 Multicasting Applications Multimedia Multimedia –television, presentations, etc. Teleconferencing.

Slides:



Advertisements
Similar presentations
Introduction 1 Lecture 22 Network Layer (Broadcast and Multicast) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
Advertisements

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 –
Multicast on the Internet CSE April 2015.
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.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 12 Multicasting And Multicast.
1 Internet Networking Spring 2006 Tutorial 7 DVMRP.
TCP/IP Protocol Suite 1 Chapter 15 Upon completion you will be able to: Multicasting and Multicast Routing Protocols Differentiate between a unicast, multicast,
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:
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.
Network Layer session 1 TELE3118: Network Technologies Week 8: Network Layer Multicast, Mobility Some slides have been taken from: r Computer Networking:
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.
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.
Multicast Routing Wed. 28 MAY Introduction based on number of receivers of the packet or massage: “A technique for the efficient distribution of.
1 CSE 401N:Computer Network LECTURE-14 MULTICAST ROUTING.
MULTICASTING Network Security.
Network Layer 4-1 Chapter 4 Network Layer. Network Layer 4-2 Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3.
© 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.
Multimedia Networking #6 IP Multicast Semester Ganjil 2012 PTIIK Universitas Brawijaya.
Lect1..ppt - 03/28/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 16 Exterior Routing Protocols And Multicasting by Zornitza Genova.
Multicasting  A message can be unicast, multicast, or broadcast.
© 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.
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.
CSC 600 Internetworking with TCP/IP Unit 8: IP Multicasting (Ch. 17) Dr. Cheer-Sun Yang Spring 2001.
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
Multicast Routing Protocols. The Need for Multicast Routing n Routing based on member information –Whenever a multicast router receives a multicast packet.
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.
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.
Chapter 16 Exterior Routing Protocols and Multicasting 1 Chapter 16 Exterior Routing Protocols And Multicasting.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
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.
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.
CMPE 252A: Computer Networks Set 11:
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.
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.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
Communication Networks Recitation 11. Multicast & QoS Routing.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
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
CMPE 252A: Computer Networks
ECE544: Communication Networks-II Spring 2013
Multicast on the Internet
Implementing Multicast
Optional Read Slides: Network Multicast
Presentation transcript:

1 Chapter 16b Multicasting

Chapter 16b Multicasting 2 Multicasting Applications Multimedia Multimedia –television, presentations, etc. Teleconferencing Teleconferencing –voice and video Database Database –replication and updates Distributed computing and real-time workgroup Distributed computing and real-time workgroup –exchange of results, files, graphics, messages, etc. QoS Attributes

Chapter 16b Multicasting 3 Multicast Example - Broadcast (or “Flooding”)

Chapter 16b Multicasting 4 Multiple Unicast Example

Chapter 16b Multicasting 5 Multicast Strategies

Chapter 16b Multicasting 6 True Multicast Source knows network location of multicast group members Source knows network location of multicast group members –identifies least cost path to each member –establishes a partial spanning tree to reach all group member networks Source node sends single packet along tree path Source node sends single packet along tree path Packet is replicated by routers at each branch point in path Packet is replicated by routers at each branch point in path

Chapter 16b Multicasting 7 True Multicast Example

Chapter 16b Multicasting 8 Multicast Operation Spanning Tree from Source Multicast Group Packets Generated for Transmission

Chapter 16b Multicasting 9 Multicast Strategies

Chapter 16b Multicasting 10 Multicast Requirements Unique multicast addressing scheme Unique multicast addressing scheme –IPv4 Class D addresses: 1110, followed by 28- bit group identifier –IPv6: , 3 flag bits, 4 scope bits, and 112-bit group identifier Nodes must be able to translate between multicast addresses and list of networks that have members Nodes must be able to translate between multicast addresses and list of networks that have members Routers must translate between multicast address and subnetwork addressing (e.g. MAC multicast) Routers must translate between multicast address and subnetwork addressing (e.g. MAC multicast) Must have mechanism for hosts to inform routers of group membership/exclusion Must have mechanism for hosts to inform routers of group membership/exclusion Routers must have mechanism for determining and applying multicast routing paths (multiple outbound paths for the same received packet) Routers must have mechanism for determining and applying multicast routing paths (multiple outbound paths for the same received packet)

Chapter 16b Multicasting 11 Multicast Operation - Duplication Avoidance Spanning Tree from Router C to Multicast Group How do you avoid this problem?

Chapter 16b Multicasting 12 Multicast Operation - Duplication Avoidance Multicast routing is based on knowledge of source as well as multicast destination Multicast routing is based on knowledge of source as well as multicast destination Each router must calculate spanning tree for source node and route on that basis Each router must calculate spanning tree for source node and route on that basis Multicast routing algorithms must support this capability Multicast routing algorithms must support this capability Spanning Tree from Source Multicast Group

Chapter 16b Multicasting 13 Internet Multicast Service Model multicast group concept: use of indirection –hosts addresses IP datagram to multicast group –routers forward multicast datagrams to hosts that have “joined” that multicast group (source) (m/c group member) (m/c group member) (m/c group member) multicast group

Chapter 16b Multicasting 14  class D Internet addresses reserved for multicast:  host group semantics:  anyone can “join” (receive) multicast group  anyone can send to multicast group  no network-layer identification to hosts of members  needed: infrastructure to deliver mcast- addressed datagrams to all hosts that have joined that multicast group Multicast groups

Chapter 16b Multicasting 15 Multicast Routing Mechanisms Group-Shared or Center-Based Tree Group-Shared or Center-Based Tree –Single optimum (shortest path) shared tree for all senders/ receivers –Typically based on use of a “center” (rendezvous point) of the tree Source-Based Tree Source-Based Tree –Optimum routing tree for each source (sender) in a multicast group –Typically uses reverse path forwarding

Chapter 16b Multicasting 16 Center-Based Routing Trees Single delivery tree shared by all Single delivery tree shared by all One router identified as “center” of tree, designated the rendezvous point One router identified as “center” of tree, designated the rendezvous point 1.edge router sends unicast join-msg addressed to the rendezvous point (center router) 2.join-msg “processed” by intermediate routers and forwarded towards center 3.join-msg either hits existing tree branch for this center, or arrives at center 4.path taken by join-msg becomes new branch of tree for this router

Chapter 16b Multicasting 17 Center-Based Routing Example Suppose R6 chosen as center: R1 R2 R3 R4 R5 R6 R7 router with attached group member router with no attached group member path order in which join messages generated LEGEND:

Chapter 16b Multicasting 18 Source-Based Trees with Reverse Path Forwarding if (mcast datagram received on incoming link on shortest path back to sender) then flood datagram onto all outgoing then flood datagram onto all outgoing links links else ignore datagram else ignore datagram  Rely on router’s knowledge of unicast shortest path from it to sender  Each router has simple forwarding behavior:

Chapter 16b Multicasting 19 Reverse-Path Forwarding Example R1 R2 R3 R4 R5 R6 R7 LEGEND S: source router with attached group member router with no attached group member datagram will be forwarded datagram will not be forwarded

Chapter 16b Multicasting 20 Reverse-Path Forwarding Example forwarding tree contains subtrees with no multicast group members forwarding tree contains subtrees with no multicast group members –no need to forward datagrams down subtree –“prune” messages are sent upstream by router with no downstream group members R1 R2 R3 R4 R5 R6 R7 router with attached group member router with no attached group member prune message LEGEND S: source links with multicast forwarding P P P

Chapter 16b Multicasting 21 IGMPv4 Message Format Type Type –Membership Query: learn group members on network –Membership Report: declare group membership –Leave Group: declare departure from group Max Response Time Max Response Time –in Membership Query only –max time before sending response in 1/10 second units Checksum: Checksum: 16-bit ones complement Group Address: Group Address: IP multicast address (zero in request message) RFC 2236

Chapter 16b Multicasting 22 IGMP Operation Hosts send Membership Report to join groups Hosts send Membership Report to join groups –sent in IP datagram with IP destination address equal to Group Address –therefore, routers and other hosts are informed of new member Multicast routers periodically broadcast Membership Query to maintain current list Multicast routers periodically broadcast Membership Query to maintain current list –hosts must reply with Report for each group in which it wants to remain –if a host hears another Membership Report for one of its groups within a random timer value (< maximum response time), it cancels its report (why??) Hosts send Leave when it leaves a group Hosts send Leave when it leaves a group –Routers then use group-specific Query to determine if any other member of this group are left

Chapter 16b Multicasting 23 IPv6 Group Membership IGMP-like functions incorporated into new version of ICMP for IPv6 (ICMPv6) IGMP-like functions incorporated into new version of ICMP for IPv6 (ICMPv6) ICMPv6 includes group membership query and report messages, and a new group membership termination message ICMPv6 includes group membership query and report messages, and a new group membership termination message

Chapter 16b Multicasting 24 Multicast Routing Algorithms DVMRP: distance vector source-based with RPF/RPM, based on RIP DVMRP: distance vector source-based with RPF/RPM, based on RIP MOSPF: link-state source-based, extension of OSPF MOSPF: link-state source-based, extension of OSPF CBT: core-based tree CBT: core-based tree PIM-DM: protocol independent, dense PIM-DM: protocol independent, dense PIM-SM: protocol independent, sparse PIM-SM: protocol independent, sparse MBONE: tunneling via backbone MBONE: tunneling via backbone

Chapter 16b Multicasting 25 Distance-Vector Multicast Routing Protocol (DVMRP) The first and, arguably, most widely- deployed multicast routing algorithm used in the Internet The first and, arguably, most widely- deployed multicast routing algorithm used in the Internet Straightforward implementation of source- based trees Straightforward implementation of source- based trees –with reverse-path forwarding and pruning –pruned branches automatically restored after specified “prune lifetime” Uses distance-vector algorithm to determine next hop for best path back to the source Uses distance-vector algorithm to determine next hop for best path back to the source

Chapter 16b Multicasting 26 Multicast Extensions to OSPF Direct extension to OSPF unicast routing Direct extension to OSPF unicast routing MOSPF is designed to operate within a single AS to generate source-specific, pre-pruned, least-cost trees for each multicast group MOSPF is designed to operate within a single AS to generate source-specific, pre-pruned, least-cost trees for each multicast group Multicast spanning trees calculated on demand using Dijkstra’s algorithm Multicast spanning trees calculated on demand using Dijkstra’s algorithm Routers periodically flood group membership information to all other routers in its area Routers periodically flood group membership information to all other routers in its area –added to the link-state advertisements that are used with OSPF

Chapter 16b Multicasting 27 MOSPF Routing

Chapter 16b Multicasting 28 Protocol Independent Multicast (PIM) More general solution to multicast routing More general solution to multicast routing –Key assumption: members of any given multicast group are few and widely-dispersed Independent of underlying unicast routing algorithm Independent of underlying unicast routing algorithm Uses multiple shortest-path unicast routing approach Uses multiple shortest-path unicast routing approach Two modes of operation (actually, two separate algorithms): Two modes of operation (actually, two separate algorithms): –dense mode: intra-AS –sparse mode: inter-AS

Chapter 16b Multicasting 29 PIM: Protocol Independent Multicast not dependent on any specific underlying unicast routing algorithm (works with all) not dependent on any specific underlying unicast routing algorithm (works with all) two different multicast distribution scenarios : two different multicast distribution scenarios : Dense:  group members densely packed, in “close” proximity.  bandwidth more plentiful Sparse:  # networks with group members small wrt # interconnected networks  group members “widely dispersed”  bandwidth not plentiful

Chapter 16b Multicasting 30 Consequences of Sparse-Dense Dichotomy: Dense group membership by routers assumed until routers explicitly prune group membership by routers assumed until routers explicitly prune data-driven construction on mcast tree (e.g., RPF) data-driven construction on mcast tree (e.g., RPF) bandwidth and non- group-router processing profligate bandwidth and non- group-router processing profligate Sparse : no membership until routers explicitly join no membership until routers explicitly join receiver- driven construction of mcast tree (e.g., center- based) receiver- driven construction of mcast tree (e.g., center- based) bandwidth and non- group-router processing conservative bandwidth and non- group-router processing conservative

Chapter 16b Multicasting 31 PIM- Dense Mode flood-and-prune RPF, similar to DVMRP or MOSPF but  underlying unicast protocol provides RPF info for incoming datagram  less complicated (less efficient) downstream flood than DVMRP reduces reliance on underlying routing algorithm  has protocol mechanism for router to detect it is a leaf-node router

Chapter 16b Multicasting 32 Sparse-mode PIM Operation One router is designated as the RP (rendezvous point) for each multicast group (center-based tree, like CBT algorithm) One router is designated as the RP (rendezvous point) for each multicast group (center-based tree, like CBT algorithm) Group destination routers send Join messages to RP requesting membership for its hosts in the RP’s group Group destination routers send Join messages to RP requesting membership for its hosts in the RP’s group –uses a unicast shortest path route selection (e.g. RIP) –reverse of this path becomes part of that RP’s shared distribution tree Source nodes send messages intended for a group to the RP for that group Source nodes send messages intended for a group to the RP for that group –uses a unicast shortest path route from source to RP –RP routes packets, using the group-shared tree, back toward routers that have “Join”ed that group

Chapter 16b Multicasting 33 PIM - Sparse Mode center-based approach center-based approach Group router(s) send join msg to the rendezvous point (RP) Group router(s) send join msg to the rendezvous point (RP) –intermediate routers update state and forward the join after joining via RP, router can switch from the group- shared tree to a source- specific tree after joining via RP, router can switch from the group- shared tree to a source- specific tree –increased performance: less concentration, shorter paths R1 R2 R3 R4 R5 R6 R7 join rendezvous point

Chapter 16b Multicasting 34 PIM - Sparse Mode Multicast sources(s): “Register” with RP “Register” with RP RP can extend the multicast tree upstream to a source RP can extend the multicast tree upstream to a source Send data to RP, via unicast path, which then distributes data down RP-rooted tree Send data to RP, via unicast path, which then distributes data down RP-rooted tree RP can send stop msg to a source if all receivers “leave” a group RP can send stop msg to a source if all receivers “leave” a group –“no one is listening!” R1 R2 R3 R4 R5 R6 R7 all data multicast from Rendezvous Point RP Source

Chapter 16b Multicasting 35 PIM Routing Example   