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

Similar documents
CSC 4900 Computer Networks: Mobility

Mobility: vocabulary

Mohammad Hossein Manshaei 1393

Chapter 4 Network Layer

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

ECS-087: Mobile Computing

CSE 3214: Computer Network Protocols and Applications Network Layer

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

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

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

CSCI-1680 Wireless Chen Avin

Chapter 4. Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, sl April 2009.

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

CMSC 332 Computer Networks Network Layer

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

Internet Services & Protocols. Mobile and Wireless Networks

Computer Networks. Instructor: Niklas Carlsson

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

1-1. Switching Networks (Fall 2010) EE 586 Communication and. October 25, Lecture 24

CSC 401 Data and Computer Communications Networks

Key Network-Layer Functions

CSC 4900 Computer Networks: Network Layer

The Network Layer and Routers

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

Lecture 4 - Network Layer. Transport Layer. Outline. Introduction. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen

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.

Chapter 4: network layer

Chapter 4: network layer. Network service model. Two key network-layer functions. Network layer. Input port functions. Router architecture overview

Chapter 4 Network Layer: The Data Plane

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Reti degli elaboratori

Router Architecture Overview

Router Architecture Overview

LS Example 5 3 C 5 A 1 D

COMP211 Chapter 4 Network Layer: The Data Plane

internet technologies and standards

Topic 4a Router Operation and Scheduling. Ch4: Network Layer: The Data Plane. Computer Networking: A Top Down Approach

CSCE 463/612 Networks and Distributed Processing Spring 2018

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Chapter 6. Wireless and Mobile Networks. IEEE : personal area network : WiMAX: downlink, uplink scheduling

Chapter 4 Network Layer

Chapter 4: Network Layer

Routing, Routers, Switching Fabrics

Lecture 8. Network Layer (cont d) Network Layer 1-1

COSC : mobility within same subnet. Lecture 26. H1 remains in same IP subnet: IP address can remain same

UNIT III THE NETWORK LAYER

TDTS06: computer Networks

Chapter 4 Network Layer: The Data Plane

Network Layer: outline

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

Chapter 6 Wireless and Mobile Networks

Network Layer: Routing. Routing. Routing protocol. Graph abstraction for routing algorithms: graph nodes are routers graph edges are physical links

CSC 401 Data and Computer Communications Networks

Network Layer: Router Architecture, IP Addressing

Chapter 6 Wireless and Mobile Networks (Wireless and Mobility)

internet technologies and standards

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

Chapter 5 Wireless and Mobile Networks

Routers: Forwarding EECS 122: Lecture 13

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

Chapter 6 Wireless and Mobile Networks

Lecture 16: Network Layer Overview, Internet Protocol

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

Routers: Forwarding EECS 122: Lecture 13

Chapter 4 Network Layer

Network Superhighway CSCD 330. Network Programming Winter Lecture 13 Network Layer. Reading: Chapter 4

LECTURE 8. Mobile IP

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Chapter 6 Wireless and Mobile Networks

Module 6: Wireless Mobile Networks

Network Layer: Data Plane 4-2

Chapter 6 Wireless and Mobile Networks. Chapter 6 outline. Chapter 6: Wireless and Mobile Networks. Elements of a wireless network

Chapter 6 Wireless and Mobile Networks

CS555, Spring /5/2005. April 12, 2005 No classes attend Senior Design Projects conference. Chapter 4 roadmap. Internet AS Hierarchy

Data Communications & Networks. Session 7 Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

SJTU 2018 Fall Computer Networking. Wireless Communication

Chapter 4 Network Layer

NETWORK LAYER DATA PLANE

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land

Chapter 6 Wireless and Mobile Networks

Introduction to Computer Networking. Guy Leduc. Chapter 4 Network Layer: The Data Plane. Chapter 4: Network Layer Data Plane

Chapter 3: Wireless and Mobile Networks

CSC 8560 Computer Networks: Wireless and Mobility

Fixed Internetworking Protocols and Networks. IP mobility. Rune Hylsberg Jacobsen Aarhus School of Engineering

Extending or Interconnecting LANS. Physical LAN segment. Virtual LAN. Forwarding Algorithm 11/9/15. segments. VLAN2, Port3. VLAN1, Port1.

Wireless and Mobile Networks

Chapter 4 Network Layer

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

Mobile IP. Mobile IP 1

Chapter 4 Network Layer

Module 28 Mobile IP: Discovery, Registration and Tunneling

