Chapter 4 roadmap. CS555, Spring /14/2005. WMU-CS, Dr. Gupta 1. Multicast Routing: Problem Statement. Approaches for building mcast trees

Similar documents
Review. Some slides are in courtesy of J. Kurose and K. Ross

Last time. BGP policy. Broadcast / multicast routing. Link virtualization. Spanning trees. Reverse path forwarding, pruning Tunneling

Chapter 5 Link Layer. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

Chapter 5: Link layer

Data Link Layer. Our goals: understand principles behind data link layer services: instantiation and implementation of various link layer technologies

Chapter 6 The Link Layer and LANs

Chapter 5 Link Layer and LANs

CSC 401 Data and Computer Communications Networks

Computer Networks, Andrew Tannenbaum, Chapter 5.6. Computer Networking: A Top Down Approach Featuring the

Link layer: introduction

DATA COMMUNICATOIN NETWORKING

CSC 4900 Computer Networks: The Link Layer

CSC 4900 Computer Networks: Mobility

Broadcast Routing. Multicast. Flooding. In-network duplication. deliver packets from source to all other nodes source duplication is inefficient:

Data Link Layer: Multi Access Protocols

Mobility: vocabulary

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 16

Computer Networks. Wenzhong Li. Nanjing University

Principles behind data link layer services:

Chapter 4 Network Layer

Mohammad Hossein Manshaei 1393

CS 455/555 Intro to Networks and Communications. Link Layer

Data Communication & Networks G Session 5 - Main Theme Wireless Networks. Dr. Jean-Claude Franchitti

Chapter 5 Link Layer. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

Lecture 8 Link Layer: functionality, error detection, media access algorithm

Principles behind data link layer services:

Principles behind data link layer services:

Principles behind data link layer services

ECS-087: Mobile Computing

CSCI-1680 Wireless Chen Avin

SC250 Computer Networking I. Link Layer. Prof. Matthias Grossglauser LCA/I&C.

CMPE 150: Introduction to Computer Networks

Announcements: Assignment 4 due now Lab 4 due next Tuesday Assignment 5 posted, due next Thursday

CPSC 826 Internetworking. Wireless and Mobile Networks. Wireless Networks Wireless Hosts

Exercises to Communication Systems

INTRODUCTION, SERVICES. Data-link layer has responsibility of transferring datagram from one node to physically adjacent node over a link

LINK LAYER AND LANS 1

Chapter 5 Link Layer and LANs

CC451 Computer Networks

The Link Layer and LANs. Chapter 6: Link layer and LANs

Hubs. twisted pair. hub. 5: DataLink Layer 5-1

No lecture on Thurs. Last homework will be out this week (not due, covers wireless) Extra office hours for next week and the week after.

Lecture 20: Link Layer

Link Layer: Introduction. Chapter 5 Link Layer & LANS. Link layer: context. Link Layer Services

What is mobility? Mobile IP. Mobility Impact on Protocol Stack (cont.) Advanced Topics in Computer Networks

Master Course Computer Networks IN2097

Computer Networks LECTURE 10 ICMP, SNMP, Inside a Router, Link Layer Protocols. Assignments INTERNET CONTROL MESSAGE PROTOCOL

Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

