CMPE 257: Wireless and Mobile Networking

Similar documents
CMPE 257: Wireless and Mobile Networking

CMPE 257: Wireless and Mobile Networking

LECTURE 8. Mobile IP

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

CSE 123A Computer Netwrking

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

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

CSE 123b Communications Software

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

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

Module 28 Mobile IP: Discovery, Registration and Tunneling

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

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

Mobile IP and Mobile Transport Protocols

SJTU 2018 Fall Computer Networking. Wireless Communication

Mobile IP. Mobile Computing. Mobility versus Portability

ECS-087: Mobile Computing

11. IP Mobility 최 양 희 서울대학교 컴퓨터공학부

Introduction to IPv6. IPv6 addresses

CMPE 257: Wireless and Mobile Networking

Mohammad Hossein Manshaei 1393

Mobile IP. Mobile IP 1

CMPE 80N: Introduction to Networking and the Internet

Charles Perkins Nokia Research Center 2 July Mobility Support in IPv6 <draft-ietf-mobileip-ipv6-14.txt> Status of This Memo

Introduction to IPv6. IPv6 addresses

Mobile Communications Chapter 8: Network Protocols/Mobile IP

CSE 4215/5431: Mobile Communications Winter Suprakash Datta

Mobile Routing : Computer Networking. Overview. How to Handle Mobile Nodes? Mobile IP Ad-hoc network routing Assigned reading

Mobile IPv6 Overview

Introduction to IPv6. IPv6 addresses

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 25: Wireless Networking

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

Mobility Management - Basics

Mobile IP. rek. Petr Grygárek Petr Grygarek, Advanced Computer Networks Technologies 1

Mobile Communications Chapter 9: Network Protocols/Mobile IP

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

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

Mobile Communications Mobility Support in Network Layer

Internet Control Message Protocol (ICMP)

Network Layer (4): ICMP

Lecture 7: Mobile IP (Part 1) Dr. Reynold Cheng

Fast Handover in Mobile IPv4 and IPv6

Chapter 09 Network Protocols

MESSAGES error-reporting messages and query messages. problems processes IP packet specific information

Mobile IPv6. Washington University in St. Louis

Introduction to Internetworking

Mobility Management. Advanced Mobile Communication Networks. Integrated Communication Systems Group Ilmenau University of Technology

Modification to Ipv6 Neighbor Discovery and Mobile Node Operation

Mobility Management Basics

Mobility Management. Advanced Mobile Communication Networks. Integrated Communication Systems Group Ilmenau University of Technology

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

How Mobile IP Works? Presenter: Ajoy Singh

CS 457 Lecture 11 More IP Networking. Fall 2011

Mobile IPv6. Raj Jain. Washington University in St. Louis

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

312 D.B. Johnson /Scalable support for transparent mobile host internetworking work, it is then delivered to the correct individual host on that netwo

IPv6: An Introduction

Introduction Mobility Support Handover Management Conclutions. Mobility in IPv6. Thomas Liske. Dresden University of Technology

The Internetworking Problem. Internetworking. A Translation-based Solution

Guide to TCP/IP Fourth Edition. Chapter 6: Neighbor Discovery in IPv6

On using Mobile IP Protocols

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

Mobility Support in Internet and Mobile IP. Gianluca Reali

Chapter 8 LOCATION SERVICES

MOBILE IP AND WIRELESS APPLICATION PROTOCOL

Mobile & Wireless Networking. Lecture 10: Mobile Transport Layer & Ad Hoc Networks. [Schiller, Section 8.3 & Section 9] [Reader, Part 8]

Request for Comments: Wichorus G. Tsirtsis Qualcomm T. Ernst INRIA K. Nagami INTEC NetCore October 2009

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

P A R T T W O MOBILE IPv6

This chapter introduces protocols and mechanisms developed for the network

Chapter 12 Network Protocols

EEC-684/584 Computer Networks

