CMPE 252A: Computer Networks

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.
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.
15-744: Computer Networking L-14 Multicast Routing.
Computer Networking Lecture 12: Multicast Again ripped from Srini Seshan and Dave Anderson – thanks guys!
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.
Computer Networking Lecture 24 – Multicast.
CS 268: Computer Networking L-21 Multicast. 2 Multicast Routing Unicast: one source to one destination Multicast: one source to many destinations Two.
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.
1 Computer Networks IP Multicast. 2 Recall Unicast Broadcast Multicast sends to a specific group.
Computer Networking Lecture 11 – Multicast. Lecture 11: Multicast Routing Unicast: one source to one destination Multicast: one source to many.
Computer Networks 2 Lecture 1 Multicast.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Multicast routing.
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.
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.
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.
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.
Introduction to Multicast Routing Protocols
© J. Liebeherr, All rights reserved 1 IP Multicasting.
Computer Networking Lecture 12 – Multicast.
Multicast Routing. Unicast: one source to one destination Multicast: one source to many destinations Two main functions: – Efficient data distribution.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
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.
Multicast Communications
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.
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.
DMET 602: Networks and Media Lab Amr El Mougy Yasmeen EssamAlaa Tarek.
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.
(How the routers’ tables are filled in)
ECE544: Communication Networks-II Spring 2013
15-744: Computer Networking
Multicast Outline Homework #4 - posted later today, due in one week
Multicasting and Multicast Routing Protocols
ECE544: Communication Networks-II Spring 2018
IP Multicasting By Behzad Akbari Fall 2008
Multicast on the Internet
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
Computer Networking Lecture 11 – Multicast.
IP Multicast COSC /5/2019.
EE 122: Lecture 13 (IP Multicast Routing)
Implementing Multicast
Optional Read Slides: Network Multicast
Multicasting Unicast.
Presentation transcript:

CMPE 252A: Computer Networks Lecture 13 CMPE252A Fall 2004

Multicast Routing CMPE252A Fall 2004

Unicast versus Multicast Unicast: one to one. Multicast: many to many. General case. nXm. Two main functions: Efficient data distribution. Logical naming of a group. CMPE252A Fall 2004

Network-Supported Multicast As opposed to application-layer multicast. What’s the difference? CMPE252A Fall 2004

Multicast through unicast Src CMPE252A Fall 2004

Multicast through unicast Src CMPE252A Fall 2004

Multicast through unicast Src CMPE252A Fall 2004

Multicast through unicast Src CMPE252A Fall 2004

Multicast through unicast Src CMPE252A Fall 2004

Multicast Src CMPE252A Fall 2004

Multicast Src CMPE252A Fall 2004

Multicast Src CMPE252A Fall 2004

Multicast Src CMPE252A Fall 2004

Multicast Src CMPE252A Fall 2004

Multicast state CMPE252A Fall 2004

Multicast state Router: Learns of existence of multicast groups through advertisements (IGMP). Identify links with group members. Establish state to route packets. Replicate packets on appropriate interfaces. Routing entry: Destination (mcast group) List of outgoing interfaces CMPE252A Fall 2004

Multicast groups Members are the intended receivers. Senders may or may not be members. Destination address is class D IP address. Globally known portion of address space. Hosts may belong to many groups. Hosts may send to many groups. Support dynamic group membership. CMPE252A Fall 2004

Example applications Broadcast audio/video. Push-based systems. Software distribution. Web-cache updates. Teleconferencing (audio, video, shared whiteboard, text editor). Multi-player games. Server/service location. CMPE252A Fall 2004

Components of the IP Multicast Architecture service model hosts host-to-router protocol (IGMP) routers multicast routing protocols (various) CMPE252A Fall 2004

IP Multicast Service Model (RFC-1112) Each group identified by single IP address. Groups may be of any size. Members of groups may be located anywhere in the Internet. Members of groups can join and leave at will. Senders need not be members. CMPE252A Fall 2004

Service model (cont’d) Group membership not known explicitly. Analogy: Each multicast address is like a radio frequency, on which anyone can transmit, and to which anyone can tune-in. CMPE252A Fall 2004

