EE 122: Lecture 13 (IP 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.
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.
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.
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.
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.
CS 552 Multicast Richard Martin (slide credits B. Nath, I. Stoica)
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.
Multicast An Engineering Approach to Computer Networking.
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.
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.
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.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks  4.3 What ’ s inside a router r 4.4 IP: Internet.
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.
© 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.
CS 4396 Computer Networks Lab IP Multicast - Fundamentals.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 21: Multicast Routing Slides used with.
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.
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.
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.
EE122: Multicast Kevin Lai October 7, Internet Radio  (techno station)
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.
DMET 602: Networks and Media Lab
COMP/ELEC 429 Introduction to Computer Networks
Multicasting protocols
Multicast Outline Multicast Introduction and Motivation DVRMP.
(How the routers’ tables are filled in)
CMPE 252A: Computer Networks
Multicast Outline Homework #4 - posted later today, due in one week
Multicasting and Multicast Routing Protocols
Multicast on the Internet
IP Multicast COSC /5/2019.
Implementing Multicast
Optional Read Slides: Network Multicast
Presentation transcript:

EE 122: Lecture 13 (IP Multicast Routing) Ion Stoica October 16, 2001

Motivation Many applications require one-to-many communication E.g., video/audio conferencing, news dissemination, file updates, etc. Using unicast to replicate packets not efficient  IP multicast needed istoica@cs.berkeley.edu

Semantics Open group semantic Advantages: Disadvantage A group is identified by a location-independent address Any source (not necessary in the group) can multicast to all members in a group Advantages: Query an object/service when its location is not known Disadvantage Difficult to protect against unauthorized listeners istoica@cs.berkeley.edu

Problem Multicast delivery widely available on individual LANs Example: Ethernet multicast But not across interconnection of LANs I.e., can't do Internet multicast istoica@cs.berkeley.edu

Three Approaches Single spanning-tree (SST) Distance-vector multicast (DVM) Link-state multicast (LSM) istoica@cs.berkeley.edu

Multicast Service Model Built around the notion of group of hosts: Senders and receivers need not know about each other Sender simply sends packets to “logical” group address No restriction on number or location of receivers Applications may impose limits Normal, best-effort delivery semantics of IP Same recovery mechanisms as unicast istoica@cs.berkeley.edu

Multicast Service Model (cont’d) Dynamic membership Hosts can join/leave at will No synchronization or negotiation Can be implemented a higher layer if desired istoica@cs.berkeley.edu

Key Design Goals Delivery efficiency as good as unicast Low join latency Low leave latency istoica@cs.berkeley.edu

Network Model Interconnected LANs LANs support link-level multicast Map globally unique multicast address to LAN-based multicast address (LAN-specific algorithm) istoica@cs.berkeley.edu

Distance Vector Multicast Routing Extension to DV routing Use shortest path DV routes to determine if link is on the source-rooted spanning tree istoica@cs.berkeley.edu

Reverse Path Flooding (RPF) A router forwards a broadcast packet from source (S) iff it arrives via the shortest path from the router back to S Packet is replicated out all but the incoming interface Reverse shortest paths easy to compute  just use info in DV routing tables DV gives shortest reverse paths Efficient if costs are symmetric S y x z Forward packets that arrive on shortest path from “t” to “S” (assume symmetric routes) t a istoica@cs.berkeley.edu

Problem Flooding can cause a given packet to be sent multiple times over the same link Solution: Reverse Path Broadcasting S x y a duplicate packet z b istoica@cs.berkeley.edu

Reverse Path Broadcasting (RPB) Basic idea: forward a packet from S only on child links for S Child link of router x for source S: link that has x as parent on the shortest path from the link to S S 5 6 x y forward only to child link a child link of x for S z b istoica@cs.berkeley.edu

Identify Child Links Routing updates identify parent Since distances are known, each router can easily figure out if it's the parent for a given link If z tells x that it can reach S through y, and if the cost of this path is >= the cost of the path from z to S through x, then x knows that the link to z is a child link In case of tie, lower address wins istoica@cs.berkeley.edu

Problem This is still a broadcast algorithm – the traffic goes everywhere First order solution: Truncated RPB istoica@cs.berkeley.edu

Truncated RBP Don't forward traffic onto networks with no receivers Identify leaves Detect group membership in leaf istoica@cs.berkeley.edu

Solution Identify leaves Detect group membership Leaf links are the child links that no other router uses to reach source S Use periodic updates of form: “this is my next link to source S” Detect group membership Routers periodically broadcast a query_membership(max_response_time) message Hosts reply with a membership message after a random time 0..max_response_time Duplicate membership reporting are suppressed If a host hears another group membership reply from another host it suppresses its own reply istoica@cs.berkeley.edu

Reverse Path Multicast (RPM) Prune back transmission so that only absolutely necessary links carry traffic Use on-demand pruning so that router group state scales with number of active groups S data message prune message a b x y v t a b istoica@cs.berkeley.edu

Basic RPM Idea Prune (Source,Group) at leaf if no members Send Non-Membership Report (NMR) up the tree If all children of router R prune (S,G) Propagate prune for (S,G) to parent R On timeout: Prune dropped Flow is reinstated Down stream routers re-prune Note: this is a soft-state approach istoica@cs.berkeley.edu

Details How to pick prune timers? Too long  large join time Too short  high control overhead What do you do when a member of a group (re)joins? Issue prune-cancellation message (grafts) Both NRM and graft messages are positively acknowledged (why?) istoica@cs.berkeley.edu

RMP Scaling State requirements: How to get better scaling? O(Sources  Groups) active state How to get better scaling? Hierarchical Multicast Core-based Trees istoica@cs.berkeley.edu

Core Based Trees (CBT) Use a Single-Spanning Tree for the entire group Unicast packet to core and bounce it back to multicast group Tree construction is receiver-based One tree per group Only nodes on tree involved Reduce routing table state from O(S x G) to O(G) istoica@cs.berkeley.edu

Example Group members: M1, M2, M3 M1 sends data core control (join) messages data istoica@cs.berkeley.edu

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 complete istoica@cs.berkeley.edu

Summary DV-RMP an elegant extension of DV routing CBT addresses some of the DV-RMP scalability concerns but is sub-optimal and less robust Protocol Independent Multicast (PIM) Sparse mode similar to CBT Dense mode similar to DV-RMP istoica@cs.berkeley.edu

Administrative Stuff End of lecture: deadline for re-grading of 1st midterm Homework 3 is now on line Come by my office now if you want a hard copy 2nd project will be handed next Tuesday, October 23 Next lecture: BGP routing istoica@cs.berkeley.edu