CSE 123A Computer Netwrking

Similar documents
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

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.

LECTURE 8. Mobile IP

CMPE 257: Wireless and Mobile Networking

CMPE 257: Wireless and Mobile Networking

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

Mohammad Hossein Manshaei 1393

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

ECS-087: Mobile Computing

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

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

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

CMPE 257: Wireless and Mobile Networking

Mobile IP. Mobile Computing. Mobility versus Portability

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

Mobile Communications Chapter 9: Network Protocols/Mobile IP

Module 28 Mobile IP: Discovery, Registration and Tunneling

Security Issues In Mobile IP

SJTU 2018 Fall Computer Networking. Wireless Communication

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

CSE 4215/5431: Mobile Communications Winter Suprakash Datta

Mobile IP. Mobile IP 1

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

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

Mobility Support in Internet and Mobile IP. Gianluca Reali

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

Mobile IP and Mobile Transport Protocols

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

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

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

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

Mobility Management - Basics

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

Network Security. Security of Mobile Internet Communications. Chapter 17. Network Security (WS 2002): 17 Mobile Internet Security 1 Dr.-Ing G.

Mobile Communications Mobility Support in Network Layer

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

Obsoletes: 2002 January 2002 Category: Standards Track

End-to-End Architectures for the Internet Host Mobility: An Overview

Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5

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

Request for Comments: 4433 Category: Standards Track Cisco Systems Inc. March 2006

CSE 4215/5431: Mobile Communications Winter Suprakash Datta

Binding information contains the entries in the mobility binding table.

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

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

Internet Services & Protocols. Mobile and Wireless Networks

Internet Engineering Task Force (IETF) Ericsson July 2011

Introduction to IPv6. IPv6 addresses

CSC 4900 Computer Networks: Mobility

Lecture 16: Router Design

Internet Mobility 4x4. Stuart Cheshire and Mary Baker

IPv6: An Introduction

Chapter 13 TRANSPORT. Mobile Computing Winter 2005 / Overview. TCP Overview. TCP slow-start. Motivation Simple analysis Various TCP mechanisms

Mobile Communications Chapter 8: Network Protocols/Mobile IP

Mobility Support in IPv6

Mobility Support in Internet and Mobile IP

Lecture 10: Addressing

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

Chapter 3 A New Framework for Multicast Mobility in WiFi Networks

TSIN02 - Internetworking

Outline 9.2. TCP for 2.5G/3G wireless

Chapter 8 LOCATION SERVICES

CS 457 Lecture 11 More IP Networking. Fall 2011

CS5984 Mobile Computing

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

How Mobile IP Works? Presenter: Ajoy Singh

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

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

Mobile Transport Layer

Network Layer (4): ICMP

Different Layers Lecture 20

More Internet Support Protocols

Introduction to IPv6. IPv6 addresses

2013 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media,

Deployment of Cisco IP Mobility Solution on Enterprise Class Teleworker Network

Networked Systems Research is Irrelevant

PMIPv6 PROXY MOBILE IPV6 OVERVIEW OF PMIPV6, A PROXY-BASED MOBILITY PROTOCOL FOR IPV6 HOSTS. Proxy Mobile IPv6. Peter R. Egli INDIGOO.COM. indigoo.

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

The Design Space of Network Mobility

This chapter introduces protocols and mechanisms developed for the network

On using Mobile IP Protocols

Mobility Management Basics

CSE 123A Computer Networks

Layer 4: UDP, TCP, and others. based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers

Internet Control Message Protocol

Lecture 11: Fragmentation & Addressing. CSE 123: Computer Networks Stefan Savage

Network Working Group Request for Comments: Nokia Research Center F. Dupont GET/ENST Bretagne June 2004

Mobile Communications Chapter 9: Mobile Transport Layer

Fundamental Questions to Answer About Computer Networking, Jan 2009 Prof. Ying-Dar Lin,

Techological Advantages of Mobile IPv6

Wireless Network and Mobility

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.

Fast Handover in Mobile IPv4 and IPv6