Optimized Paging Cache Mappings for efficient location management Hyun Jun Lee, Myoung Chul Jung, and Jai Yong Lee

A Mobile Host Protocol Supporting Route Optimization and Authentication

Mobile IP and its trends for changing from IPv4 to IPv6

Obsoletes: 2002 January 2002 Category: Standards Track

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

Virtual Hierarchical Architecture Integrating Mobile IPv6 and MANETs for Internet Connectivity

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 24: Mobile and Wireless

CMPE 257: Wireless and Mobile Networking

Foreword xxiii Preface xxvii IPv6 Rationale and Features

T Computer Networks II. Mobility Issues Contents. Mobility. Mobility. Classifying Mobility Protocols. Routing vs.

Internetworking - We are heterogeneity to our network (variable network technologies, bandwidth, MTU, latency, etc. etc.)

Mobile Computing. Chapter 8: Mobile Network Layer

Chapter 6 MOBILE IP AND TCP

internet technologies and standards

ROUTING ALGORITHMS Part 2: Data centric and hierarchical protocols

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

CompSci 356: Computer Network Architectures. Lecture 8: Spanning Tree Algorithm and Basic Internetworking Ch & 3.2. Xiaowei Yang

An Approach to Efficient and Reliable design in Hierarchical Mobile IPv6

Mobile IP Support for RFC 3519 NAT Traversal

Introduction to Communication Networks Spring Unit 15 Internetworking (cont) Routing

MOBILE IP. Under the guidance of Mr. N. Srinivasu

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

UNIT III THE NETWORK LAYER

TCP/IP Protocol Suite

Administrivia CSC458 Lecture 4 Bridging LANs and IP. Last Time. This Time -- Switching (a.k.a. Bridging)

Binding information contains the entries in the mobility binding table.

IPv6 Neighbor Discovery

Transcription:

CMPE 257: Wireless and Mobile Networking Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 9 CMPE 257 Winter'10 1

Announcements Student presentations: March 8th: Daniel and Teddy March 10th: Kerry and Mike March 15th: Bindu and Alison Topics: Bindu and Alison: security. Daniel: localization. Mike: VANETs. Teddy: power management. CMPE 257 Winter'10 2

Today Wireless internetworking. CMPE 257 Winter'10 3

But, before moving on OLSR MPR selection. Through its MPR set, a node can reach all its 2- hop neighbors. Every node knows its 1- and 2-hop neighbors. Add to MPR set all 1-hop neighbors of node X which are the only nodes covering 2-hop neighbors of X. If there are still uncovered 2-hop neighbors of X, select 1-hop neighbors of X with highest reachability, I.e., covering the highest number of 2-hop neighbors of X. CMPE 257 Winter'10 4

Wireless Internetworking Extension of Internet services to wireless/mobile users. Challenges? Wireless medium. Node mobility. TCP/IP stack. CMPE 257 Winter'10 5

Challenges Network layer. Transport layer. Application. CMPE 257 Winter'10 6

Address mobility IP assumes fixed nodes. Hierarchical addresses. IP address = network number+host number. IP address uniquely identifies host s PoA. Host must attach to network specified by its IP address to send/receive datagrams. But what if nodes move? Change address? How about packets destined to them? CMPE 257 Winter'10 7

Mobile IP Address redirection. Manages mobility at the IP layer. Hides mobility from upper layers. CMPE 257 Winter'10 8

Mobile IP: Goals Nodes can receive datagrams no matter where they attach to the Internet. IMHP (Internet Mobile Host Protocol) as Mobile IP precursor. CMPE 257 Winter'10 9

Last-hop Mobility Mobile IP is the Internet standard for lasthop mobility support in IP networks (RFC 2290). How do we deliver IP packets when the endpoints move? Mobile host must be able to communicate after changing its link-layer point-of-attachment. Mobile host must be able to communicate using its permanent (home) IP address. CMPE 257 Winter'10 10

