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.

Slides:



Advertisements
Similar presentations
11-1 Last time □ Distance vector link cost changes ♦ Count-to-infinity, poisoned reverse □ Hierarchical routing ♦ Autonomous Systems ♦ Inter-AS, Intra-AS.
Advertisements

Computer Networking A Top-Down Approach Chapter 4.7.
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.
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.
Multicasting CSE April Internet Multicast Service Model Multicast group concept: use of indirection a host “sends” IP datagrams to multicast.
Multicast Routing: Problem Statement r Goal: find a tree (or trees) connecting routers having local mcast group members m tree: not all paths between routers.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 12 Multicasting And Multicast.
1 Internet Networking Spring 2004 Tutorial 7 Multicast Routing Protocols.
Network Layer4-1 Spanning trees r Suppose you have a connected undirected graph m Connected: every node is reachable from every other node m Undirected:
Routing So how does the network layer do its business?
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.
Review r The Internet (IP) Protocol m Datagram format m IP fragmentation m ICMP: Internet Control Message Protocol m NAT: Network Address Translation r.
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.
1 CSE 401N:Computer Network LECTURE-14 MULTICAST ROUTING.
Review r The Internet (IP) Protocol m Datagram format m IP fragmentation m ICMP: Internet Control Message Protocol m NAT: Network Address Translation r.
MULTICASTING Network Security.
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.
Broadcast and multicast routing A superb presentation from Joakim Lundmark and Martin Neuman.
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.
Multicast Sources: Kurose and Ross cast/addresstranslation_01.html.
Network Layer introduction 4.2 virtual circuit and datagram networks 4.3 what’s inside a router 4.4 IP: Internet Protocol  datagram format  IPv4.
Network Layer introduction 4.2 virtual circuit and datagram networks 4.3 what’s inside a router 4.4 IP: Internet Protocol  datagram format  IPv4.
Multicasting. References r Note: Some slides come from the slides associated with this book: “Mastering Computer Networks: An Internet Lab Manual”, J.
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.
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
IPv6. r Initial motivation: 32-bit address space soon to be completely allocated. r Additional motivation: m header format helps speed processing/forwarding.
© 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.
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 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #7 DVMRP.
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.
Network Layer4-1 Today Collect homework New homework: Ch4 #16,19,21-24,26,27,29,31 (half graded, as usual) Due Wednesday Oct 15 in class Final programming.
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.
Transport Layer3-1 Network Layer Every man dies. Not every man really lives.
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
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
CS4500CS4500 Dr. Clincy1 Continuing Chapter 11 Unicast Routing Protocols (RIP, OSPF, BGP) (How the routers’ tables are filled in) Lecture 6.
2/25/20161 Multicast on the Internet CSE 6590 Fall 2009.
1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers.
Multicasting EECS June Multicast One-to-many, many-to-many communications Applications: – Teleconferencing – Database – Distributed computing.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
Communication Networks Recitation 11. Multicast & QoS Routing.
Application Layer 2-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A.
Multicast Outline Multicast Introduction and Motivation DVRMP.
(How the routers’ tables are filled in)
CMPE 252A: Computer Networks
What’s “Inside” a Router?
Multicast on the Internet
Other Routing Protocols
IP Multicast COSC /5/2019.
Implementing Multicast
Optional Read Slides: Network Multicast
Presentation transcript:

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 Headers r Multicast Routing r Assign HW7, due Mon m Ch 4 Review #25 m Ch 4 Problems #13-16,18,19 r Proj 2 due Wednesday r Start Ch5 on Wednesday

4: Network Layer4-2 IPv6 Header Revisited Next header: identify upper layer protocol for data …really, who interprets the next header? Could be options, ICMP, upper layer protocols, and more. Fragmentation: permitted, but not performed on the fly by routers.

4: Network Layer4-3 Multicast Routing r Three types of communication supported under IPv4: m Unicast – one to one m Broadcast – one to all m Multicast – one to many r In multicasting, messages are sent to a set of receivers that could be anywhere on the Internet. r Many applications would benefit from multicast support m Live media transfer, distributed data feeds, cache updating, interactive gaming

