IP Multicast Lecture 4: PIM-SM Carl Harris Communications Network Services Virginia Tech.

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.
IP Multicast Lecture 2: PIM-SM Carl Harris Communications Network Services Virginia Tech.
1 Internet Networking Spring 2004 Tutorial 7 Multicast Routing Protocols.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 3 1 IP Multicasting: Multicast Routing Protocols.
IP Multicasting: Explaining 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.
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.
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.
COMS/CSEE 4140 Networking Laboratory Lecture 11 Salman Abdul Baset Spring 2008.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
Multicast Brad Smith. Administrativia Next (8 th ) week – Project status report due Tuesday, 5/21 – Review STP and Multicast lab Tuesday, 5/21 – BGP lab.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Multicasting And Multicast Routing Protocols.
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.
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.
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.
Multicast Outline Multicast revisited Protocol Independent Multicast - SM Future Directions.
Methods and Needs for Multicast Applications
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.
IP Multicast Lecture 3: PIM-SM Carl Harris Communications Network Services Virginia Tech.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
IP Multicast Part I: Fundamentals Carl Harris Communications Network Services Virginia Tech.
Computer Science 6390 – Advanced Computer Networks Dr. Jorge A. Cobb Deering, Estrin, Farinacci, Jacobson, Liu, Wei SIGCOMM 94 An Architecture for Wide-Area.
Introduction to IP Multicast
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.
CS 4396 Computer Networks Lab IP Multicast - Fundamentals.
Broadcast and multicast routing. R1 R2 R3R4 source duplication R1 R2 R3R4 in-network duplication duplicate creation/transmission duplicate Broadcast Routing.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
All Rights Reserved © Alcatel-Lucent 2006, ##### Improved Register Procedure in PIM-SM draft-wen-pim-improved-register-00.txt Haibo WEN.
1 © 2000, Cisco Systems, Inc _05_2000_c2 Server Router Unicast Server Router Multicast Unicast vs. Multicast.
Fundamentals of IP Multicast
IP multicast Advisor: Prof. Wanjiun Liao Instructor: De-Nian Yang
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.
©The McGraw-Hill Companies, Inc., 2000© Adapted for use at JMU by Mohamed Aboutabl, 2003Mohamed Aboutabl1 1 Chapter 14 Multicasting And Multicast Routing.
Multicast Routing Babu Ram Dawadi.
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.
Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.
Spring 2006CS 3321 Multicast Outline Link-state Multicast Distance-vector Multicast Protocol Independent 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.
1 Group Communications: MOSPF and PIM Dr. Rocky K. C. Chang 19 March, 2002.
Unnecessary Multicast Flooding Problem Statement
Communication Networks Recitation 11. Multicast & QoS Routing.
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.
Engineering Workshops 96 ASM. Engineering Workshops 97 ASM Allows SPTs and RPTs RP: –Matches senders with receivers –Provides network source discovery.
22.1 Network Layer Delivery, Forwarding, and Routing.
DMET 602: Networks and Media Lab
Multicast Outline Multicast Introduction and Motivation DVRMP.
(How the routers’ tables are filled in)
CMPE 252A: Computer Networks
RST-120 © 2001, Cisco Systems, Inc. All rights reserved. 1.
IP Multicasting Let one packet go to multiple addresses and you can save much bandwidth. That’s the promise of IP multicasting…
Multicast Outline Multicast revisited
Chapter 10 IGMP Prof. Choong Seon HONG.
IP Multicast COSC /5/2019.
Implementing Multicast
Optional Read Slides: Network Multicast
Presentation transcript:

IP Multicast Lecture 4: PIM-SM Carl Harris Communications Network Services Virginia Tech

Looking Back IGMP –Internet Group Management Protocol –Used by hosts and routers to manage multicast group management –Triggers changes in forwarding states on last- hop routers. –Efficiency mechanisms Random delay before responding to queries Single IGMP Querier router IGMPv2 leave processing

Looking Back PIM-SM –Protocol Independent Multicast, Sparse-Mode –Rendezvous Point (RP): root of the shared tree for a group G –RP Tree (RPT): the shared tree for a group G, leading to all members of group G. –SP Tree: (SPT): the shortest path tree from a source S to a subset of the members of group G.

Looking Back PIM-SM –Join/Prune message: Sent by routers in response to changes in group membership, or receipt of packets from a source. Used to add branches to a tree (join) or remove branches from a tree (prune). Propogates from the leaves of a distribution tree towards the root. Not forwarded. Triggered by changes in forwarding states on the “downstream” router. Triggers changes in forwarding states on the router receiving the message.

Looking Back PIM-SM –Register messages: Unicast packets used to deliver multicast packets from a source to the root of the shared tree (RPT). Sent by the DR when multicast packets are received from a directly connected source. –Register-Stop messages: Sent by the RP to inhibit a first-hop DR from sending Register messages for a particular source. Sent when the RP joins the shortest path tree for a particular source.

Looking Back Forwarding states –Created and deleted dynamically by routers as a result of trigger events. Changes in group membership Discovery of new multicast sources for a group –(*,G) state: determines how packets received on the shared tree are forwarded. –(S,G) state: determines how packets received from a particular source are forwarded.

Looking Back Multicast Packet Forwarding –Reverse Path Forwarding (RPF): prevents forwarding loops. –Source discovery occurs as sources send packets to a group triggers changes in forwarding states on the receiving router leads to the construction of shortest path trees

Looking Forward Closer investigation of Join and Prune processing. Bootstrap: how PIM routers figure out which router is the Rendezvous Point (RP). PIM on Multi-access networks (we’ve only seen point-to-point). Assertion: how PIM routers deal with parallel routers on a particular subnet.