Mobile IP: Design Issues Issues: Impact on IP addressing. Impact on routing. Impact on higher layers. Key design considerations: Scale. Compatibility. Transparency. CMPE 257 Winter'10 11

Terminology Home Agent (HA) Foreign Agent (FA) HN CH Mobile Host (MH) CMPE 257 Winter'10 12

Terminology (Cont d) Similar to cellular. Mobile Node (MN or MH): node changing its PoA. Correspondent Host (CH). Home Network (HN) and Foreign Network (FN). CMPE 257 Winter'10 13

Terminology (Cont d) Mobility Agents: Home Agent (HA): router on MN s HN that tunnels datagrams to MH when away and keeps MH s current location info. Foreign Agent (FA): router on foreign network; delivers datagrmas to MH while on FN. Home Address (HoA) and Care-of Address (CoA): HoA: MH s permanent address on HN. CoA: MH s temporary address on FN. CMPE 257 Winter'10 14

Care of Address FA-based. MN s address is its current FA s address. FN-based. Locally-assigned address in FN. E.g., DHCP address. What s the difference? CMPE 257 Winter'10 15

Mobile-IP: Basic Operation MH normally uses its home address HoA. When MH visits a foreign network, Registration with FA. Discover mobile agent and CoA. Registration with HA. Binding update (HoA -> CoA). Communicating with MN: use HoA. HA forwards packet from HoA to CoA. CMPE 257 Winter'10 16

Discovering Agents Agents periodically beacon advertisements CMPE 257 Winter'10 17

Agent Discovery Agent advertisement (beaconing): Mobile agent broadcast agent advertisement at regular intervals ( I am here ). Agent solicitation: MH can poll ( anyone here? ). Mobile agent responds to poll. CMPE 257 Winter'10 18

Discovering Agents MH polls; agent responds. CMPE 257 Winter'10 19

Agent Advertisement Follows ICMP router advertisement message. List one or more available care-of addresses. Inform the MN about special features provided by FA. Example: Alternative encapsulation techniques, header compression. CMPE 257 Winter'10 20

Registration CMPE 257 Winter'10 21

Registering When away, MH registers its CoA with HA (binding update). Binding: (HoA->CoA) Binding has a lifetime. CMPE 257 Winter'10 22

Registration Process MH sends a registration request with CoA. HA authenticates request. HA approves or disapproves the request. HA adds necessary information to its routing table. HA sends registration reply back to MH. CMPE 257 Winter'10 23

Registration Process (cont d ) In the case of FA-based CoA: FA is involved in registration. FA is also involved in packet forwarding. Encapsulation. Tunneling. CMPE 257 Winter'10 24

Tunneling HA tunnels datagrams destined to MN when MN is away. Datagrams sent to MH directly. Or sent to FA which forwards to MN s CoA. Tunnel terminates at MH s CoA (either the MH or the FA). CMPE 257 Winter'10 25

Tunneling SRC Tunneled Data Packet HA keeps binding between MH and CoA CMPE 257 Winter'10 26

Encapsulation Tunneling requires encapsulation. Sending the original packet (CH->MH) in another packet (HA->CoA). Default encapsulation mechanism: IP-within-IP (tunnel). Tunnel header: new IP header inserted by the tunnel source (home agent). Destination IP: CoA CMPE 257 Winter'10 27

Tunneling in Mobile IP CMPE 257 Winter'10 28

The Triangle Routing Problem Aka, dogleg routing. MH->CH: direct. CH->MH: CH->HA->MH Inefficient Solution: route optimization. Deliver binding updates directly to CH. CMPE 257 Winter'10 29

Route Optimization Binding caches: Nodes can keep caches with CoA for MHs. If node has entry for MH, sends data directly. Otherwise, triangulates with HA. Binding cache entries have TTL. HA, FA, or MH can send binding cache updates to CH. CMPE 257 Winter'10 30

