1 © 2000, Cisco Systems, Inc. 2214 1197_05_2000_c2 Server Router Unicast Server Router Multicast Unicast vs. Multicast.

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.
Introduction to IP Multicast 1 Cisco Systems Confidential 0810_04F7_c2.
Multicast on the Internet CSE April 2015.
1 Internet Networking Spring 2006 Tutorial 7 DVMRP.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 7 Lesson 3 1 IP Multicasting: Multicast Routing Protocols.
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.
IP Multicasting: Explaining Multicast
TDC375 Winter 2002John Kristoff - DePaul University1 Network Protocols IP Multicast.
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.
TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Multicast.
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.
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.
Exterior Routing Protocols and Multicasting
© 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.
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
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.
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.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
Chapter 15 Multicasting and Multicast Routing
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.
Multicast Outline Multicast Introduction and Motivation RIP-based and Protocol Independent Multicast Routing.
© 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.
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.
Fundamentals of IP Multicast
1 IP Multicasting Relates to Lab 10. It covers IP multicasting, including multicast addressing, IGMP, and multicast routing.
Multicast Communications
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.
IP Multicast Lecture 4: PIM-SM Carl Harris Communications Network Services Virginia Tech.
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.
DMET 602: Networks and Media Lab
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
Multicast Outline Homework #4 - posted later today, due in one week
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
MULTICAST. 2 Agenda Introduction Multicast addressing Group Membership Protocol PIM-SM / SSM MSDP MBGP.
Introduction to IP Multicast
IP Multicast COSC /5/2019.
EE 122: Lecture 13 (IP Multicast Routing)
Implementing Multicast
Presentation transcript:

1 © 2000, Cisco Systems, Inc _05_2000_c2 Server Router Unicast Server Router Multicast Unicast vs. Multicast

2 © 2000, Cisco Systems, Inc _05_2000_c2 IP Multicast Group Addresses – – – Class “D” Address Space High order bits of 1st Octet = “1110” Reserved Link-local Addresses – – – Transmitted with TTL = 1 – Examples: All systems on this subnet All routers on this subnet DVMRP routers OSPF routers PIMv2 Routers Multicast Addressing

3 © 2000, Cisco Systems, Inc _05_2000_c2 32 Bits 28 Bits 25 Bits23 Bits 48 Bits e-7f Bits Lost Multicast Addressing IP Multicast MAC Address Mapping (FDDI and Ethernet)

4 © 2000, Cisco Systems, Inc _05_2000_c x0100.5E Multicast MAC Address (FDDI and Ethernet) 32 - IP Multicast Addresses Multicast Addressing Be Aware of the 32:1 Address Overlap IP Multicast MAC Address Mapping (FDDI & Ethernet)

5 © 2000, Cisco Systems, Inc _05_2000_c2 Routers solicit group membership from directly connected hosts RFC 1112 specifies version 1 of IGMP Supported on Windows 95 RFC 2236 specifies version 2 of IGMP Supported on latest service pack for Windows and most UNIX systems IGMP version 3 is specified in IETF draft draft-ietf-idmr-igmp-v3-03.txt How hosts tell routers about group membership Host-Router Signaling: IGMP

6 © 2000, Cisco Systems, Inc _05_2000_c2 H3 Host sends IGMP Report to join group H Report H1 H2 Joining a Group Host-Router Signaling: IGMP

7 © 2000, Cisco Systems, Inc _05_2000_c2 Router sends periodic Queries to Query One member per group per subnet reports Report Other members suppress reports Suppressed X Suppressed X H1 H2 H3 Maintaining a Group Host-Router Signaling: IGMP

8 © 2000, Cisco Systems, Inc _05_2000_c2 Host sends Leave message to H1 H3 Leave to #1 Router sends Group specific query to Group Specific Query to #2 No IGMP Report is received within ~3 seconds Group times out H2 Leaving a Group (IGMPv2) Host-Router Signaling: IGMP

9 © 2000, Cisco Systems, Inc _05_2000_c2 Shortest Path or Source Distribution Tree Receiver 1 B E A D F Source 1 Notation: (S, G) S = Source G = Group C Receiver 2 Source 2 Multicast Distribution Trees

10 © 2000, Cisco Systems, Inc _05_2000_c2 Receiver 1 B E A D F Source 1 Notation: (S, G) S = Source G = Group C Receiver 2 Source 2 Multicast Distribution Trees Shortest Path or Source Distribution Tree