IP Multicast Addresses Class D IP addresses: in “dotted decimal” notation: 224.0.0.0 — 239.255.255.255 Two administrative categories: “Well-known” multicast addresses, assigned by ICANN. “Transient” multicast addresses, assigned and reclaimed dynamically, e.g., by “sdr” program. 1 group ID CMPE252A Fall 2004

IP Multicast Service — Sending Uses normal IP-Send operation, with an IP multicast address specified as the destination. Application can: Specify IP time-to-live (TTL) on outgoing packet. Scope. Enable/disable loop-back if the sending host is/not a member of the destination group. CMPE252A Fall 2004

IP Multicast Service — Membership and Receiving Two new operations: Join-IP-Multicast-Group ( group-address, interface ) Leave-IP-Multicast-Group ( group-address, interface ) Receive multicast packets for joined groups via normal IP-Receive operation. CMPE252A Fall 2004

IGMP CMPE252A Fall 2004

Components of the IP Multicast Architecture service model hosts host-to-router protocol (IGMP) routers multicast routing protocols (various) CMPE252A Fall 2004

IGMP Protocol used by hosts to report their multicast group memberships to neighboring routers. Version 1, the current Internet Standard, is specified in RFC-1112. Operates over broadcast LANs and point-to-point links. Occupies similar position and role as ICMP in the TCP/IP protocol stack. CMPE252A Fall 2004

Relevant protocol layers Upper-Layer Protocol Modules IP Service Interface ICMP IGMP IP Module Link-Layer Service Interface IP to link-layer address mapping (e.g., ARP) Link-Layer Modules (e.g., Ethernet) CMPE252A Fall 2004

IGMP messages Mcast routers send periodic IGMP query messages with TTL=1. One router per subnet is designated IGMP querier. Group address= 0. Hosts send 1 reply message per group. Random response timers. Suppression. Do routers need to know group membership? CMPE252A Fall 2004

How IGMP Works On each subnet, 1 router is elected the “querier”. routers: hosts: On each subnet, 1 router is elected the “querier”. Querier periodically sends a query message to the all-systems group (224.0.0.1), with TTL=1. On receipt, hosts start random timers (between 0 and 10 seconds) for each multicast group to which they belong. CMPE252A Fall 2004

How IGMP Works (cont’d) Q G G G G When host’s timer for group G expires, it sends a Membership Report to group G, with TTL = 1. Other members of G hear the report and stop their timers. Routers hear all reports, and time out non-responding groups. CMPE252A Fall 2004

How IGMP Works (cont’d) Ideally, only one report message per group sent in response to a query. (routers need not know who all the members are, only that members exist) Query interval is typically 60—90 seconds. When a host first joins a group, it sends one or two immediate reports, instead of waiting for a query. CMPE252A Fall 2004

Multicast routing CMPE252A Fall 2004

Multicast routing Multicast service model doesn’t require knowledge about group membership. Scalability. Anonymity. Dynamic join/leave. CMPE252A Fall 2004

Multicast routing trees Span all receivers in a group. CMPE252A Fall 2004

Shared & source-based trees Separate shortest path tree for each sender. Shared trees: Single tree shared by all members. Data flows on same tree regardless of sender. CMPE252A Fall 2004

Shared tree RP CMPE252A Fall 2004

Source-based trees S1 S2 CMPE252A Fall 2004

Source- versus shared trees CMPE252A Fall 2004

Shared & source-based trees Shortest path trees - low delay, better load distribution. More state at routers (per-source state). Efficient for dense-area multicast. Shared trees Higher delay. Traffic concentration. Per-group state at routers. Efficient for sparse-area multicast. CMPE252A Fall 2004

Routing protocol taxonomy DVMRP - source-based trees. MOSPF - source-based trees. CBT- shared trees. PIM - shared (SM) and source-based (DM) trees CMPE252A Fall 2004

Distance-vector multicast routing protocol (DVMRP) CMPE252A Fall 2004

Distance-Vector Multicast Routing Protocol DVMRP consists of two major components: Routing: conventional distance-vector routing protocol. Forwarding: how to forward multicast packets, based on the routing table. CMPE252A Fall 2004

Multicast forwarding A DVMRP router forwards a packet if The packet arrived from the link used to reach the source of the packet (reverse path forwarding - RPF). If downstream links have not been pruned from tree. CMPE252A Fall 2004

Example g g s g CMPE252A Fall 2004

