11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.

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

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.
15-744: Computer Networking L-14 Multicast Routing.
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.
TDC375 Winter 2002John Kristoff - DePaul University1 Network Protocols IP 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.
Lecture 6: Multicast l Challenge: how do we efficiently send messages to a group of machines? n Need to revisit all aspects of networking –Routing –Autonomous.
Computer Networking Lecture 24 – Multicast.
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.
EE689 Lecture 12 Review of last lecture Multicast basics.
1 CSE 401N:Computer Network LECTURE-14 MULTICAST ROUTING.
MULTICASTING Network Security.
© J. Liebeherr, All rights reserved 1 IP Multicasting.
CSE679: Multicast and Multimedia r Basics r Addressing r Routing r Hierarchical multicast r QoS multicast.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Multicasting And Multicast Routing Protocols.
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.
© 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.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
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.
Broadcast and Multicast. Overview Last time: routing protocols for the Internet  Hierarchical routing  RIP, OSPF, BGP This time: broadcast and multicast.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing Part 5 Multicasting protocol.
Chapter 15 Multicasting and Multicast Routing
Lecture 20 – Multicast University of Nevada – Reno Computer Science & Engineering Department Spring 2014 CPE 701 Internet Protocol Design.
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.
Distance-vector Multicast Routing Protocol (DVMRP)
© 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.
1 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #7 DVMRP.
IP multicast Advisor: Prof. Wanjiun Liao Instructor: De-Nian Yang
1 IP Multicasting Relates to Lab 10. It covers IP multicasting, including multicast addressing, IGMP, and multicast routing.
Multicast: Wired to Wireless Hrishikesh Gossain Carlos de Morais Cordeiro Dharma P. Agrawal IEEE Communication Magazine June 2002 資工所 蔡家楷.
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.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #09: SOLUTIONS Shivkumar Kalyanaraman: GOOGLE: “Shiv.
Chapter 25 Internet Routing. Static Routing manually configured routes that do not change Used by hosts whose routing table contains one static route.
2/25/20161 Multicast on the Internet CSE 6590 Fall 2009.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 12 - Multicast.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
Communication Networks Recitation 11. Multicast & QoS Routing.
1 Group Communications: Reverse Path Multicast Dr. Rocky K. C. Chang 19 March, 2002.
1 Group Communications: Host Group and IGMP Dr. Rocky K. C. Chang 19 March, 2002.
Multicasting protocols
Computer Networking Multicast.
Multicast Outline Multicast Introduction and Motivation DVRMP.
(How the routers’ tables are filled in)
CMPE 252A: Computer Networks
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:

11 CS716 Advanced Computer Networks By Dr. Amir Qayyum

2 Lecture No. 27

3 Multicast

4 Internetworking Basics of internetworking (heterogeneity) –IP protocol, address resolution, control messages … Routing Global internets (scale) –Virtual geography and addresses –Hierarchical routing Future internetworking: IPv6 Multicast traffic MPLS

5 Internet Multicast Outline Motivation and challenges Support strategy IP multicast service model Multicast in the Internet Routing –Review of ELAN techniques –Multicast routing Limitations

6 Multicast Unicast: one destination Broadcast: all destinations Multicast: subset of destinations When is multicast useful ? –Send data to multiple receivers at once Videoconferencing, video-on-demand, telecollaboration Software update to group of customers –Limited broadcast/self-defined multicast Send question to unknown receiver Resource discovery; Distributed database

7 Multicast Why not just use broadcast/unicast ? –Broadcast not supported outside of LAN –Unicast sends multiple copies across common links Multicast support –Often supported by hardware in LAN’s (as broadcast, if not multicast) –But difficult to extend in scalable manner Multicast challenges –Efficient distribution on an internetwork –Specification of recipient group (abstraction must support self-definition)

8 Multicast Support Strategy IPv4 used as basis for experimental solutions –Use class D addresses (1110 ) –Demonstrated with MBone –Uses tunneling Multicast integrated into IPv6 Internet Group Management Protocol (IGMP) Several routing/forwarding schemes: –Distance-vector –Link-state –Protocol-independent

9 IP Multicast Service Model Each group uses a single address –Class D addresses (1110 ) –Some are well-known, some are dynamically assigned Group membership –Members located anywhere in the Internet –Number of receivers is arbitrary –Members can join/leave dynamically –Hosts can belong to more than one group

10 IP Multicast Service Model Senders simply use group address as destination –Sender need not be in group –LAN loopback needed for sender in group Multicast scope –LAN (local scope) –Administrative scope (e.g. campus), may overlap, can assign group addresses dynamically –TTL scope (no more than N hops) Scope is exposed to protocols and applications (by exposing IP TTL)

11 IP Multicast Service Model Multicast reception requires membership in group –Internet Group Management Protocol (IGMP), RFC 1112 –New operations to join and leave group –LAN routers track local membership –Forwarding depends on routing scheme –Last hop typically uses LAN broadcast Packet reception same as IP unicast

