© Janice Regan, CMPT 128, 2007-2012 0 CMPT 371 Data Communications and Networking Multicast routing.

Slides:



Advertisements
Similar presentations
Computer Networking A Top-Down Approach Chapter 4.7.
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.
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.
Computer Networks with Internet Technology William Stallings
COS 420 Day 15. Agenda Assignment 3 Due Assignment 4 Posted Chap Due April 6 Individual Project Presentations Due IEPREP - Jeff MANETS - Donnie.
TCP/IP Protocol Suite 1 Chapter 15 Upon completion you will be able to: Multicasting and Multicast Routing Protocols Differentiate between a unicast, multicast,
© 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.
COS 420 Day 14. Agenda Assignment 3 Posted Covers chapters Due March 23 Assignment 4 Posted Chap Due April 6 Individual Project Papers 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.
EEE449 Computer Networks Internetwork Operation. Internetwork Functions and Services There is a strong need to be able to support a variety of traffic.
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.
MULTICASTING Network Security.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Ethernet, ARP.
CSE679: Multicast and Multimedia r Basics r Addressing r Routing r Hierarchical multicast r QoS multicast.
1 CSCI 6433 Internet Protocols Class 7 Dave Roberts.
Group Management n Introduction n Internet Group Management Protocol (IGMP) n Multicast Listener Discovery (MLD) protocol.
Computer Networks 2 Lecture 1 Multicast.
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.
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.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
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.
1 CMPT 471 Networking II IGMP (IPv4) and MLD (IPv6) © Janice Regan,
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.
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.
IP Multicast COSC Addressing Class D address Ethernet broadcast address (all 1’s) IP multicast using –Link-layer (Ethernet) broadcast –Link-layer.
CS 4396 Computer Networks Lab IP Multicast - Fundamentals.
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.
Internet Multicasting Chapter 17. Hardware Broadcast Broadcast delivery –Network delivers a copy of a packet to each destination Bus technology - single.
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.
Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.
Multicast Communications
Network Layer: Address Mapping, Error Reporting, and Multicasting
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.
IP Multicast Lecture 4: PIM-SM Carl Harris Communications Network Services Virginia Tech.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
1 Group Communications: Host Group and IGMP Dr. Rocky K. C. Chang 19 March, 2002.
1 CMPT 471 Networking II Multicasting © Janice Regan,
DMET 602: Networks and Media Lab
Multicasting protocols
Computer Networking Multicast.
Multicast Outline Multicast Introduction and Motivation DVRMP.
CMPE 252A: Computer Networks
ECE544: Communication Networks-II Spring 2013
Multicasting and Multicast Routing Protocols
Chapter 10 IGMP Prof. Choong Seon HONG.
Other Routing Protocols
IP Multicast COSC /5/2019.
Implementing Multicast
Optional Read Slides: Network Multicast
Presentation transcript:

© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing

Janice Regan © Reverse path forwarding  When a source wishes to flood a message across the network to reach all routers  Determine which interface the packet should arrive through Extract the source address Consult the routing table to determine which interface the packet would be sent through in if was to be forwarded to the source address. This is the reverse path interface  If the packet arrives on the reverse path interface flood it through all other interfaces  If the packet arrives on any interface other than the reverse path interface drop it

Janice Regan © A DVMRP example: RPF  STEP 1: RPF at A mrouted s A B C D E F A A P Q

Janice Regan © A DVMRP example: RPF  STEP 2: RPF from B, C, and F mrouted s A B C D E F A A P Q

Janice Regan © A DVMRP example: RPF  STEP 2: RPF from E, P, and Q mrouted s A B C D E F A A P Q

Janice Regan © Reverse path forwarding: problems  Using the RPF algorithm the packet will be flooding throughout the internet reaching all potential group members  Multiple copies of each packet may reach any given network.  Copies of the packet are sent to networks that are not part of the path from source to receiver and have no members in the multicast group

Janice Regan © True Multicast (spanning tree broadcast)  Determine least cost path to each network that has host in group  Gives spanning tree configuration containing networks with group members  Transmit single packet along spanning tree  Routers replicate packets at branch points of spanning tree

Janice Regan © Multicast Example Stallings 2003:figure 19.2

Janice Regan © Stallings 2003: Table 19.1

Janice Regan © Building a CBT (center based tree)  A spanning tree avoids the problems of reverse path forwarding. The spanning tree includes a single least cost path to each other router in the network. So only one copy of the packet will reach each destination.  A core based tree is one possible type of spanning tree, let’s consider how to build such a tree  Begin with a rendezvous point (RP)  A rendezvous point is a preselected router that will become the ‘core’ or centre of our spanning tree  A receiver is added to the tree by adding links one by one, along the unicast route to the rendezvous point.  Links are added until a router that is already part of the receiver portion of the shared distribution tree to all receivers is encountered.  Packets can be sent from the RP to all receivers by broadcasting down the constructed core based tree

Janice Regan © Adding a receiver to the CBT: PIM  PIM (Protocol idependent multicast)  New receiver unicasts join to RP. At each router F pim-SM RP New receiver Unicast join message Resulting shared tree

Janice Regan © Adding a receiver to the CBT  New receiver unicasts join to RP. At each router pim-SM RP New receiver Unicast join message Resulting shared tree

Janice Regan © Adding a source to the CBT  A multicast sender sends data.  The sender's local router (DR) takes those data packets, unicast-encapsulates them, and sends them directly to the RP.  The RP receives these encapsulated data packets, decapsulates them, and forwards them onto the shared tree to the receivers  The packets then follow the shared multicast tree, being replicated wherever the RP Tree branches, and eventually reaching all the receivers for that multicast group.  The process of encapsulating data packets to the RP is called registering, and the encapsulation packets are known as PIM Register packets

