Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 IP Multicast Shivkumar Kalyanaraman

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.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 IP Multicast Shivkumar Kalyanaraman
Satellite Multicast for Web Applications Hilmar Linder University of Salzburg/Austria.
COS 420 Day 15. Agenda Assignment 3 Due Assignment 4 Posted Chap Due April 6 Individual Project Presentations Due IEPREP - Jeff MANETS - Donnie.
1 Internet Networking Spring 2006 Tutorial 7 DVMRP.
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.
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.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 IP Multicast Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
© 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.
© 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 IP Multicasting By Behzad Akbari These slides are based on the slides of J. Kurose (UMASS) and Shivkumar (RPI)
AD HOC WIRELESS MUTICAST ROUTING. Multicasting in wired networks In wired networks changes in network topology is rare In wired networks changes in network.
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
Lecture 20 – Multicast University of Nevada – Reno Computer Science & Engineering Department Spring 2014 CPE 701 Internet Protocol Design.
© 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.
Multicast 1 Spencer Tsai Mobile Communication & Broadband Network Lab CSIE Fu-Jen Catholic University Introduction to Multicast.
Björn Landfeldt School of Information Technologies NETS 3303 Networked Systems Multicast.
Broadcast and multicast routing. R1 R2 R3R4 source duplication R1 R2 R3R4 in-network duplication duplicate creation/transmission duplicate Broadcast Routing.
Introduction to Multicast Routing Protocols
© J. Liebeherr, All rights reserved 1 IP Multicasting.
1 © 2000, Cisco Systems, Inc _05_2000_c2 Server Router Unicast Server Router Multicast Unicast vs. Multicast.
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
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.
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.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
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.
Ahmed Helmy - UF1 IP-Multicast (outline) -Motivation and Background -Multicast vs. unicast -Multicast Applications -Delivery of Multicast -Local delivery.
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)
CMPE 252A: Computer Networks
IP Multicasting By Behzad Akbari Fall 2008
Multicast Outline Multicast revisited
IP Multicast COSC /5/2019.
Optional Read Slides: Network Multicast
Presentation transcript:

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 IP Multicast Shivkumar Kalyanaraman

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 2 q Why IP multicast ? Multicast apps... q Concepts: groups, scopes, trees q Multicast addresses, LAN multicast q Group management: IGMP q Multicast routing and forwarding: MBONE, PIM etc q Reliable Multicast Transport Protocols Overview

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 3 Why IP multicast ? q Need for efficient delivery to multiple destinations across inter/intranets q Broadcast: q Send a copy to every machine on the net q Simple, but inefficient q All nodes “must” process the packet even if they don’t care q Wastes more CPU cycles of slower machines (“broadcast radiation”) q Network loops lead to “broadcast storms”

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 4 Why IP multicast ? (contd) q Replicated Unicast: q Sender sends a copy to each receiver in turn q Receivers need to register or sender must be preconfigured q Sender is focal point of all control traffic q Latency = time between the first and last receiver getting a copy {can be large if transmission times are large}

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 5 Why IP multicast ? q Application-layer relays: q A “relay” node or set of nodes does the replicated unicast function instead of the source q Multiple relays can handle “groups” of receivers and reduce number of packets per multicast => efficiency q Manager has to manually configure names of receivers in relays etc => too much administrative burden q Alternative: build replication/multicast engine at the network layer

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 6 Multicast applications q News/sports/stock/weather updates q Distance learning q Routing updates (OSPF, RIP etc) q Pointcast-type “push” apps q Videoconferencing, shared whiteboards q Distributed interactive gaming or simulations q distribution lists q IPv6 over IPv4 q Voice-over-IP q Database replication

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 7 Multicast apps characteristics q Number of (simultaneous) senders to the group q The size of the groups q Number of members (receivers) q Geographic extent q Diameter of the group measured in router hops q The longevity of the group q Number of aggregate packets/second q The peak/average used by source q Level of human interactivity q Lecture mode vs interactive q Data-only (eg database replication) vs multimedia

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 8 IP multicast concepts q Message sent to multicast “group” (of receivers) q Senders need not be group members q Each group has a “group address” q Use “group address” instead of destination address in IP packet sent to group q Groups can have any size; q End-stations (receivers) can join/leave at will

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 9 IP multicast concepts (contd) q Packets are not unnecessarily duplicated or delivered to destinations outside the group q Distribution tree for delivery/distribution of packets q Packets forwarded “away” from the source q No more that one copy of packet appears on any subnet q Packets delivered only to “interested” receivers => multicast delivery tree changes dynamically q Network has to actively discover paths between senders and receivers

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 10 q Non-member nodes even on a single subnet do not receive packets (unlike subnet-specific broadcast) q Group membership on a single subnet is achieved through IGMP (and ICMPv6 in IPv6) q Tree is built by multicast routing protocols. Current multicast tree over the internet is called MBONE. q Anycast: delivers a packet to one of a group (hopefully the closest)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 11 Multicast addresses q Class D addresses: thru’ q Each multicast address represents a group of arbitrary size, called a “host group” q There is no structure within class D address space like subnetting => flat address space q Addresses x and x are reserved. See assigned numbers RFC 1700 q Eg: = all routers on this subnet q Addresses thru are reserved for private network (or intranet) use

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 12 Multicast IP over IEEE 802 LANs q MAC address = 6 bytes = OUI + 3-byte address q Special OUI for IETF: 0x E. q Of remaining 3 bytes (24 bits), one bit is reserved q Remaining 23 bits = lower order 23 bits from IP class D address. Simpler than unicast forwarding ! No ARP etc. q 32 class D addrs may map to one MAC addr 1110 xxxx x yyy yyyy yyyy yyyy yyyy yyyy yyy yyyy yyyy yyyy yyyy yyyy

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 13 Multicast over LANs & Scoping q Multicasts are flooded across MAC-layer bridges along a spanning tree q LAN NICs must be specifically programmed to filter multicasts on behalf of the end station q But flooding may steal sending opportunity for nonmember stations which want to transmit q Scope: How far do transmissions propagate? q Implicit scoping: Reserved Mcast addresses => don’t leave subnet. Also called “link-local” addresses

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 14 Scope of multicast forwarding q TTL-based scoping: q Each multicast router has a configured TTL threshold q It does not forward multicast datagram if TTL <= TTL- threshold q Useful at edges of a large intranet as a blanket parameter. q Administrative scoping: q Use a portion of class D address space ( thru ) q Truly local to admin domain; address reuse possible. q In IPv6 scoping is an internal attribute of an an IPv6 multicast address

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 15 IGMP q IGMP: “signaling” protocol to establish, maintain, remove groups on a subnet. q Router sends Host Membership Query to (all multicast hosts on subnet) q Host responds with Host Membership report for each group to which it belongs, sent to group address q Membership report => other hosts in the same group “suppress” reports q Router periodically broadcasts query to detect if groups have gone away q Asynchronous reports possible.

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 16 IGMPv2 q Distributed with the mrouted source code q Has a querier election protocol (lowest IP address) q Hosts may send a “Leave group” message to “all routers” ( ) address q Querier responds with a Group-specific Query message to see if any group members are available q Lower leave latency => responds quickly to membership changes q Router alert IP option is also enabled q Bunch of rules for coexistence of IGMPv1 and v2 hosts and routers on a single subnet

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 17 Multicast Routing Protocols q Multicast routing protocols build trees where the “leaves” are the subnets containing at least one group member (detected by IGMP) q Tree types: q Source-based trees: one tree per (source, group) pair q Shared trees: one tree per group q Tree building methods: q Data driven: calculate the tree only when the first packet is seen q Broadcast-and-prune: Multicast tree = broadcast tree - non-multicast branches

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 18 Multicast Routing Protocols q Run Dijkstra’s algorithm to build tree when first packet is seen (MOSPF) q A priori: Build tree before any data is transmitted q Join-styles: q Explicit-join: The leaves explicitly join the tree q Implicit-join: All subnets are assumed to be receivers unless they say otherwise (eg via tree pruning) q Modes: q Dense-mode: many (or closely located) subnets have at least one group member q Sparse-mode: few (or widely separated/bandwidth-limited) subnets have at least one group member

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 19 Reverse Path Multicast (RPM) q Setup broadcast tree (reverse path broadcasting, RPB) q Each node maintains “parent” and “child” links q If packet from parent (“reverse-path check”) send to children; else drop q If child is actually downstream (eg in terms of the routing metric), remove the child link q Truncated RPB (TRPB): Truncate leaf if IGMP says that there are no receivers for the group. q Reverse-Path Multicasting (RPM): truncate branch if IGMP says that there are no receivers for the group

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 20 DVMRP q RPM forwarding tree built on demand from a DVMRP group-independent routing table q Source-based trees, data-driven (broadcast-and- prune), implicit join, dense mode q TTL and admin scoping available; physical or tunnel interfaces possible q Limitations: q distance-vector => slow to adapt to topology changes; q Must store source-specific sate even when not on tree => more scaling problems q No hierarchy (flat routing domain)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 21 MBONE q Internet Multicast Backbone: testbed q Thousands of regions connected by virtual point-to- point links called “tunnels”. q Multicast traffic passes through non-multicast regions using IP-in-IP encapsulation. q Intermediate routers see only wrappers (regular IP-unicast packets) q Tunnel endpoint recognizes IP-in-IP (protocol type = 4) and decapsulates datagram for processing q MBONE uses DVMRP (mrouted) q Limited to few senders. Many small groups also undesired q Tools: sdr (session directory), vic, vat, wb

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 22 Protocol-Independent Multicast q PIM has two variants: Dense mode (DM) and sparse mode (SM) q DM builds source-based trees in a data-driven (broadcast- and-prune), implicit join manner q SM allows both source-based and shared trees. But the trees are built a priori and using explicit join. q Not dependent upon mechanisms provided by any particular unicast protocol. Can leverage upon RIP, OSPF, BGP-4 etc q PIM: broadcasts on all non-incoming interfaces until explicit prune messages are received

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 23 MOSPF q Flood the multicast group membership information along with the link states q The shortest path multicast tree is built upon demand using Dijkstra’s algorithm q Note that all routers calculate the same source-based shortest-path delivery tree q The datagram is not flooded, only the group membership info is flooded q For each transmission, determine the downstream branch and forward the packet q Use caching to avoid tree calculation for each packet q The forwarding is not TTL based

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 24 Core-Based Trees (CBT) q Sparse Mode: shared tree set up before forwarding. Good scaling properties for WAN multicast, with scattered receivers q Each group has a “core router” which is dynamically discovered (bootstrapping) q A host which wants to join the group sends a JOIN_REQUEST towards the core and gets a JOIN_ACK from the nearest router already on the tree. q Forwarding cache = group, {outgoing interface list} q Packet is forwarded onto all outgoing interfaces except the one in which it arrived q Packet transmission can be bidirectional (“upstream” in a CBT refers to the direction towards the core, not the source) q Non-tree source employs IP-in-IP encapsulation to send packets to the core

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 25 Reliable Multicast Transport q Problems: q Retransmission can make reliable multicast as inefficient as replicated unicast q Ack-implosion if all destinations ack at once q Source does not know # of destinations q “Crying baby”: one bad link affects entire group q Heterogeneity: receivers, links, group sizes q Not all multicast applications need reliability of the type provided by TCP. Some can tolerate reordering, delay, etc q Egs: Scalable Reliable Multicast (SRM), Lightweight Reliable Multicast Protocol (LRMP), Reliable Multicast Transport Protocol (RMTP), Pragmatic General Multicast (PGM)

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 26 Scalable Reliable Multicast (SRM) q All members get all the data that has been sent to the the multicast group (minimalist reliability ) q Repair requests and responses (retransmissions) are multicast. q Scope of repair requests and responses can be TTL limited or a separate “local recovery group” can be formed q Techniques to avoid implosion of repair requests, and reduce control traffic q An example of an “application level framing” paradigm {like RTP}

Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 27 Summary q IP multicast issues and applications q Multicast over LANs and scoping q IGMP q Multicast Routing and MBONE q Reliable multicast transports