12 Internet Multicast Backbone - MBone Existing infrastructure for multicast in the Internet Multicast route propagation using DVMRP Problem: most IP routers do not support multicast Solution: tunneling by multicast-capable routers –Encapsulate multicast traffic in IP packets –Send to other multicast-capable routers –Recipients unpack & forward original multicast packet Passes through multicast-incapable areas of Internet

13 ELAN Multicast Techniques Direct support (Ethernet) –Application subscribes to group –IP layer notifies Ethernet card to listen to packets with group address Support through broadcast (LANE) Flooding in ELANs –Each packet sent on all but incoming link –Switches must remember each packet! Spanning tree: every host gets one copy

14 ELAN Multicast Techniques Spanning tree selection –Elect a leader; spanning tree is shortest path to leader (Perlman) –Distribute topology everywhere, compute in parallel (link-state) Problems with spanning trees –Bandwidth wasted for groups with few receivers; Solution: prune LAN’s with no receivers from tree –For very large ELAN’s, no single tree is efficient; Solution: define tree per group or tree per source The same solutions are used in the Internet!

15 Spanning Tree Tradeoffs Tree per group or tree per source ? Per group advantage –One routing entry per group Per source advantages –More efficient distribution –Spreads load better across links –Leverage unicast routing tables

16 Multicast Routing in the Internet Multicast Open Shortest Path First (MOSPF) Distance-Vector Multicast Routing Protocol (DVMRP, used in MBONE) Protocol-Independent Multicast (PIM) –Deals with scalability issues of above protocols –Dense Mode (PIM-DM) –Sparse Mode (PIM-SM)

17 Multicast Routing in the Internet How do senders find receivers? –Receivers inform all senders of interest (MOSPF) –Send to all receivers; uninterested receivers prune (DVMRP, PIM-DM) –Agree on set of rendezvous points (PIM-SM) Types of distribution trees –Separate tree from each sender (DVMRP, MOSPF, PIM-DM, PIM-SM) –Tree rooted at rendezvous point (PIM-SM)

18 Link State Multicast (MOSPF) Each host on a LAN –Periodically announces its group memberships, via Internet Group Management Protocol (IGMP) Extend LSP to include set of groups with members on a given LAN MOSPF routing extends OSPF –Uses Dijkstra’s algorithm –Computes shortest-path spanning tree for source- group pairs –Forward packet on local portion of tree

19 Link State Multicast (MOSPF) Tree computation –Can’t precompute for all source-group pairs –Compute on demand when first packet from a source S to a group G arrives –Cache trees for active source-group pairs –Recompute when link-state changes Scalability limitations –Reasonable intra-AS scalability –But meaningless for inter-AS –Source-group pairs scale with sources (needs to be hierarchical)

20 Distance Vector Multicast (DVMRP) Idea –Graph of directed next-hop edges to a destination S form a tree –Use reverse edges to broadcast from S Implementation (Reverse Path Broadcast, or RPB) –Forward multicast packet on all links –If and only if packet came from next hop for packet source Avoid repetition on LAN’s –Assign parent router for each LAN –Has shortest path to source, ties broken by ID –Track parenthood via vector exchanges

21 RPB and RPM M M M M M M M M Member of multicast group G Unicast route to S RPB from S RPM from S to G Pruned G S S

22 RPB to RPM (reverse path multicast) Identify leaf networks –Only one router on network –Thus no distance packets received on interface Prune leaf networks –Without hosts in a group –Hosts must self-identify using IGMP Forward pruning information –Extend distance vector with group information –Forward packets only to interested parties –Only when multicast source active

23 Distance Vector Multicast RPM Implementation Assume that everyone is interested Respond to unwanted packets with prune requests Prune requests –Canceled by graft request –Time out periodically Need ARQ for prune or graft ?

24 Distance Vector Multicast - Scalability Packets are periodically broadcast (thus guaranteed to reach all interested members) High overhead for sparse groups, consider: –Multicast group of 10 members –Scattered around the world –Packets periodically reach all routers in Internet High overhead for routers –All off-tree routers maintain pruning state –And periodically retransmit

25 Protocol Independent Multicast (PIM) Approach –Define rendezvous points (RP) for each group –Need multiple RP’s to handle failures Two versions –Dense mode Explicit prune messages Shared tree –Sparse mode Explicit join messages Shared or source-specific tree

26 Protocol Independent Multicast (PIM) Rendezvous points (RP) for each multicast group S S RP Specific multicast tree

27 Protocol Independent Multicast Joins –Receiver: send packet to one RP –Source: send to all RP’s Tree selection –Rooted at rendezvous points –Shared for infrequent traffic –Source-specific if merited by traffic level

28 Limitations on Multicast Scalability (addressed to some extent by PIM) –Explosive growth of the Internet population –Explosive growth of multicast, multimedia applications Control of network resources –Applications have different performance needs –Different resource commitments by clients and/or organizations –Different ASs provide different QoS …