Chapter 4 Network Layer: The Data Plane

IPv6. IPv4 & IPv6 Header Comparison. Types of IPv6 Addresses. IPv6 Address Scope. IPv6 Header. IPv4 Header. Link-Local

CSCD 330 Network Programming

Mobile & Wireless Networking. Lecture 9: Mobile IP. [Schiller, Section 8.1]

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

Chapter 6 Wireless and Mobile Networks

Wireless and Mobile Networks

Internet. 1) Internet basic technology (overview) 3) Quality of Service (QoS) aspects

Internet Multicast Routing

Transcription:

Last time BGP policy Broadcast / multicast routing Spanning trees Source-based, group-shared, center-based Reverse path forwarding, pruning Tunneling Link virtualization Whole networks can act as an Internet link layer ATM, MPLS 12-1

This time Router Internals Mobility Mobile IP 12-2

Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What s inside a router 4.4 IP: Internet Protocol Datagram format IPv4 addressing ICMP IPv6 4.5 Routing algorithms Link state Distance Vector Hierarchical routing 4.6 Routing in the Internet RIP OSPF BGP 4.7 Broadcast and multicast routing 12-3

Router Architecture Overview Two key router functions: Run routing algorithms/protocol (RIP, OSPF, BGP) Forwarding datagrams from incoming to outgoing link 12-4

Input Port Functions Physical layer: bit-level reception Data link layer: e.g., Ethernet Decentralized switching: given datagram dest., lookup output port using forwarding table in input port memory goal: complete input port processing at line speed queuing: if datagrams arrive faster than forwarding rate into switch fabric 12-5

Three types of switching fabrics 12-6

Switching Via Memory First generation routers: traditional computers with switching under direct control of CPU packet copied to system s memory speed limited by memory bandwidth (2 bus crossings per datagram) Input Port Memory Output Port System Bus 12-7

Switching Via a Bus datagram from input port memory to output port memory via a shared bus bus contention: switching speed limited by bus bandwidth 1 Gbps bus, Cisco 1900: sufficient speed for access and enterprise routers (not regional or backbone) 12-8

Switching Via An Interconnection Network Overcomes bus bandwidth limitations Banyan networks, other interconnection nets initially developed to connect processors in multiprocessor Advanced design: fragmenting datagram into fixed length cells, switch cells through the fabric. Cisco 12000: switches Gbps through the interconnection network 12-9

Output Ports Buffering required when datagrams arrive from fabric faster than the transmission rate Scheduling discipline chooses among queued datagrams for transmission 12-10

Output port queueing Buffering when arrival rate via switch exceeds output line speed Queueing (delay) and loss due to output port buffer overflow! 12-11

Input Port Queuing Fabric slower than input ports combined -> queueing may occur at input queues Head-of-the-Line (HOL) blocking: queued datagram at front of queue prevents others in queue from moving forward Queueing delay and loss due to input buffer overflow! 12-12

Chapter 6 outline 6.1 Introduction Wireless 6.2 Wireless links, characteristics CDMA 6.3 IEEE 802.11 wireless LANs ( wi-fi ) 6.4 Cellular Internet Access architecture standards (e.g., GSM) Mobility 6.5 Principles: addressing and routing to mobile users 6.6 Mobile IP 6.7 Handling mobility in cellular networks 6.8 Mobility and higherlayer protocols 6.9 Summary 12-13

What is mobility? Spectrum of mobility, from the network perspective: no mobility high mobility mobile wireless user, using same access point mobile user, connecting/ disconnecting from network using DHCP. mobile user, passing through multiple access point while maintaining ongoing connections (like cell phone) 12-14

Mobility: Vocabulary Home network: permanent home of mobile (e.g., 128.119.40/24) Home agent: entity that will perform mobility functions on behalf of mobile, when mobile is remote Permanent address: address in home network, can always be used to reach mobile e.g., 128.119.40.186 wide area network correspondent 12-15

Mobility: more vocabulary Permanent address: remains constant (e.g., 128.119.40.186) Visited network: network in which mobile currently resides (e.g., 79.129.13/24) Care-of-address: address in visited network. (e.g., 79,129.13.2) wide area network Correspondent: wants to communicate with mobile Foreign agent: entity in visited network that performs mobility functions on behalf of mobile. 12-16

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? 12-17

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 correspondent to mobile goes through home agent, then forwarded to remote direct routing: correspondent gets foreign address of mobile, sends directly to mobile 12-18

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 correspondent to mobile goes through home agent, then forwarded to remote direct routing: correspondent gets foreign address of mobile, sends directly to mobile 12-19