Mobility: vocabulary

CS 515 Mobile and Wireless Networking Final Exam Fall

CS 515 Mobile and Wireless Networking Final Exam Solutions Fall

Transcription:

CSE 123A Computer Netwrking Winter 2005 Mobile Networking Alex Snoeren presenting in lieu of Stefan Savage

Today s s issues What are implications of hosts that move? Remember routing? It doesn t work anymore Problem review Design issues Case studies Mobile IP [Johnson96] TCP Migrate [Snoeren et al00] March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 2

The Mobility Problem Implicit assumption that Internet hosts are fixed IP routing breaks if addresses change location. Why? Unfortunately, the buying public likes mobility March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 3

Problems How does a mobile host get a local IP address? How do you know which IP address to use when sending to a mobile host? If a host moves during communication how do you know how to migrate state to the new IP address? Backwards compatibility (higher-layer state caching) March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 4

Application demands Geographic scope Switching 802.11 LANs at UCSD vs visiting IBM in Zurich Rate of change Cell-phone in airplane vs hotel room dialin Continuity State associated with session (e.g. ordering plane tickets) Interactivity Cell-phone handoff? Remote accessibility Client vs Server March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 5

Some simple solutions Datalink layer mobility Wireless learning bridges (CMU campus solution) Transparently update MAC-layer mappings in access points Pro: transparent to all higher layers Con: Local scope only Dynamic Host Configuration Protocol (DHCP) Request IP address dynamically (special broadcast address) How do you get contacted at new IP address?» One solution: dynamic DNS Authentication issues (who can use 802.11 in AP&M?) Pro: Great over longer time scales Con: What happens if you move during a session? March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 6

Mobile IP: Johnson96 Current IETF proposed standard for mobility Dates back to research in the early 90s IPv4 (RFC 2002), IPv6 version is roughly the same Design constraints Network layer solution Only requires changes to mobile hosts Stationary hosts oblivious to mobility Incrementally deployable March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 7

Mobile IP Approach Mobile Host (MH) has two addresses Home address Never changes, uniquely identifies the host In home network Correspondent host (CH) addresses all packets to the home address Care-of address Will change, perhaps frequently In foreign network Related to current location (IP routing gets it to the right place) March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 8

Home and Foreign Agents Home agent (HA) implements level of indirection between the mobile host and correspondents Accepts traffic sent to home address» What about requests from home network? Tunnels traffic to the mobile host (using care-of address) And vice versa, correspondent none the wiser Foreign agent (FA) represents mobile in foreign network Foreign agent can be care-of address» Mobile host does not need its own address in foreign network» Potential advantage: deal with local mobility locally March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 9

Mobile IP (MH at Home) Correspondent Host (CH) Packet Internet Mobile Host (MH) Home Home Agent (HA) Visiting Location March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 10

Mobile IP (MH Moving) Correspondent Host (CH) Packet Mobile Host (MH) Home Home Agent (HA) Internet MH is now with me Visiting Location Foreign Agent (FA) Register March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 11

Mobile IP (MH Away) Packet Correspondent Host (CH) Mobile Host (MH) Internet Home Home Agent (HA) Encapsulated Visiting Location Foreign Agent (FA) March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 12

Mobile IP Issues To make all this happen, a number of issues have to be addressed Discovering agents Registering addresses with agents (establishing bindings) Authentication Tunneling Performance (!) March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 13

Agent Discovery Agent discovery enables a mobile host To notice when it changes networks To notice when it is home again» When home, take down the tunnel To find a foreign agent to register with Agents multicast agent advertisements locally Beacons that tell the mobile who it can hear Start in network A, move to network B Lack of A s beacons and presence of B s tells mobile it has switched networks Mobile can also multicast an agent solicitation Why does multicast work here? March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 14

Registration Mobiles must register care-of addresses with their home agents So that the home agent knows where to tunnel packets Registration needs to be updated when location changes Multiple steps Registration requests first go to foreign agent, then to home agent, which replies to foreign agent, which forwards back to the mobile Lifetimes Registrations have TTLs March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 15

