CS 5565 Network Architecture and Protocols

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.
Computer Networks Chapter 4: Advanced Internetworking
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.
Multicast1 Instructor: Anirban Mahanti Office: ICT Slides are adapted from the companion web site of the textbook “
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.
5-1 Link Layer: Introduction Some terminology: r hosts and routers are nodes r communication channels that connect adjacent nodes along communication path.
1 Internet Networking Spring 2004 Tutorial 7 Multicast Routing Protocols.
1 Internet Networking Spring 2006 Tutorial 7 DVMRP.
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:
Network Layer session 1 TELE3118: Network Technologies Week 8: Network Layer Multicast, Mobility Some slides have been taken from: r Computer Networking:
5: DataLink Layer5-1 Chapter 5 Link Layer and LANs Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross.
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
Chapter 5 Link Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 20.
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.
3-1 Last time □ Finished introduction and overview: ♦ Network access and physical media ♦ Internet structure and ISPs ♦ Delay & loss in packet-switched.
Introduction 1 Lecture 23 Link Layer (Error Detection/Correction) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science.
5: DataLink Layer5-1 Chapter 5 Link Layer and LANs Part 1: Overview of the Data Link layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose,
© 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.
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.
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.
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.
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.
5: DataLink Layer5-1 Chapter 5 Link Layer and LANs Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross.
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
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Link Layer introduction,
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.
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.
Shashank Srivastava Motilal Nehru national Institute Of Information Technology, Allahabad Data Link Layer.
2/25/20161 Multicast on the Internet CSE 6590 Fall 2009.
5: DataLink Layer5-1 Chapter 5: The Data Link Layer Our goals: r understand principles behind data link layer services: m error detection, correction m.
Internet Multicasting Routing: DVMRP r DVMRP: distance vector multicast routing protocol, RFC1075 r flood and prune: reverse path forwarding, source-based.
CPSC 441: Link Layer1 Link Layer Addressing Slides originally from Carey Williamson Notes derived from “ Computer Networking: A Top Down Approach”, by.
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.
DMET 602: Networks and Media Lab
IPv6 Initial motivation: 32-bit address space completely allocated by Additional motivation: header format helps speed processing/forwarding header.
Multicast Outline Multicast Introduction and Motivation DVRMP.
Chapter 5 Link Layer and LANs
(How the routers’ tables are filled in)
CS 5565 Network Architecture and Protocols
ECE544: Communication Networks-II Spring 2013
Chapter 4: Network Layer
Some slides have been taken from:
شبکه هاي کامپيوتري فصل پنجم: لايه شبکه (NetworkLayer)
ECE544: Communication Networks-II Spring 2018
IP Multicasting By Behzad Akbari Fall 2008
Multicast on the Internet
Multicast Instructor: Anirban Mahanti Office: ICT 745
Link Layer and LANs Its not about how hard you hit... It's about how hard you can get hit and keep moving forward 5: DataLink Layer.
IP Multicast COSC /5/2019.
Implementing Multicast
Optional Read Slides: Network Multicast
Presentation transcript:

CS 5565 Network Architecture and Protocols Lecture 22 Godmar Back

Announcements Project 2B due in 2 parts: Extra Credit Opportunities: Apr 29 and May 6 Extra Credit Opportunities: Expand simulator (and your implementation) to introduce multiple link failures and link resurrection Additional, requiring reading posted Andersen et al [SIGCOMM’08]: Accountable Internet Protocol (AIP) Casado et al [HotNets’08]: Rethinking Packet Forwarding Hardware CS 5565 Spring 2009 4/18/2019

Other Routing Protocols Ad-hoc Routing Broadcast Routing Multicast Routing CS 5565 Spring 2009 4/18/2019

creation/transmission Broadcast Routing Motivation: Use in-network duplication (b) rather than source-duplication (a) (a) (b) R1 R2 R3 R4 duplicate creation/transmission CS 5565 Spring 2009 4/18/2019

Broadcast Routing (2) Simplest approach: simple flooding Forward every packet from every link to all other links every time Inefficient, loops, “broadcast storms” Sequence-number controlled flooding Only forward new packets to all other links CS 5565 Spring 2009 4/18/2019

Reverse Path Forwarding Only forward packets from link that lies on shortest path to the source Assume unicast routing has run & every node knows shortest path to source A B G D E C F CS 5565 Spring 2009 4/18/2019

