COMP/ELEC 429 Introduction to Computer Networks

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.
IP Multicast Lecture 2: PIM-SM Carl Harris Communications Network Services Virginia Tech.
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,
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.
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.
TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Multicast.
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.
© 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.
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
© 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.
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.
© 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.
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.
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.
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.
Internet Multicasting Routing: DVMRP r DVMRP: distance vector multicast routing protocol, RFC1075 r flood and prune: reverse path forwarding, source-based.
EE122: Multicast Kevin Lai October 7, Internet Radio  (techno station)
Chapter 21 Multicast Routing
DMET 602: Networks and Media Lab
Multicasting protocols
Multicast Outline Multicast Introduction and Motivation DVRMP.
Routing BY, P.B.SHANMATHI.
(How the routers’ tables are filled in)
CMPE 252A: Computer Networks
ECE544: Communication Networks-II Spring 2013
Multicasting and Multicast Routing Protocols
Multicast Outline Multicast revisited
COMP/ELEC 429/556 Introduction to Computer Networks
IP Multicast COSC /5/2019.
EE 122: Lecture 13 (IP Multicast Routing)
Chapter 12 Multicasting And Multicast Routing Protocols
Implementing Multicast
Optional Read Slides: Network Multicast
Presentation transcript:

COMP/ELEC 429 Introduction to Computer Networks Multicast Routing Some slides used with permissions from Edward W. Knightly, T. S. Eugene Ng, Ion Stoica, Hui Zhang T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

What applications do you think consume the most bandwidth in the Internet? T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

Internet Traffic 1995-2010 Other Video Newsgroups Peer-to-peer DNS Telnet Email FTP Web http://www.reelseo.com/video-50-bandwidth-consumption/ T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

What would it take to run a live Internet TV station? Broadcast Center Backbone ISP A live Internet TV station would be 4Mbps/stream! T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

Terminologies What is “unicast”? What is “broadcast? Cast: to send, to throw Unicast: to send to a single receiver Point-to-point communication Nearly all wide-area Internet traffic is unicast Web traffic, Video, Music, BitTorrent, SSH, FTP,... What is “broadcast? Broadcast: to send everywhere (recall broadcast in local area Ethernet) What is “multicast”? In between unicast and broadcast Each packet is sent to multiple specific receivers Point-to-Multipoint communication Useful for: Internet TV/radio, stock price update, video conference …… T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

How to Send to Multiple Receivers? What are the simplest ways? 1: Send a copy of the packet to one receiver at a time until all receivers have it i.e. use unicast to implement multicast Doesn’t scale with respect to # receivers 2: Flood a packet throughout the network and have non-receivers discard the packet i.e. use broadcast to implement multicast Don’t scale with respect to network size 3: Use IP routers to construct a distribution tree a.k.a. IP multicast Many ways to construct tree 4: Peer-to-peer 5: Content Distribution “Network” (Akamai, Limelight, etc.) T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

IP Multicast Idea: Use IP routers in distribution tree Copy data at routers At most one copy of a data packet per link Broadcast Center Backbone ISP Routers compute trees and forward packets along them LANs use broadcasting Important: This is not the only way to solve the distirbution problem T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

IP Multicast Routing Approaches Kinds of Trees Source Specific Trees Most suitable for single sender E.g. Internet TV/radio, distance learning, stock quote Shared Tree Multiple senders in a group E.g. Teleconference, multiplayer games, distributed databases T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

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 5 7 4 8 6 11 2 10 3 1 13 12 Members of the multicast tree Sender T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

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 5 7 4 8 6 11 2 10 3 1 13 12 Lowest delay can be achieved but expensive to construct/maintain; routers need to manage a tree per source T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

Shared Tree One tree used by all members in a group 5 7 4 8 6 11 2 10 3 1 13 12 Easier to construct/maintain but hard to pick a “good” tree for everyone! T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

Multicast Group Address IPv4 Multicast 28 1110 Multicast Group Address First octet: 224 - 239 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 T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

IP Multicast Service Model [G, data] R0 joins G R1 joins G Rn-1 joins G R0 S R1 Net . Rn-1 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 T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

IP 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 Ng eugeneng at cs.rice.edu Rice University

IP Multicast Routing Intra-domain Inter-domain Distance-vector multicast (DVMRP) Protocol-Independent Multicast – Sparse Mode (PIM-SM) Inter-domain Multicast Source Discovery Protocol (MSDP) T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

Distance Vector Multicast Routing Protocol (DVMRP) An 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 Ng eugeneng at cs.rice.edu Rice University

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 e:3 c:2 d:3 a:1 b:2 r s name:hop count to s T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

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

Reverse Path Broadcasting (RPB) Choose 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 Use the poison reverse DV entry! If no router is used as parent, then the router with the smallest address becomes parent of link S 5 6 x y forward only to child link a child link of x for S z b x y S 5 6 T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

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 Ng eugeneng at cs.rice.edu Rice University

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 Leaf router sends “prune” message to upstream router when no member Recur S r2 r1 T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

DVMRP Scaling State requirements: O(Sources  Groups) active state Source specific trees Flood and prune is disruptive if number of receivers is small T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

PIM-SM (No more flooding) Protocol-Independent Multicast – Sparse Mode Pick a router as the “rendezvous point” for the group Build a tree rooted at the RP Union of the unicast paths from members to the RP becomes shared tree To send, router receiving multicast packet from host tunnels multicast packet to RP, and RP sends it to multicast group Reduce routing table state from O(S x G) to O(G) No packet flooding Note: PIM-DM “Dense Mode” is similar to DVMRP T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

PIM-SM Example Group members M2, M3 sends group join (*, G) to RP M1 multicasts data Register msg RP M1 M2 M3 control (join) messages data T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

PIM-SM Optimization 1 RP sends source specific join (M1, G) to M1 Eliminates need for tunneling RP M1 M2 M3 control (join) messages data T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

PIM-SM Optimization 2 M2, M3 sends source specific join (M1, G) to M1 instead Previous tree paths to RP may expire Eliminates detour Justified if volume of data is large RP M1 M2 control (join) messages M3 data T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

Disadvantages Potentially sub-optimal delay unless source specific tree optimization is performed Need good RP selection Optimal choice (computing topological center) is NP hard Single point of failure RP goes out and all packets could be lost until error recovery elects a new RP T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

Inter-Domain Multicast Rendezvous Point TCP Connection Intra-Domain PIM Tree TCP Connection Intra-Domain PIM Tree Intra-Domain PIM Tree Construct multicast tree paths between domains on-demand T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

Inter-Domain Multicast with Multicast Source Discovery Protocol (MSDP) T. S. Eugene Ng eugeneng at cs.rice.edu Rice University

Disadvantages with IP Multicast Complex Protocols Increase state in routers Needs universal router support Cannot incrementally deploy Poor security control Hard to multicast data reliably Hard to perform congestion control on multicast data Next time we’ll study end-to-end alternatives to IP multicast T. S. Eugene Ng eugeneng at cs.rice.edu Rice University