Janice Regan © Adding a source  Unicast encapsulated data from local router to RP.  Continue to unicast encapsulated data directly to RP while building a source based tree F pim-SM RP receiver shared tree New source Source tree join messages Data distribution down shared tree pim-SM RP

Adding a Source  The RP sends messages to the local router of the new sender. These messages build a branch of the tree that connects the sender to the rendezvous point.  Once the new branch of the tree is built the RP send a stop registration message to the local router of the new sender.  The router of the new sender then begins sending packets through the new CBT branch rather than sending them inside registration packets Janice Regan ©

Janice Regan © Adding a source  Multicast data can now travel through the source based tree. Send register stop message to stop encapsulated delivery F pim-SM RP receiver shared tree New source source tree Data distribution down shared tree

Janice Regan © Multicasting  Multicasting is useful in several contexts  SSM, source specific multicast: Information is sent to all members or the multicast group from a single source, members do not communicate directly with each other. Multimedia “broadcast” to many destinations (hosts and networks) Multicast to hosts on a local network for resource discovery  ASM, any source multicast: many sources and many destinations Teleconferencing, gaming, distributed computing  SFM, source filtered multicast: Specify the group and the members of the group from which incoming data will be accepted, Specify hosts from which multicast data will not be accepted

Janice Regan © Multicasting  Transmit to a group of hosts on several networks.  This group of hosts includes a subset of hosts on each of the several networks.  Membership in the group is dynamic. Hosts may join or leave groups as they wish.  A multicast router is used to route packets between networks with members in a multicast group, Unicast routers may or may not be multicast routers  It is the responsibility of the multicast router to monitor and update changes in membership of groups, both within and outside the attached networks  A single multicast address refers to the group of hosts

Janice Regan © Multicasting Within a Local LAN  Many LANs provide hardware support for broadcast or multicast  To send Protocol stack on the host must map the IP multicast address onto the appropriate (MAC) multicast or broadcast addresses.  To receive the protocol’s network layer must keep track of processes belonging to each multicast group (allowing processes to join or leave the group)  If the LAN does not provide hardware support map the multicast addresses to local link layer address of a multicast router. The router can then send the appropriate unicast messages to group members

Janice Regan © Implementing multicast: N-way-Unicast  Send packet to each member of the multicast group using the members unicast address  Limits the need for extra protocols, but adds some complexity to the unicast routing protocols.  May require multiple copies of the packet to be sent through the same link (inefficient)  Must know destination addresses of all members of the multicast group  NOT DESIRABLE: However,  May be needed locally in networks with hardware that does not support broadcast. In this case it would be the local router that translates from multicast to M-way unicast for the M member of the multicast group on its local network.

Janice Regan © Multicasting Requirements 1  Addressing Scheme: locally autonomous assignment of addresses with global applicability  IPv4 - Class D - start 1110 Address range –  IPv6 - 8 bit prefix, all 1, 4 bit flags field (permanently assigned or dynamic using IGMP), 4 bit scope field (single network to global), 112 bit group identifier  A multicast address can only be a destination address, not a source address.  A multicast datagram cannot generate an ICMP message

Janice Regan © Multicasting Requirements 2  Effective notification and delivery  Hosts need a mechanism to notify routers about which groups are of interests to them (IGMP), that is a mechanism to join and leave multicast groups  Routers need a mechanism to deliver the multicast packets to the hosts on their directly attached networks Router must translate between IP multicast address and network multicast address (reception) in networks with hardware support for multicasting Router must deliver packets by broadcast or multiple unicast in networks that do not have hardware support

Janice Regan © IGMP  Internet Group Management Protocol  Governs exchange of multicast group information between hosts and multicast routers,  Two types of Messages transmitted in IP datagrams  Membership Query: sent by router to monitor group membership  Membership Report: sent by hosts to join or leave groups, or to reply to a membership query and indicate desire to remain a member of the group

Janice Regan © IGMP Operation – Joining  To join group, host sends IGMP membership report message  Sent in IP datagram with IP Destination Address in the encapsulating IP header being the multicast group address of the multicast group to be joined.  The multicast routers attached directly to the hosts network segment will then add the host to the list of hosts connected to its attached networks that are already part of the requested multicast group

Janice Regan © IGMPv2 Operation – Remaining  Routers periodically issue IGMP general query message to all group members on their attached nets  Hosts that wish to remain in groups must read datagrams with this all-hosts address  Host responds by preparing a report message for each group to which it claims membership. One host on each network will send its prepared report.  Router does not need to know every host in a group  Needs to know at least one group member still active  Each host in group sets timer with random delay  Host that hears another claim membership cancels own report  If timer expires, host sends report  Only one member of each group reports to router  Hosts periodically update information with

Janice Regan © Multicasting Requirements 3  An Efficient, Dynamic Forwarding Facility  Router must translate between IP multicast addresses and list of networks containing group members  Routers must exchange information Which networks include members of given group at a given time Sufficient path cost information to work out shortest path to each network  Routers must determine ‘shortest’ routing paths based on source and destination addresses

Janice Regan © Delivering to a multicast group  Constraints for efficient multicast routing:  Every member host of a multicast group should receive one copy of the packet  No host not a member of the multicast group should receive the packet  Each router should receive the packet only once  Determine least cost path to each network that has host in group subject to these constraints  Gives spanning tree configuration containing networks with group members  Transmit packets along the resulting spanning tree