11 © 2000, Cisco Systems, Inc _05_2000_c2 Multicast Distribution Trees Shared Distribution Tree Receiver 1 B E A D F Notation: (*, G) * = All Sources G = Group C Receiver 2 (RP) PIM Rendezvous Point Shared Tree (RP)

12 © 2000, Cisco Systems, Inc _05_2000_c2 Multicast Distribution Trees Shared Distribution Tree Receiver 1 B E AF Source 1Notation: (*, G) * = All Sources G = Group C Receiver 2 Source 2 (RP) PIM Rendezvous Point Shared Tree Source Tree D(RP)

13 © 2000, Cisco Systems, Inc _05_2000_c2 Multicast Distribution Trees Source or Shortest Path trees Uses more memory O(S x G) but you get optimal paths from source to all receivers; minimizes delay Shared trees Uses less memory O(G) but you may get sub-optimal paths from source to all receivers; may introduce extra delay Characteristics Characteristics of Distribution Trees

14 © 2000, Cisco Systems, Inc _05_2000_c2 Multicast Forwarding Multicast Routing is backwards from Unicast Routing –Unicast Routing is concerned about where the packet is going. –Multicast Routing is concerned about where the packet came from. Multicast Routing uses “Reverse Path Forwarding”

15 © 2000, Cisco Systems, Inc _05_2000_c2 Multicast Forwarding What is RPF?What is RPF? A router forwards a multicast datagram only if received on the up stream interface to the source (i.e. it follows the distribution tree). The RPF CheckThe RPF Check The routing table used for multicasting is checked against the “source” IP address in the packet. If the datagram arrived on the interface specified in the routing table for the source address; then the RPF check succeeds. Otherwise, the RPF Check fails. Reverse Path Forwarding (RPF)

16 © 2000, Cisco Systems, Inc _05_2000_c2 Multicast Forwarding Source RPF Checking Example: RPF Checking Mcast Packets RPF Check Fails Packet arrived on wrong interface! Packet arrived on wrong interface!

17 © 2000, Cisco Systems, Inc _05_2000_c2 Multicast Forwarding RPF Check Fails! Unicast Route Table Unicast Route Table Network Interface /16S /24S /24E0 RPF Check Fails A closer look: RPF Check Fails Packet Arrived on Wrong Interface! E0 S1 S0 S2 S1 Multicast Packet from Source X Discard Packet!

18 © 2000, Cisco Systems, Inc _05_2000_c2 Multicast Forwarding RPF Check Succeeds A closer look: RPF Check Succeeds RPF Check Succeeds! Unicast Route Table Unicast Route Table Network Interface /16S /24S /24E0 E0 S1 S0 S2 Multicast Packet from Source Packet Arrived on Correct Interface!S1 Forward out all outgoing interfaces. (i. e. down the distribution tree)

19 © 2000, Cisco Systems, Inc _05_2000_c2 Multicast vs. Unicast Routing Multicast Routing is not unicast routing. You have to think of it differently. It is not like OSPF. It is not like RIP. It is not like anything you may be familiar with.

20 © 2000, Cisco Systems, Inc _05_2000_c2 Types of Multicast Protocols Dense-mode Uses “Push” Model Traffic Flooded throughout network Pruned back where it is unwanted Flood & Prune behavior (typically every 3 minutes) Sparse-mode Uses “Pull” Model Traffic sent only to where it is requested Explicit Join behavior

21 © 2000, Cisco Systems, Inc _05_2000_c2 Multicast Protocol Overview Currently, there are four multicast routing protocols: –DVMRPv3 (Internet-draft) –DVMRPv1 (RFC 1075) is obsolete and unused. A variant is currently implemented –MOSPF (RFC 1584) –PIM-DM (Internet-draft) –PIM-SM (RFC v2) –Others (CBT, OCBT, QOSMIC, SM, etc.)

22 © 2000, Cisco Systems, Inc _05_2000_c2 DVMRP Overview Dense Mode Protocol –Distance vector-based Similar to RIP Infinity = 32 hops Subnet masks in route advertisements –DVMRP Routes used: For RPF Check To build Truncated Broadcast Trees (TBTs) –Uses special “Poison-Reverse” mechanism –Uses Flood and Prune operation Traffic initially flooded down TBT’s TBT branches are pruned where traffic is unwanted. Prunes periodically time-out causing reflooding.