PIM Join/Prune Message Each Join/Prune message contains –Address of a group G whose distribution tree will be modified. –List of sources to forward on a particular link in the distribution tree for G. (join list) –List of sources to drop on a particular link of the distribution tree for G. (prune list) –Upstream (RPF) neighbor address, needed in multi-access network operation.

A Closer Look at PIM Join Consider the case of a PIM Join/Prune message for group G with a single source S in the join list and a null prune list. –We think of this as a PIM Join for source S sending to group G. –We’ll use the notation Join(S,G) to represent a PIM Join/Prune message with these contents.

A Closer Look at PIM Join Suppose a Join(S,G) message arrives on some interface X of a router. What does this mean? –There is at least one “downstream” receiver interested in receiving packets from source S addressed to group G.

Join What? There are two kinds of trees a downstream router might request to join: –shared tree (RPT) –shortest path tree (SPT) Any source can be forwarded via the shared tree, but only one source is forwarded on any given shortest path tree. –(*,G) vs. (S,G) –The Rendezvous Point is the source (root) for the shared tree.

Join What? So how does a PIM router distinguish a join for the shared tree from a join to a shortest path tree? –Shared tree: Set S = RP(G) Set RPT flag -- indicates that the Join message pertains to the shared tree. Set WC flag -- indicates that S is the address of the rendezvous point. –Notation: Join(*,G) means Join(RP,G)RPT,WC

Join What? We’ve seen that once a last hop router is receiving packets on the shortest path tree for a source, it doesn’t want to receive packets from the shared tree for that source –The last hop router sends a Prune(S,G)RPT towards the RP when the SPT-bit is set on the (S,G) state. –Later, the last hop router may want to rejoin the shared tree for that source; i.e. to undo the Prune(S,G)RPT.

Join What? To undo a previous Prune(S,G)RPT a router needs to send a join toward the rendezvous point that will permit packets from source S to be forwarded to that router via the shared tree. –This is denoted Join(S,G)RPT. –The WC flag is not set, because the router doesn’t necessarily want to cause all sources to be sent via the shared tree.

Add X to oif list for (S,G) Send a Join(S,G) toward S begin Is WC set ? Is it (S,G)RPT-bit ? Is RPT set ? Is RPT set ? Is RPT set ? end no yes no yes Create (*,G) if it doesn’t exist PIM Join Processing PIM router processing a Join/Prune message received on interface X with S in the Join list. Clear RPT-bit from (S,G) and set iif to RPF interface for S Does (S,G) exist ? error yes ignored Create (S,G) if it doesn’t exist Add X to oif list for existing G states yes Send a Join(*,G) toward RP(G) no yes

Add X to oif list for (S,G) Send a Join(S,G) toward S begin Is WC set ? Is it (S,G)RPT-bit ? Is RPT set ? Is RPT set ? Is RPT set ? end no yes no yes Create (*,G) if it doesn’t exist PIM Join Processing PIM router processing a Join/Prune message received on interface X with S in the Join list. Clear RPT-bit from (S,G) and set iif to RPF interface for S Does (S,G) exist ? error yes ignored Create (S,G) Add X to oif list for existing G states yes Send a Join(*,G) toward RP(G) Join(*,G) no yes

Add X to oif list for (S,G) Send a Join(S,G) toward S begin Is WC set ? Is it (S,G)RPT-bit ? Is RPT set ? Is RPT set ? Is RPT set ? end no yes no yes Create (*,G) if it doesn’t exist PIM Join Processing PIM router processing a Join/Prune message received on interface X with S in the Join list. Clear RPT-bit from (S,G) and set iif to RPF interface for S Does (S,G) exist ? error yes ignored Create (S,G) Add X to oif list for existing G states yes Send a Join(*,G) toward RP(G) Join(S,G) for new S no yes

Add X to oif list for (S,G) Send a Join(S,G) toward S begin Is WC set ? Is it (S,G)RPT-bit ? Is RPT set ? Is RPT set ? Is RPT set ? end no yes no yes Create (*,G) if it doesn’t exist PIM Join Processing PIM router processing a Join/Prune message received on interface X with S in the Join list. Clear RPT-bit from (S,G) and set iif to RPF interface for S Does (S,G) exist ? error yes ignored Create (S,G) Add X to oif list for existing G states yes Send a Join(*,G) toward RP(G) Join(S,G)RPT: undo a previous Prune(S,G)RPT no yes

Add X to oif list for (S,G) Send a Join(S,G) toward S begin Is WC set ? Is it (S,G)RPT-bit ? Is RPT set ? Is RPT set ? Is RPT set ? end no yes no yes no yes Create (*,G) if it doesn’t exist PIM Join Processing PIM router processing a Join/Prune message received on interface X with S in the Join list. Clear RPT-bit from (S,G) and set iif to RPF interface for S Does (S,G) exist ? error yes ignored Create (S,G) Add X to oif list for existing G states yes Send a Join(*,G) toward RP(G) Join(S,G)RPT update

Add X to oif list for (S,G) Send a Join(S,G) toward S begin Is WC set ? Is it (S,G)RPT-bit ? Is RPT set ? Is RPT set ? Is RPT set ? end no yes no yes Create (*,G) if it doesn’t exist PIM Join Processing PIM router processing a Join/Prune message received on interface X with S in the Join list. Clear RPT-bit from (S,G) and set iif to RPF interface for S Does (S,G) exist ? error yes ignored Create (S,G) Add X to oif list for existing G states yes Send a Join(*,G) toward RP(G) no yes Join(S,G) update

End of Lecture 4