4.2 Multicast IP supports multicast to support one-to-many (radio, news, IP multicast was originally a many-to-many (any source MC or

Chapter 5 Link Layer and LANs

Master Course Computer Networks IN2097

CSC 401 Data and Computer Communications Networks

Lecture 6. TCP/IP Network Layer (4)

Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5

Chapter 5 Link Layer. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

Multicast. Midterm. EECS 122: Lecture 16. University of California Berkeley. Exam was not meant to be easy

Link Layer and LANs 안상현서울시립대학교컴퓨터 통계학과.

Lecture 19. Principles behind data link layer services Framing Multiple access protocols

Computer Networks. Wireless and Mobile Networks. László Böszörményi Computer Networks Mobile - 1

Internet Services & Protocols. Mobile and Wireless Networks

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

Introduction to Computer Networks. 03 Data Link Layer Introduction

CSCE 463/612 Networks and Distributed Processing Spring 2018

Chapter 5: DataLink Layer

Lecture 7. Network Layer. Network Layer 1-1

Lecture 6 - Link layer. Lecture 5 Review. Link Layer. Introduction, Services. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen

Chapter 6: Link layer and LANs. Link layer, LANs: outline. Link layer: introduction. Link layer: context. Link layer services (more)

Chapter 5 Link Layer and LANs

Computer Networks. Today. Principles of datalink layer services Multiple access links Adresavimas, ARP LANs Wireless LANs VU MIF CS 1/48 2/48

Addressing: when mobile is moving around. Mobile Registration. Principles of Mobile Routing. Mobility via Indirect Routing

Communications Software. CSE 123b. CSE 123b. Spring Lecture 10: Mobile Networking. Stefan Savage

Quick announcement. CSE 123b Communications Software. Last class. Today s issues. The Mobility Problem. Problems. Spring 2003

Multicast Communications. Slide Set were original prepared by Dr. Tatsuya Susa

Module 4 Data Link Layer CS655! 4-1!

Topics. Link Layer Services (more) Link Layer Services LECTURE 5 MULTIPLE ACCESS AND LOCAL AREA NETWORKS. flow control: error detection:

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

CSE 123b Communications Software

Quick announcements. CSE 123b Communications Software. Today s issues. Last class. The Mobility Problem. Problems. Spring 2004

Chapter V: Link Layer

CS610- Computer Network Solved Subjective From Midterm Papers

Multicast Communications

CH : 15 LOCAL AREA NETWORK OVERVIEW

CMSC 332 Computer Networks Network Layer

Mobile IP Overview. Based on IP so any media that can support IP can also support Mobile IP

Chapter 4 Network Layer

CSE 123A Computer Netwrking

CSCI Computer Networks Fall 2016

CSC 8560 Computer Networks: Link Layer

Medium Access Protocols

Summary of MAC protocols

Multicast Communications. Tarik Čičić, 4. March. 2016

Network Layer II. Getting IP addresses. DHCP client-server scenario. DHCP client-server scenario. C compiler. You writing assignment 2

Module 10 Data Link Layer CS655! 10-1!

Links. CS125 - mylinks 1 1/22/14

Outline. CS5984 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Host Mobility Problem Solutions. Network Layer Solutions Model

Review is pretty much complete! Please help formatting review (indenting). - Jorden

CSCI Computer Networks Spring 2017

Outline. CS6504 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Dr. Ayman Abdel-Hamid. Mobile IPv4.

Wireless Network and Mobility

ITEC310 Computer Networks II

Transcription:

Chapter 4 roadmap 4. Introduction and Network Service Models 4.2 VC and Datagram Networks 4.3 What s Inside a Router 4.4 The Internet (IP) Protocol 4.5 Routing Algorithms 4.6 Routing in the Internet 4.7 Broadcast and Multicast Routing 4.8 Mobility 4/4/2005 5: DataLink Layer 5- Multicast Routing: Problem Statement Goal: find a tree (or trees) connecting routers having local mcast s tree: not all paths between routers used source-based: different tree from each sender to rcvrs shared-tree: same tree used by all s Shared tree Source-based trees 4/4/2005 5: DataLink Layer 5-2 Approaches for building mcast trees Approaches: source-based tree: one tree per source shortest path trees reverse path forwarding group-shared tree: group uses one tree minimal spanning (Steiner) center-based trees we first look at basic approaches, then specific protocols adopting these approaches 4/4/2005 5: DataLink Layer 5-3 WMU-CS, Dr. Gupta

Shortest Path Tree mcast forwarding tree: tree of shortest path routes from source to all receivers Dijkstra s algorithm S: source R 2 R2 3 4 R3 R6 R4 5 R5 6 R7 LEGEND i router with attached router with no attached link used for forwarding, i indicates order link added by algorithm 4/4/2005 5: DataLink Layer 5-4 Reverse Path Forwarding! rely on router s knowledge of unicast shortest path from it to sender! each router has simple forwarding behavior: if (mcast datagram received on incoming link on shortest path back to center) then flood datagram onto all outgoing links else ignore datagram 4/4/2005 5: DataLink Layer 5-5 Reverse Path Forwarding: example S: source R R3 R2 R6 R4 R7 R5 LEGEND router with attached router with no attached datagram will be forwarded datagram will not be forwarded result is a source-specific reverse SPT may be a bad choice with asymmetric links 4/4/2005 5: DataLink Layer 5-6 WMU-CS, Dr. Gupta 2

Reverse Path Forwarding: pruning forwarding tree contains subtrees with no mcast s no need to forward datagrams down subtree prune msgs sent upstream by router with no downstream s S: source LEGEND R3 R R2 R6 R4 P P R7 R5 P router with attached router with no attached prune message links with multicast forwarding 4/4/2005 5: DataLink Layer 5-7 Shared-Tree: Steiner Tree Steiner Tree: minimum cost tree connecting all routers with attached group members problem is NP-complete excellent heuristics exists not used in practice: computational complexity information about entire needed monolithic: rerun whenever a router needs to join/leave 4/4/2005 5: DataLink Layer 5-8 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 4/4/2005 5: DataLink Layer 5-9 WMU-CS, Dr. Gupta 3

Center-based trees: an example Suppose R6 chosen as center: LEGEND R3 R2 R 3 R6 2 R4 R7 R5 router with attached router with no attached path order in which join messages generated 4/4/2005 5: DataLink Layer 5-0 Chapter 4 roadmap 4. Introduction and Network Service Models 4.2 VC and Datagram Networks 4.3 What s Inside a Router 4.4 The Internet (IP) Protocol 4.5 Routing Algorithms 4.6 Routing in the Internet 4.7 Broadcast and Multicast Routing 4.X Mobility 4/4/2005 5: DataLink Layer 5- What is mobility? spectrum of mobility, from the perspective: no mobility high mobility mobile user, using same access point mobile user, connecting/ disconnecting from using DHCP. mobile user, passing through multiple access point while maintaining ongoing connections (like cell phone) 4/4/2005 5: DataLink Layer 5-2 WMU-CS, Dr. Gupta 4

Mobility: Vocabulary home : permanent home of mobile (e.g., 28.9.40/24) home agent: entity that will perform mobility functions on behalf of mobile, when mobile is remote Permanent address: address in home, can always be used to reach mobile e.g., 28.9.40.86 wide area 4/4/2005 5: DataLink Layer 5-3 Mobility: more vocabulary Permanent address: remains constant (e.g., 28.9.40.86) visited : in which mobile currently resides (e.g., 79.29.3/24) Care-of-address: address in visited. (e.g., 79,29.3.2) wide area : wants to communicate with mobile home agent: entity in visited that performs mobility functions on behalf of mobile. 4/4/2005 5: DataLink Layer 5-4 How do you contact a mobile friend: Consider friend frequently changing addresses, how do you find her? search all phone books? call her parents? expect her to let you know where he/she is? I wonder where Alice moved to? 4/4/2005 5: DataLink Layer 5-5 WMU-CS, Dr. Gupta 5

Mobility: approaches Let routing handle it: routers advertise permanent address of mobile-nodes-in-residence via usual routing table exchange. routing tables indicate where each mobile located no changes to end-systems Let end-systems handle it: indirect routing: communication from to mobile goes through home agent, then forwarded to remote direct routing: gets foreign address of mobile, sends directly to mobile 4/4/2005 5: DataLink Layer 5-6 Mobility: approaches Let routing handle it: routers advertise permanent address of mobile-nodes-in-residence not via usual routing table exchange. scalable to millions of routing tables indicate mobiles where each mobile located no changes to end-systems let end-systems handle it: indirect routing: communication from to mobile goes through home agent, then forwarded to remote direct routing: gets foreign address of mobile, sends directly to mobile 4/4/2005 5: DataLink Layer 5-7 Mobility: registration home visited 2 wide area foreign agent contacts home agent home: this mobile is resident in my mobile contacts foreign agent on entering visited End result: Foreign agent knows about mobile Home agent knows location of mobile 4/4/2005 5: DataLink Layer 5-8 WMU-CS, Dr. Gupta 6

Mobility via Indirect Routing home addresses packets using home address of mobile home agent intercepts packets, forwards to foreign agent wide area 2 foreign agent receives packets, forwards to mobile 4 3 visited mobile replies directly to 4/4/2005 5: DataLink Layer 5-9 Indirect Routing: comments Mobile uses two addresses: permanent address: used by (hence mobile location is transparent to ) care-of-address: used by home agent to forward datagrams to mobile foreign agent functions may be done by mobile itself triangle routing: -home-mobile inefficient when, mobile are in same 4/4/2005 5: DataLink Layer 5-20 Forwarding datagrams to remote mobile packet sent by home agent to foreign agent: a packet within a packet foreign-agent-to-mobile packet dest: 28.9.40.86 dest: 79.29.3.2 dest: 28.9.40.86 Permanent address: 28.9.40.86 dest: 28.9.40.86 packet sent by Care-of address: 79.29.3.2 4/4/2005 5: DataLink Layer 5-2 WMU-CS, Dr. Gupta 7

Indirect Routing: moving between s suppose mobile user moves to another registers with new foreign agent new foreign agent registers with home agent home agent update care-of-address for mobile packets continue to be forwarded to mobile (but with new care-of-address) Mobility, changing foreign s transparent: on going connections can be maintained! 4/4/2005 5: DataLink Layer 5-22 Mobility via Direct Routing home requests, receives foreign address of mobile forwards to foreign agent 2 wide area foreign agent receives packets, forwards to mobile 3 4 4 visited mobile replies directly to 4/4/2005 5: DataLink Layer 5-23 Mobility via Direct Routing: comments overcome triangle routing problem non-transparent to : must get care-of-address from home agent What happens if mobile changes s? 4/4/2005 5: DataLink Layer 5-24 WMU-CS, Dr. Gupta 8

Mobile IP RFC 3220 has many features we ve seen: home agents, foreign agents, foreign-agent registration, care-of-addresses, encapsulation (packet-within-a-packet) three components to standard: agent discovery registration with home agent indirect routing of datagrams 4/4/2005 5: DataLink Layer 5-25 Chapter 5: 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 4/4/2005 5: DataLink Layer 5-26 Link Layer 5. Introduction and services 5.2 Error detection and correction 5.3Multiple access protocols 5.4 Link-Layer Addressing 5.5 Ethernet 5.6 Hubs and switches 5.7 PPP 5.8 Link Virtualization: ATM and MPLS 4/4/2005 5: DataLink Layer 5-27 WMU-CS, Dr. Gupta 9

Link Layer: Introduction Some terminology: hosts and routers are nodes communication channels that connect adjacent nodes along communication path are links wired links wireless links LANs layer-2 packet is a frame, encapsulates datagram link data-link layer has responsibility of transferring datagram from one node to adjacent node over a link 4/4/2005 5: DataLink Layer 5-28 Link layer: context Datagram transferred by different link protocols over different links: e.g., Ethernet on first link, frame relay on intermediate links, 802. on last link Each link protocol provides different services e.g., may or may not provide rdt over link transportation analogy trip from Princeton to Lausanne limo: Princeton to JFK plane: JFK to Geneva train: Geneva to Lausanne tourist = datagram transport segment = communication link transportation mode = link layer protocol travel agent = routing algorithm 4/4/2005 5: DataLink Layer 5-29 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 we learned how to do this already (chapter 3)! 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? 4/4/2005 5: DataLink Layer 5-30 WMU-CS, Dr. Gupta 0

Link Layer Services (more) Flow Control: pacing between adjacent sending and receiving nodes 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 Half-duplex and full-duplex with half duplex, nodes at both ends of link can transmit, but not at same time 4/4/2005 5: DataLink Layer 5-3 Adaptors Communicating sending node datagram frame adapter link layer implemented in adaptor (aka NIC) Ethernet card, PCMCI card, 802. card sending side: encapsulates datagram in a frame adds error checking bits, rdt, flow control, etc. link layer protocol frame adapter receiving side rcving node looks for errors, rdt, flow control, etc extracts datagram, passes to rcving node adapter is semiautonomous link & physical layers 4/4/2005 5: DataLink Layer 5-32 WMU-CS, Dr. Gupta