Broadcast using spanning tree F A B G D E C F Same spanning tree can be used for all sources! CS 5565 Spring 2009 4/18/2019

Spanning Tree Construction B G D E C F 1 2 3 4 5 A B G D E C F Center-based: all nodes send “tree-join” message to known or elected center node CS 5565 Spring 2009 4/18/2019

Multicast Routing Goal: find a tree (or trees) connecting routers having local mcast group members tree: not all paths between routers used source-based: different tree from each sender to rcvrs shared-tree: same tree used by all group members Source-based trees Shared tree Notes: 3.3 Network Layer: Multicast Routing Algorithms 3-9 CS 5565 Spring 2009 4/18/2019

Shortest Path Tree mcast forwarding tree: tree of shortest path routes from source to all receivers Dijkstra’s algorithm S: source LEGEND R1 2 R4 router with attached group member 1 R2 5 router with no attached group member Notes: 3.3 Network Layer: Multicast Routing Algorithms 3-12 3 4 R5 6 link used for forwarding, i indicates order link added by algorithm R3 i R6 R7 CS 5565 Spring 2009 4/18/2019

Reverse Path Forwarding S: source LEGEND router with attached group member router with no attached group member datagram will be forwarded datagram will not be forwarded Notes: 3.3 Network Layer: Multicast Routing Algorithms 3-14 result is a source-specific reverse shortest path tree (SPT) – unless costs are asymmetric CS 5565 Spring 2009 4/18/2019

Reverse Path Forwarding: Pruning S: source P LEGEND router with attached group member router with no attached group member P prune message links with multicast forwarding no need to forward datagrams down subtrees with no group members “prune” msgs sent upstream by router with no downstream group members Notes: 3.3 Network Layer: Multicast Routing Algorithms 3-15 CS 5565 Spring 2009 4/18/2019

Shared-Tree: Steiner Tree Steiner Tree: minimum cost tree connecting all routers with attached group members problem is NP-complete (if intermediate nodes must be found) excellent heuristics exists not used in practice: computational complexity information about entire network needed monolithic: rerun whenever a router needs to join/leave Notes: 1. See L. Wei and D. Estrin, “A Comparison of multicast trees and algorithms,” TR USC-CD-93-560, Dept. Computer Science, University of California, Sept 1993 for a comparison of heuristic approaches. 3.3 Network Layer: Multicast Routing Algorithms 3-16 CS 5565 Spring 2009 4/18/2019

Center-Based trees single delivery tree shared by all one router identified as “center” of tree to join: edge router sends unicast join-msg addressed to center router join-msg “processed” by intermediate routers and forwarded towards center join-msg either hits existing tree branch for this center, or arrives at center path taken by join-msg becomes new branch of tree for this router Notes: 1. It’s always nice to see a PhD dissertation with impact. The earliest discussion of center-based trees for multicast appears to be D. Wall, “Mechanisms for Broadcast and Selective Broadcast,” PhD dissertation, Stanford U., June 1980. 3.3 Network Layer: Multicast Routing Algorithms 3-17 CS 5565 Spring 2009 4/18/2019

Center-based Trees Suppose R6 chosen as center: R1 LEGEND R4 3 2 3 1 LEGEND router with attached group member router with no attached group member 1 path order in which join messages generated Notes: 3.3 Network Layer: Multicast Routing Algorithms 3-18 CS 5565 Spring 2009 4/18/2019

Internet Multicasting Routing: DVMRP DVMRP: distance vector multicast routing protocol, RFC1075 flood and prune: reverse path forwarding, source-based tree RPF tree based on DVMRP’s own routing tables constructed by communicating DVMRP routers no assumptions about underlying unicast initial datagram to mcast group flooded everywhere via RPF routers not wanting group: send upstream prune msgs Notes: D. Waitzman, S. Deering, C. Partridge, “Distance Vector Multicast Routing Protocol,” RFC 1075, Nov. 1988. The version of DVMRP in use today is considerably enhanced over the RFC1075 spec. A more up-to-date “work-in-progress” defines a version 3 of DVMRP: T. Pusateri, “Distance Vector Multicast Routing Protocol,” work-in-progress, draft-ietf-idmr-v3-05.ps 3.4 Network Layer: Internet Multicast Routing Algorithms 3-20 CS 5565 Spring 2009 4/18/2019