23 © 2000, Cisco Systems, Inc _05_2000_c2 DVMRP—Source Trees Route for source network of metric “n” n m Source Network E X Y AB C D 2 34 Poison reverse (metric + infinity) sent to upstream “parent” router. Router depends on “parent” to receive traffic for this source Truncated Broadcast Trees Are Built using Best DVMRP Metrics Back to Source Network. Lowest IP Address Used in Case of a Tie. (Note: IP Address of D < C < B < A) 3 3 mrouted Resulting Truncated Broadcast Tree for Source Network mrouted

24 © 2000, Cisco Systems, Inc _05_2000_c2 DVMRP—Source Trees Forwarding onto Multi-access Networks Network X A B C mrouted Route advertisement for network X of metric “n” n Both B and C have routes to network X. To avoid duplicates, only one router can be “Designated Forwarder” for network X. Router with best metric is elected as the “Designated Forwarder”. Lowest IP address used as tie-breaker. Router C wins in this example. (Note: IP Address of C < B )

25 © 2000, Cisco Systems, Inc _05_2000_c2 E X Y AB C D DVMRP—Source Trees Resulting Truncated Broadcast Tree for Source Network “S1” Source Network “S1” S1 Source Tree mrouted

26 © 2000, Cisco Systems, Inc _05_2000_c2 DVMRP—Source Trees Each Source Network has it’s Own Truncated Broadcast Tree E X Y AB C D Note: IP Address of D < C < B < A S2 Source Tree Source “S 2 ” mrouted

27 © 2000, Cisco Systems, Inc _05_2000_c2 DVMRP—Flood & Prune Source “S” Receiver 1 (Group “G”) Truncated Broadcast Tree based on DVMRP route metrics (S, G) Multicast Packet Flow Initial Flooding of (S, G) Multicast Packets Down Truncated Broadcast Tree E X Y AB C D 1 mrouted

28 © 2000, Cisco Systems, Inc _05_2000_c2 DVMRP—Flood & Prune Routers C is a Leaf Node so it sends an “(S, G) Prune” Message Prune Source “S” Receiver 1 (Group “G”) E X Y AB C D mrouted Router B Prunes interface. mrouted Truncated Broadcast Tree based on DVMRP route metrics (S, G) Multicast Packet Flow

29 © 2000, Cisco Systems, Inc _05_2000_c2 DVMRP—Flood & Prune Routers X, and Y are also Leaf Nodes so they send “Prune (S, G)” MessagesPrune Prune Source “S” Receiver 1 (Group “G”) E X Y AB C D mrouted Router E prunes interface. mrouted Truncated Broadcast Tree based on DVMRP route metrics (S, G) Multicast Packet Flow

30 © 2000, Cisco Systems, Inc _05_2000_c2 DVMRP—Flood & Prune Router E is now a Leaf Node; it sends an (S, G) Prune message.Prune Source “S” Receiver 1 (Group “G”) E X Y AB C D mrouted Router D prunes interface. mrouted Truncated Broadcast Tree based on DVMRP route metrics (S, G) Multicast Packet Flow

31 © 2000, Cisco Systems, Inc _05_2000_c2 DVMRP—Flood & Prune Final Pruned State Source “S” Receiver 1 (Group “G”) E X Y AB C D mrouted Truncated Broadcast Tree based on DVMRP route metrics (S, G) Multicast Packet Flow

32 © 2000, Cisco Systems, Inc _05_2000_c2 Receiver 2 joins Group “G” Receiver 2 (Group “G”) Router Y sends a “Graft (S, G)” MessageGraft DVMRP—Grafting Source “S” Receiver 1 (Group “G”) E X Y AB C D mrouted Truncated Broadcast Tree based on DVMRP route metrics (S, G) Multicast Packet Flow

33 © 2000, Cisco Systems, Inc _05_2000_c2 DVMRP—Grafting Router E Responds with a “Graft-Ack”Graft-Ack Sends its Own “Graft (S, G) MessageGraft Receiver 2 (Group “G”) Source “S” Receiver 1 (Group “G”) E X Y AB C D mrouted Truncated Broadcast Tree based on DVMRP route metrics (S, G) Multicast Packet Flow

34 © 2000, Cisco Systems, Inc _05_2000_c2 Receiver 2 (Group “G”) Source “S” Receiver 1 (Group “G”) E X Y AB C D mrouted Truncated Broadcast Tree based on DVMRP route metrics (S, G) Multicast Packet Flow DVMRP—Grafting Router D Responds with a “Graft-Ack”Graft-Ack Begins Forwarding (S, G) Packets mrouted