Mobility: registration home network visited network wide area network foreign agent contacts home agent: this mobile is resident in my network 2 1 mobile contacts foreign agent on entering visited network End result: Foreign agent knows about mobile Home agent knows location of mobile 12-20

Mobility via Indirect Routing home network correspondent addresses packets using home address of mobile home agent intercepts packets, forwards to foreign agent 1 wide area network 2 foreign agent receives packets, forwards to mobile 4 3 visited network mobile replies directly to correspondent 12-21

Indirect Routing: comments Mobile uses two addresses: permanent address: used by correspondent (hence mobile location is transparent to correspondent) care-of-address: used by home agent to forward datagrams to mobile Foreign agent functions may be done by mobile itself Triangle routing: correspondent-home-visited inefficient when correspondent, mobile are in same network 12-22

Indirect Routing: moving between networks Suppose mobile user moves to another network registers with new foreign agent new foreign agent registers with home agent home agent updates care-of-address for mobile packets continue to be forwarded to mobile (but with new care-of-address) Mobility, changing foreign networks transparent: ongoing connections can be maintained! 12-23

Mobility via Direct Routing home network correspondent forwards to foreign agent foreign agent receives packets, forwards to mobile 4 visited network correspondent requests, receives foreign address of mobile wide area network 2 3 5 1 mobile replies directly to correspondent 12-24

Mobility via Direct Routing: comments Overcomes triangle routing problem Non-transparent to correspondent: correspondent must get care-of-address from home agent what if mobile changes visited network? 12-25

Accommodating mobility with direct routing anchor foreign agent: FA in first visited network data always routed first to anchor FA when mobile moves: new FA arranges to have data forwarded from old FA (chaining) correspondent wide area network 1 correspondent agent anchor foreign agent 5 4 3 new foreign agent foreign net visited at session start 2 new foreign network 12-26

Chapter 6 outline 6.1 Introduction Wireless 6.2 Wireless links, characteristics CDMA 6.3 IEEE 802.11 wireless LANs ( wi-fi ) 6.4 Cellular Internet Access architecture standards (e.g., GSM) Mobility 6.5 Principles: addressing and routing to mobile users 6.6 Mobile IP 6.7 Handling mobility in cellular networks 6.8 Mobility and higherlayer protocols 6.9 Summary 12-27

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: indirect routing of datagrams agent discovery registration with home agent 12-28

Mobile IP: indirect routing foreign-agent-to-mobile packet packet sent by home agent to foreign agent: a packet within a packet dest: 128.119.40.186 dest: 79.129.13.2 dest: 128.119.40.186 Permanent address: 128.119.40.186 dest: 128.119.40.186 packet sent by correspondent Care-of address: 79.129.13.2 12-29

Mobile IP: agent discovery Agent advertisement: foreign/home agents advertise service by broadcasting ICMP messages (typefield = 9) 0 8 16 24 H,F bits: home and/or foreign agent type = 9 code = 0 = 9 router address checksum = 9 standard ICMP fields R bit: registration required type = 16 length sequence # registration lifetime RBHFMGV bits 0 or more care-ofaddresses reserved mobility agent advertisement extension 12-30

Mobile IP: registration example home agent HA: 128.119.40.7 foreign agent COA: 79.129.13.2 ICMP agent adv. COA: 79.129.13.2. visited network: 79.129.13/24 Mobile agent MA: 128.119.40.186 registration req. COA: 79.129.13.2 HA: 128.119.40.7 MA: 128.119.40.186 Lifetime: 9999 identification: 714 encapsulation format. registration req. COA: 79.129.13.2 HA: 128.119.40.7 MA: 128.119.40.186 Lifetime: 9999 identification:714. registration reply time HA: 128.119.40.7 MA: 128.119.40.186 Lifetime: 4999 Identification: 714 encapsulation format. registration reply HA: 128.119.40.7 MA: 128.119.40.186 Lifetime: 4999 Identification: 714. 12-31

Recap Router internals Input ports, switching fabric, output ports Switching via memory, bus, crossbar Queueing, head-of-line blocking Mobility Home, visited networks Home, foreign agents Permanent, care-of addresses Indirect vs. direct routing Mobile IP tunneling, agent discovery, registration 12-32

Next time Mobility in Cellular Networks Transport layer Introduction Multiplexing UDP Reliable Data Transfer 12-33