DVMRP: continued… soft state: DVMRP router periodically (1 min.) “forgets” branches are pruned: mcast data again flows down unpruned branch downstream router: reprune or else continue to receive data routers can quickly regraft to tree following IGMP join at leaf odds and ends commonly implemented in commercial routers Mbone routing done using DVMRP Notes: 1. See www.mbone.com/mbone/routers.html for a (slightly outdatet) list of multicast capable routers (supporting DVMPR as well as other protocols) from various vendors. 2. ftp://parcftp.xerox.com/pub/net-research/ipmulti for circa 1996 public copy “mrouted” v3.8 of DVMRP routing software for various workstation routing platforms. 3.4 Network Layer: Internet Multicast Routing Algorithms 3-21 CS 5565 Spring 2009 4/18/2019

IGMP Internet Group Management Protocol Local protocol used by hosts to inform their routers that they’d like to join a mcast group MCast addresses are 224.x.x.x 28bits for groups, address indirection Simple protocol Join Leave (optional) Membership Query (still interested?) CS 5565 Spring 2009 4/18/2019

Tunneling Q: How to connect “islands” of multicast routers in a “sea” of unicast routers? physical topology logical topology mcast datagram encapsulated inside “normal” (non-multicast-addressed) datagram normal IP datagram sent thru “tunnel” via regular IP unicast to receiving mcast router which undoes encapsulation Notes: For a general discussion of IP encapsulation, see C. Perkins, “IP Encapsulation within IP,” RFC 2003, Oct. 1996. The book S. Bradner, A Mankin, “Ipng: Internet protocol next generation,” Addison Wesley, 1995 has a very nice discussion of tunneling Tunneling can also be used to connect islands of IPv6 capable routers in a sea IPv4 capable routers. The long term hope is that the sea evaporates leaving only lands of IPv6! 3.4 Network Layer: Internet Multicast Routing Algorithms 3-22 CS 5565 Spring 2009 4/18/2019

Status of IP Multicast MBone exists PIM: ‘Protocol Independent Multicast’ protocol alternative to DVMRP Sporadically deployed Has not taken off Despite need (?) CS 5565 Spring 2009 4/18/2019

Data Link Layer

The Data Link Layer Our goals: understand principles behind data link layer services: error detection, correction sharing a broadcast channel: multiple access link layer addressing reliable data transfer, flow control: done! instantiation and implementation of various link layer technologies CS 5565 Spring 2009 4/18/2019

Link Layer: Introduction hosts and routers are nodes communication channels that connect adjacent nodes along communication path are links wired vs. wireless links, LANs provide different services layer-2 packet is a frame, encapsulates datagram data-link layer has responsibility of transferring datagram from one node to adjacent node over a link CS 5565 Spring 2009 4/18/2019

Adaptors Communicating datagram link layer protocol rcving node sending node frame frame adapter adapter link layer implemented in “adaptor” (aka NIC) Ethernet card, PCMCIA card, 802.11 card sending side: encapsulates datagram in a frame (header + data + trailer) adds error checking bits, rdt, flow control, etc. receiving side looks for errors, rdt, flow control, etc extracts datagram, passes to rcving node adapter is semi-autonomous link & physical layers CS 5565 Spring 2009 4/18/2019

Example: Gigabit Ethernet We’ve covered this so far Could teach an entire (EE) course on what’s below LLC Logical Link Control MAC Media Access Control PCS Physical Coding Sublayer PMA Physical Media Access GMII Gigabit Media Independent Interface MDI Media Dependent Interface (Twisted Pair, Fiber) Source: [Noseworthy 1998] CS 5565 Spring 2009 4/18/2019

Link Layer Services Framing, link access: encapsulate datagram into frame, adding header, trailer channel access if shared medium “MAC” addresses used in frame headers to identify source, dest different from IP address! Reliable delivery between adjacent nodes same ideas as at Layer 4 apply seldom used on low bit error link (fiber, some twisted pair) wireless links: high error rates Q: why both link-level and end-end reliability? CS 5565 Spring 2009 4/18/2019

Link Layer Services (more) Flow Control: pacing between adjacent sending and receiving nodes Half-duplex and full-duplex with half duplex, nodes at both ends of link can transmit, but not at same time Error Detection: errors caused by signal attenuation, noise. receiver detects presence of errors: signals sender for retransmission or drops frame Error Correction: receiver identifies and corrects bit error(s) without resorting to retransmission CS 5565 Spring 2009 4/18/2019