35 © 2000, Cisco Systems, Inc _05_2000_c2 PIM-DM Protocol Independent –Supports all underlying unicast routing protocols including: static, RIP, IGRP, EIGRP, IS-IS, BGP, and OSPF Uses reverse path forwarding –Floods network and prunes back based on multicast group membership –Assert mechanism used to prune off redundant flows Appropriate for... –Smaller implementations and pilot networks

36 © 2000, Cisco Systems, Inc _05_2000_c2 PIM-DM Flood & Prune Source Initial Flooding Receiver Multicast Packets (S, G) State created in every every router in the network!

37 © 2000, Cisco Systems, Inc _05_2000_c2 PIM-DM Flood & Prune Source Pruning Unwanted Traffic Receiver Multicast Packets Prune Messages

38 © 2000, Cisco Systems, Inc _05_2000_c2 PIM-DM Flood & Prune Results After Pruning Source Receiver Multicast Packets Flood & Prune process repeats every 3 minutes!!! (S, G) State still exists in every every router in the network!

39 © 2000, Cisco Systems, Inc _05_2000_c2 PIM-SM (RFC 2362) Supports both source and shared trees –Assumes no hosts want multicast traffic unless they specifically ask for it Uses a Rendezvous Point (RP) –Senders and Receivers “rendezvous” at this point to learn of each others existence. Senders are “registered” with RP by their first-hop router. Receivers are “joined” to the Shared Tree (rooted at the RP) by their local Designated Router (DR). Appropriate for… –Wide scale deployment for both densely and sparsely populated groups in the enterprise –Optimal choice for all production networks regardless of size and membership density.

40 © 2000, Cisco Systems, Inc _05_2000_c2 PIM-SM Shared Tree Join Receiver RP ( *, G) Join Shared Tree ( *, G) State created only along the Shared Tree.

41 © 2000, Cisco Systems, Inc _05_2000_c2 PIM-SM Sender Registration Receiver RP (S, G) Join Source Shared Tree (S, G) Register (unicast) Source Tree (S, G) State created only along the Source Tree. Traffic Flow

42 © 2000, Cisco Systems, Inc _05_2000_c2 PIM-SM Sender Registration Receiver RP Source Shared Tree Source Tree RP sends a Register-Stop back to the first-hop router to stop the Register process. (S, G) Register-Stop (unicast) Traffic Flow (S, G) Register (unicast) (S, G) traffic begins arriving at the RP via the Source tree.

43 © 2000, Cisco Systems, Inc _05_2000_c2 PIM-SM Sender Registration Receiver RP Source Shared Tree Source Tree Traffic Flow Source traffic flows natively along SPT to RP. From RP, traffic flows down the Shared Tree to Receivers.

44 © 2000, Cisco Systems, Inc _05_2000_c2 PIM-SM SPT Switchover Receiver RP (S, G) Join Source Source Tree Shared Tree Last-hop router joins the Source Tree. Additional (S, G) State is created along new part of the Source Tree. Traffic Flow

45 © 2000, Cisco Systems, Inc _05_2000_c2 PIM-SM SPT Switchover Receiver RP Source Source Tree Shared Tree (S, G)RP-bit Prune Traffic begins flowing down the new branch of the Source Tree. Additional (S, G) State is created along along the Shared Tree to prune off (S, G) traffic. Traffic Flow

46 © 2000, Cisco Systems, Inc _05_2000_c2 PIM-SM SPT Switchover Receiver RP Source Source Tree Shared Tree (S, G) Traffic flow is now pruned off of the Shared Tree and is flowing to the Receiver via the Source Tree. Traffic Flow

47 © 2000, Cisco Systems, Inc _05_2000_c2 PIM-SM SPT Switchover Receiver RP Source Source Tree Shared Tree (S, G) traffic flow is no longer needed by the RP so it Prunes the flow of (S, G) traffic. Traffic Flow (S, G) Prune

48 © 2000, Cisco Systems, Inc _05_2000_c2 PIM-SM SPT Switchover Receiver RP Source Source Tree Shared Tree (S, G) Traffic flow is now only flowing to the Receiver via a single branch of the Source Tree. Traffic Flow

49 © 2000, Cisco Systems, Inc _05_2000_c2 Documentation EFT/Beta Site Web Page: ftp://ftpeng.cisco.com/ipmulticast.html