Phase 1: Flood g g s CMPE252A Fall 2004 g

Phase 2: Prune g g prune (s,g) prune (s,g) s g CMPE252A Fall 2004

Phase 3: Graft g g g s g report (g) graft (s,g) graft (s,g) CMPE252A Fall 2004

Phase 4: Steady State g g g s g CMPE252A Fall 2004

Multicast Routing: MOSPF CMPE252A Fall 2004

Multicast OSPF (MOSPF) Add-on to OSPF (Open Shortest-Path First). Link-state, intra-domain routing protocol. Multicast-capable routers flag link state routing advertisements. Each router indicates groups for which there are directly-connected members. CMPE252A Fall 2004

MOSPF (cont’d) Link-state advertisements augmented with multicast group addresses to which local members have joined. Link-state routing algorithm augmented to compute shortest-path distribution tree from any source to any set of destinations. CMPE252A Fall 2004

Link state: each router floods link state advertisement. Multicast: add membership information to “link state”. Each router computes multicast tree for each active source, builds forwarding entry with outgoing interface list. S1 R1 R2 X Y Z CMPE252A Fall 2004

Z has network map, including membership at X and Y. Z computes shortest path tree from S1 to X and Y. Z builds multicast entry with one outgoing interface. W, Q, R, each build multicast entries. S1 Z W Q X R R1 Y R2 CMPE252A Fall 2004

Link state advertisement with new topology may require re-computation of tree and forwarding entry. S1 Z W Q X R R1 Y R2 CMPE252A Fall 2004

R3 T Link state advertisement (T) with new membership (R3) may require incremental computation and addition of interface to outgoing interface list (Z) S1 Z R3 W Q T X R R1 Y R2 CMPE252A Fall 2004

Impact on route computation Can’t pre-compute all source multicast trees. Compute on demand when first packet from a source S to a group G arrives. CMPE252A Fall 2004

Processing link-state advertisements New link-state advertisement may lead to addition or deletion of outgoing interfaces if it contains different group addresses. New link-state advertisement may lead to re-computation of entire tree if routes between source and destinations are affected. CMPE252A Fall 2004

Evaluation Graceful add-on to OSPF and computes shortest-path trees. Shares scaling benefits and limitations of OSPF. Other scaling questions re. dynamics of on-demand and re-computation for volatile groups. CMPE252A Fall 2004

Cores, centers, and rendezvous points CMPE252A Fall 2004

Rendezvous With source-based trees senders and receivers meet by: Flooding and pruning. LS distribution of group and receiver state. How do we solve the problem with shared trees? Establish a meeting place: center, core or rendezvous point. CMPE252A Fall 2004

Core-based trees (CBT) Trees are receiver-based. Core: router from which branches emanate. Branches made up of other non-core routers. Branches are shortest-path between member hosts and core (reverse SPT). CMPE252A Fall 2004

Building shared tree Join Request Join ACK Join Request forwarded to Core Join Request forwarded to next router on the path to core until it reaches core or router that is already in the tree. Join Request Join ACK CMPE252A Fall 2004

Sending data: sender near core CMPE252A Fall 2004

Sending data: sender away from core Data is unicast toward core; once it reaches core or non-core router, data is Multicast along shared tree. CMPE252A Fall 2004

Observations Core placement affects efficiency. Finding the optimal core location is an NP-hard problem - use heuristics. For dynamic groups core location may have to be calculated frequently. Need multiple cores for robustness. CMPE252A Fall 2004

Protocol Independent Multicast (PIM) CMPE252A Fall 2004

PIM PIM’s goal: address wide-area multicast by establishing efficient distribution trees both for dense and sparse groups. Router state. Control and data message processing. Unicast protocol independence: Use of routing tables independent of how they are computed. CMPE252A Fall 2004

Broadcast-and-Prune (DVMRP) Simple, data-driven (dense-mode multicast). Broadcast first packets throughout network. Routers with no downstream members send prune messages and store prune state. Does not scale well as a long-term, general solution for internet-wide multicast Broadcast and prune has excessive bandwidth and state overhead for sparse groups in the wide area. CMPE252A Fall 2004

Broadcast-and-prune overhead multicast distrib. tree broadcast-and-prune overhead R1 CMPE252A Fall 2004 R2