Simultaneous Bindings MN can register multiple CoA swith HA. Why? De-registration. Explicit. Implicit. CMPE 257 Winter'10 31

Handoffs MH moving among FN. New CoA registered with HA. Previous FA not necessarily notified. Old registration will expire. New data delivered to new CoA. In-flight data? Dropped and retransmitted by upper layers, or FA notified of new CoA; FA forwards data to new CoA. CMPE 257 Winter'10 32

Types of Handoffs MN-initiated: Handoff managed by MN. MN measures signal strength to AP. Decides target AP and switchs over. Network-initiated: APs decide when to hand over and to whom. CMPE 257 Winter'10 33

Hard versus Soft Handoff Hard handoff: only a single active connection between MN and AP. Soft handoff: two active connections during handoff. CMPE 257 Winter'10 34

Handoff Signaling Forward handoff: Target AP contacts current AP to initiate handoff. Backward handoff: Current AP contacts the target one. CMPE 257 Winter'10 35

Handoff Delay 3 components: Detect need of handoff. Link establishment between MN and new AP. Registration with HA. Pre- and post-registration handoffs: Pre-registration registers MN with HA before handoff. Post-registration: HA registration happens after handoff. CMPE 257 Winter'10 36

Authentication Malicious nodes can infiltrate FNs. Mobile IP registration includes authentication info exchange. MH-HA. MH-FA. HA-FA. Protection against replay attacks. Timestamp and nonces. CMPE 257 Winter'10 37

Mobility Support in IPv6 Route optimization is default. Fields for specifying both CoA and permanent IP address. No need for encapsulation. CMPE 257 Winter'10 38

TCP Performance in Mobile-IP (Choong) Source of overhead: triangle routing. Additional processing at HA and FA. Additional delay due to triangulation. Additional delay due to fragmentation (extra IP header). Handoffs. CMPE 257 Winter'10 39

Goal Determine the impact on TCP performance of Combined overhead sources. Individual overhead sources. CMPE 257 Winter'10 40

Methodology Several scenarios that compound or isolate overhead sources. Compare performance of between scenario pairs. FTP transfer btween MH and CH. Metric: TCP throughput. CMPE 257 Winter'10 41

Summary of Results Dogleg routing as main cause of TCP throughput degradation. Solution: route optimization. Handoff is second. Mobile-IP s inherent delay in re-establish connectivity with new FA. Solutions: Increase frequency of router advertisements. Use link-layer information to trigger handoff. CMPE 257 Winter'10 42

FLIP: Flexible Interconnection Protocol Ignacio Solis Katia Obraczka CMPE 257 Winter'10 43

Overview FLIP overview Why FLIP? Motivation FLIP headers FLIP packets Comparison with IP Comparison with Directed Diffusion Conclusions CMPE 257 Winter'10 44

What is FLIP? FLIP is a network protocol that aims to be flexible. It tries to reduce the overhead as much as possible for small devices but does not limit the functionality of more powerful ones. Configurable by higher layers (Header morphing) CMPE 257 Winter'10 45

Why FLIP? Generic protocols have too much overhead for small devices. Specific protocols are not general enough. Applications need access to the lower layers to optimize use. Every bit counts CMPE 257 Winter'10 46

Sensor Networks Data gathering Small power constrained devices Wireless communication Long Lifetime Large Scale Specific Tasks Unattended CMPE 257 Winter'10 47

What about IP? Overhead Addressing scheme? Routing? Fragmentation? Size? etc. CMPE 257 Winter'10 48

Fields defined by FLIP Version (1 byte) Destination (2, 4 or 16 bytes) Source (2, 4 or 16 bytes) Length (2 bytes) Time To Live (1 byte) Flow (4 bytes) Protocol (1 byte) Checksum (2 bytes) CMPE 257 Winter'10 49