4: Network Layer4-4 Multicast Abstraction r Two approaches toward implementing the multicast abstraction m Separate unicast transport to each receiver m Explicit multicast support at network layer

4: Network Layer4-5 Multicasting Issues r Efficiency m Messages should be delivered only to intended recipients m Messages should travel the “best” paths m Messages should not be duplicated over common links m Approach should scale r Reliability m Any guarantees?

4: Network Layer4-6 Multicast: Connection-oriented r Unlike unicast service, Internet multicast is not a connectionless service. r State must be maintained in multicast routers. r Protocols are needed to set up, maintain, and tear down connection state in the routers. r Each router must know how to route packets for multicast addresses. r How does a router know anyone is listening?

4: Network Layer4-7 IGMP: Host to Router r Internet Group Management Protocol m Host can inform router of desire to join specific multicast group m Router doesn’t care how many hosts join group m Other protocols needed between routers

4: Network Layer4-8 IGMP Messages IGMP Message TypesSent byPurpose Membership query: generalRouter Query multicast groups joined by attached hosts Membership query: specific Router Query if specific multicast group joined by attached hosts Membership reportHost Report host wants to join or is joined to given multicast group Leave groupHostReport leaving multicast group

4: Network Layer4-9 Multicast Routing r How to route multicast data only to appropriate routers and hosts? r Need to find a tree of links that connects all routers that have hosts belonging to multicast group. r Two approaches: m Single shared tree m Source-specific tree

4: Network Layer4-10 Multicast Routing Trees r Left: A single, shared tree r Right: Two source-based trees (A and B) r Efficiency vs. Complexity m Finding minimum-cost trees is complex.

4: Network Layer4-11 Minimum-cost Multicast Trees r A minimum-cost (group-shared) multicast tree. r Finding minimum cost tree (Steiner tree) is NP-complete, but good heuristics exist. r Not used in practice. Why? m Need to know about all links in network m Need to re-run algorithm whenever link costs change

4: Network Layer4-12 Group-shared Multicast Trees r A center-based tree. r Center node (E) is first identified. How? r Routers wanting to join tree send unicast message to center. r Message is forwarded to center unless received by router already present in tree.

4: Network Layer4-13 Source-based Multicast Routing r Least unicast-cost path routing tree (for A). r We know Dijkstra’s algorithm can calculate such trees. m A link state algorithm! r Minimal cost source-based trees vary depending on source.

4: Network Layer4-14 Reverse Path Forwarding (RPF) r A simpler multicast routing algorithm m Less link state info r Router forwards multicast packet to all outgoing links m Except link that first carried packet m Only if source link is on shortest path back to sender m Otherwise, drop r Note that ALL routers get multicast packets!

4: Network Layer4-15 RPF Pruning r Multicast router w/o hosts in group sends prune msg to upstream router. r Routers in which all downstream routers send prune messages also sends prune to upstream router. r Complications: m Router must know which routers are downstream. m What happens when router later wants to join group?

4: Network Layer4-16 Multicast Routing in the Internet r DVMRP: Distance Vector Multicast Routing Protocol m Source-based trees with RPF Pruning Grafting m Distance vector algorithm to compute shortest path back to every source m De facto inter-AS multicast routing algorithm

4: Network Layer4-17 Multicast Tunneling r Small fraction of routers in Internet are multicast capable. r What happens when all neighbors of a routers are not capable? m Tunneling (just like IPv6) is used.

4: Network Layer4-18 Spanning Tree Problem r Show the minimal-cost spanning tree rooted at A that includes C, D, E, and G. G F E D C A B H

4: Network Layer4-19 Spanning Tree Answer r Show the minimal-cost spanning tree rooted at A that includes C, D, E, and G. G F E D C A B H

4: Network Layer4-20 Discussion Questions r TRUE or FALSE: m When a host joins a multicast group, it must change its IP address to be that of the multicast group it is joining. m In RPF, a node will receive multiple copies of the same packet. m In RPF, a node may forward multiple copies of a packet over the same outgoing link. r How can multicast apps learn the identities of the hosts that are participating in a multicast group? r How can the application be certain that only authorized recipients get the multicast data? r If 1000 multicast groups each choose a multicast group address at random, how likely is it that there will be conflicts?