T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 21: Multicast Routing Slides used with.

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.
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 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 12 Multicasting And Multicast.
1 Internet Networking Spring 2004 Tutorial 7 Multicast Routing Protocols.
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,
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.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 22 Introduction to Computer Networks.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 23 Introduction to Computer Networks.
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.
CS 268: IP Multicast Routing Kevin Lai April 22, 2001.
Internet Networking Spring 2002
1 EE 122: Multicast Ion Stoica TAs: Junda Liu, DK Moon, David Zats (Materials with thanks to Vern Paxson, Jennifer.
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.
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Multicast Computer Science Division Department of Electrical Engineering and Computer Sciences.
1 CSE 401N:Computer Network LECTURE-14 MULTICAST ROUTING.
MULTICASTING Network Security.
Multicast EECS 122: Lecture 16 Department of Electrical Engineering and Computer Sciences University of California Berkeley.
Spanning Tree and Multicast. The Story So Far Switched ethernet is good – Besides switching needed to join even multiple classical ethernet networks Routing.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
CSE679: Multicast and Multimedia r Basics r Addressing r Routing r Hierarchical multicast r QoS multicast.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 8: Bridging Slides used with permissions.
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.
Univ. of TehranIntroduction to Computer Network1 An Introduction Computer Networks An Introduction to Computer Networks University of Tehran Dept. of EE.
CS 268: IP Multicast Routing Ion Stoica April 5, 2004.
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.
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.
© J. Liebeherr, All rights reserved 1 Multicast Routing.
Multicast Routing, Error Control, and Congestion Control.
IP Multicast COSC Addressing Class D address Ethernet broadcast address (all 1’s) IP multicast using –Link-layer (Ethernet) broadcast –Link-layer.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Scaling Broadcast Ethernet Some slides used with.
Introduction to Multicast Routing Protocols
© J. Liebeherr, All rights reserved 1 IP Multicasting.
1 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #7 DVMRP.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
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.
Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.
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.
2/25/20161 Multicast on the Internet CSE 6590 Fall 2009.
EE122: Multicast Kevin Lai October 7, Internet Radio  (techno station)
Communication Networks Recitation 11. Multicast & QoS Routing.
1 Group Communications: Reverse Path Multicast Dr. Rocky K. C. Chang 19 March, 2002.
COMP/ELEC 429 Introduction to Computer Networks
Multicast Outline Multicast Introduction and Motivation DVRMP.
(How the routers’ tables are filled in)
Multicasting and Multicast Routing Protocols
IP Multicast COSC /5/2019.
EE 122: Lecture 13 (IP Multicast Routing)
Implementing Multicast
Optional Read Slides: Network Multicast
Presentation transcript:

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 21: Multicast Routing Slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica, Hui Zhang

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University2 Terminologies What is “unicast”? –Cast: to send, to throw Broadcast: to send everywhere (recall broadcast in local area Ethernet, ARP, DHCP) –Unicast: to send to a single receiver Point-to-point communication –Nearly all wide-area Internet traffic is unicast Web traffic, SSH traffic, FTP traffic Two unicast streams, one in each direction What is “multicast”? –In between unicast and broadcast –Each packet is sent to multiple specific receivers Point-to-Multipoint communication –What is multicast useful for??? ……

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University3 Example Uses Internet TV radio Stock price update Video conference Spam?!

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University4 How to Send to Multiple Receivers? What are the simplest ways? Ex1: Send a copy of the packet to one receiver at a time until all receivers have it –i.e. use unicast to implement multicast Ex2: Flood a packet throughout the network and have non-receivers discard the packet –i.e. use broadcast to implement multicast Advantages? Disadvantages? In general: We want a distribution tree –Many ways to do it –Big research topic for a decade

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University5 Example: Internet Radio –Sends out 128Kb/s MP3 music streams –Peak usage ~9000 simultaneous streams –Consumes ~1.1Gb/s bandwidth costs are large fraction of their expenditures –A fat and shallow tree –Does not scale!

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University6 This approach does not scale… Backbone ISP Broadcast Center

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University7 Use routers in distribution tree Backbone ISP Broadcast Center Copy data at routers At most one copy of a data packet per link LANs implement link layer multicast by broadcasting Routers compute trees and forward packets along them

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University8 Multicast Routing Approaches Kinds of Trees –Source Specific Trees Most suitable for single sender E.g. internet radio –Shared Tree Multiple senders in a group E.g. Teleconference Tree Computation Methods –Link state –Distance vector

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University9 Source Specific Trees Each source is the root of its own tree One tree per source Tree can consists of shortest paths to each receiver Members of the multicast treeSender

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University10 Source Specific Trees Very good performance but expensive to construct/maintain; routers need to manage a tree per source Each source is the root of its own tree One tree per source Tree can consists of shortest paths to each receiver

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University11 Shared Tree One tree used by all members in a group Easier to construct/maintain but hard to pick “good” trees for everyone!

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University12 IPv4 Multicast Class D addresses –These are group identifiers –Not specific to an end host –Flat address space –In practice, pick a group address at random, hope no collision –No security in the network layer Will use “G” to designate an IP multicast group address 1110Multicast Group Address 28 First octet:

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University13 IP Multicast Service Model Receivers join a multicast group which is identified by a multicast address (e.g. G) Sender(s) send data to address G Network routes data to each of the receivers R 0 joins G R 1 joins G R n-1 joins G S R0R0 R1R [G, data] R n-1 Net

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University14 Multicast Implementation Issues How is join implemented? How is send implemented? How much information about trees is kept and who keeps it?

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University15 IP Multicast Routing Intra-domain –Distance-vector multicast –Link-state multicast Inter-domain –Protocol Independent Multicast, Sparse Mode Key idea: Core-Based Tree

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University16 Distance Vector Multicast Routing Protocol (DVMRP) An elegant extension to DV routing Use shortest path DV routes to determine if link is on the source-rooted spanning tree Three steps in developing DVMRP –Reverse Path Flooding –Reverse Path Broadcasting –Truncated Reverse Path Broadcasting

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University17 Reverse Path Flooding (RPF) Extension to DV unicast routing Packet forwarding –If incoming link is shortest path to source –Send on all links except incoming –Packets always take shortest path assuming delay is symmetric Issues –Some links (LANs) may receive multiple copies –Every link receives each multicast packet, even if no interested hosts s:2 s s s:1 s:3 s:2 s:3 r r

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University18 Example Flooding can cause a given packet to be sent multiple times over the same link Solution: Called “Reverse Path Broadcasting” x x y y z z S S a b duplicate packet

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University19 Reverse Path Broadcasting (RPB) Chose parent of each link along reverse shortest path to source Only parent forward to a link (child link) Use DV routing update to identify parent x x y y z z S S a b 5 6 child link of x for S forward only to child link

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University20 Don’t Really Want to Flood! This is still a broadcast algorithm – the traffic goes everywhere Need to “Prune” the tree when there are subtrees with no group members Solution: Truncated Reverse Path Broadcasting

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University21 Truncated Reverse Path Broadcasting (TRPB) Extend RPB to eliminate unneeded forwarding Explicit group joining –Members periodically send “join” requests –If another LAN member has joined (overheard join message), other members do not send join message Router with no member downstream is removed from tree –Router sends “prune” message to upstream router when no member r1 r2 S S

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University22 Distance Vector Multicast Scaling State requirements: –O(Sources  Groups) active state

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University23 Core Based Trees (CBT) The key idea in Inter-domain PIM-SM protocol Pick a “rendezvous point” for the group called the core –Build a tree towards the core –Union of the unicast paths from members to the core –Shared tree To send, unicast packet to core and bounce it back to multicast group Reduce routing table state from O(S x G) to O(G)

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University24 Example Group members: M1, M2, M3 M1 sends data core M1 M2 M3 control (join) messages data

T. S. Eugene Ngeugeneng at cs.rice.edu Rice University25 Disadvantages Sub-optimal delay Single point of failure –Core goes out and everything lost until error recovery elects a new core Small, local groups with non-local core –Need good core selection –Optimal choice (computing topological center) is NP hard