The Meta-Header Bitmap The meta-header bit map defines which fields will be included in the header. Each header field will be represented by one or more bits in the meta-header. If the bit is on, the field will appear. CMPE 257 Winter'10 50

The continuation bit We don't really need the whole metaheader bitmap since not all fields might be required. The bitmap is divided in groups which are then placed on different bytes. CMPE 257 Winter'10 51

The ESP packet Extra-Small-Packet For special very small payloads (6 or 14 bits) CMPE 257 Winter'10 52

Current Work on FLIP FLIP Header GTP Header GTP flags CMPE 257 Winter'10 53

Sample FLIP Packets FLIP ESP packet (extra simple packet) FLIP/GTP packet CMPE 257 Winter'10 54

Sample API Uses standard socket interface CMPE 257 Winter'10 55

FLIP Functions CMPE 257 Winter'10 56

Comparison with IP Packet sizes for 1 and 1000 byte payloads The special cases of Destination and Source and Destination only use 2 byte addresses. Percentages are overhead of header compared to data. CMPE 257 Winter'10 57

1 0 0 0 b y t e p a y l o a d H e a d e r O v e r h e a d 1 0 0. 0 % 75.0% 5 0. 0 % 9 8. 0 % 9 7. 9 % 9 6. 2 % 9 5. 9 % 9 9. 0 % 9 9. 7 % Data H e a d e r 25.0% 0. 0 % I P v 4 F L I P I P v 6 F L I P F L I P F L I P ( D ) ( I P v 4 ) ( I P v 6 ) ( D + S ) CMPE 257 Winter'10 58

1 b y t e p a y l o a d H e a d e r O v e r h e a d 1 0 0. 0 % 4. 8 % 4. 5 % 2. 4 % 2. 3 % 9. 1 % 2 5. 0 % 75.0% 5 0. 0 % 9 5. 2 % 9 5. 5 % 9 7. 6 % 9 7. 7 % 9 0. 9 % Data H e a d e r 7 5. 0 % 25.0% 0. 0 % I P v 4 F L I P I P v 6 F L I P F L I P F L I P ( I P v 4 ) ( I P v 6 ) ( D + S ) ( D ) CMPE 257 Winter'10 59

Directed Diffusion Sink node collects data Sink floods an interest to the whole network, establishing reverse paths to itself. Nodes that have the data the sink is interested in report back (multiple-paths). Sink reinforces the best path, that is, requests a higher data rate on that path. The interest is flooded periodically Newer versions of Directed Diffusion have other mechanisms CMPE 257 Winter'10 60

Scenario 1: Diffusion Packets Can we optimize Diffusion by using FLIP? Flexible Header Diffusion Static Header CMPE 257 Winter'10 61

Diffusion Monitoring CMPE 257 Winter'10 62

Scenario 2: Simple Data Gathering CMPE 257 Winter'10 63

Simulation Parameters NS-2, 2000m x 2000m area, 10 runs, 21 secs. 300 nodes, no movement. 250m transmission range. 802.11-like MAC. 660 mw / 395 mw Starting energy is 1 Joule Interests are every 5 seconds 1 source, 1 sink requesting 10pkts/sec CMPE 257 Winter'10 64

Simple Data Gathering CMPE 257 Winter'10 65

Adding Data Aggregation Aggregate data as it flows through the network Data must meet certain criteria Not all data can be aggregated Lossy & lossless aggregation CMPE 257 Winter'10 66

Scenario 3: Ring Aggregation CMPE 257 Winter'10 67

Conclusions FLIP incurs in small overhead when providing IP functionality. Header overhead on special cases can be very small. For example on very small payloads. It does not try to replace protocols such as IP. More research is needed since many variables are yet to be determined. CMPE 257 Winter'10 68

Thank You http://www.cse.ucsc.edu/~isolis/ Ignacio Solis isolis@cse.ucsc.edu CMPE 257 Winter'10 69