Registration Authentication Registration requests can be used by attackers to hijack tunnels from home agent Hey, send all the mobile s traffic to me now Need to authenticate that a registration Came from mobile host (authenticity) Has not been altered (integrity) Is not a replay of a previous registration (freshness) Mechanisms Shared keys (mobile and home are from same admin domain) MD5 digests Nonces or timestamps March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 16

Tunneling Home agent and mobile communicate using a tunnel IP in IP encapsulation like with the Mbone Original packet Correspondent address (src) mobile home address (dest) Gets sent to home agent Tunnel packet Asides Encapsulates original packet Home agent (src) care-of address (dest) Gets sent to foreign agent (or mobile, depending on care-of) Mobile can respond back directly (which source address?) Bit of overhead (20 byte header for every packet poor telnet) March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 17

Performance The good: No overhead in local operation Home agent out of picture, no longer intercepts packets The common case? The bad: Significant overhead in remote operation Triangle routing: Packets between two hosts separated by inches can travel 1000s of miles Wide-area effects can determine local connection performance The uncommon case? Even so, a steep price to pay Hence: Route optimization March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 18

Route Optimization Route optimization shortcuts the triangle Issues Correspondents can learn and use mobile care-of addresses Tunnel packets directly to care-of address, skip home agent Requires changes to correspondents» Or to routers: less likely Binding cache updates (consistency) Binding update authentication (more trust) Yet more complexity Necessary for scalability? End result: Mobile IP is not widely deployed March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 19

Alternative: Transport-level mobility [Snoeren00] Same goals Do not disrupt connections when network address changes Different approach Combination of DNS naming and connection migration Naming + transport (vs. network-layer w/ Mobile IP) Based upon observation of how connections are made from mobile Three components Addressing Locating mobile hosts Connection migration March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 20

Addressing Mobiles obtain an network-local IP address No home agent, no home address No foreign agent No tunneling Communication between correspondent and mobile uses addresses directly Problem: How does the correspondent learn the mobile s address? If the mobile initiates the connection, the mobile tells the correspondent its address with the SYN packet What about mobile servers? March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 21

Locating Mobiles Observation: Whenever connections are established, a DNS lookup is performed (e.g. www.yahoo.com) Idea: Use the DNS lookup to return latest mobile address to correspondent In Mobile IP, home address is used to unique identify mobile In Transport-level mobility, DNS name is used for this purpose When mobile moves and obtains a new IP address, it updates its DNS entry March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 22

Connection Migration Problem: What about existing open connections? Solution: TCP Connection Migration New TCP Option: Migrate Negotiated with Migrate-Permitted option in SYN Requires modification to TCP stacks at both ends March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 23

Basic Idea We have an open connection between correspondent (src) and mobile (dest) Doesn t matter who initiated the connection Connection represented by» <src IP, src port, dest IP, dest port> Mobile moves» Now has new <dest IP*, dest port*> Want to change connection to» <src IP, src port, dest IP*, dest port*> Mobile creates a new connection to the correspondent, forces correspondent to migrate old connection to new one Uses token to show that connections are connected March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 24

TCP Migration example 1. Initial SYN 2. SYN/ACK 3. ACK (with data) 4. Normal data transfer 5. Migrate SYN 6. Migrate SYN/ACK 7. ACK (with data) March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 25

TCP Migration example 1. Initial SYN 2. SYN/ACK 3. ACK (with data) 4. Normal data transfer 5. Migrate SYN 6. Migrate SYN/ACK 7. ACK (with data) March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 26

TCP Migration example 1. Initial SYN 2. SYN/ACK 3. ACK (with data) 4. Normal data transfer 5. Migrate SYN 6. Migrate SYN/ACK 7. ACK (with data) March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 27

Issues Pro Con No change to routing infrastructure No triangle routes Simple Can be used beyond TCP? March 10, 2005 CSE 123b -- Lecture 8 IP Multicast 28