Mobility (and philosophical questions about names and identity) David Andersen CMU CS 15-744.

Slides:



Advertisements
Similar presentations
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Advertisements

Mobile and Wireless Computing Institute for Computer Science, University of Freiburg Western Australian Interactive Virtual Environments Centre (IVEC)
Internet Area IPv6 Multi-Addressing, Locators and Paths.
IP Mobility Support Basic idea of IP mobility management
Mobile IPv4 Courtesy of Scott Midkiff with Virginia Tech Mary Baker with Stanford (Now HP)
Cs/ee 143 Communication Networks Chapter 6 Internetworking Text: Walrand & Parekh, 2010 Steven Low CMS, EE, Caltech.
Mobility Jennifer Rexford COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101
1 Mobile IP Myungchul Kim Tel:
ConnectionMigration 818L Network Centric Computing Spring 2002 Ishan Banerjee.
Mobile IP Overview: Standard IP Standard IP Evolution of Mobile IP Evolution of Mobile IP How it works How it works Problems Assoc. with it Problems Assoc.
What we will cover… Home Networking: Network Address Translation (NAT) Mobile Routing.
MOBILITY SUPPORT IN IPv6
Network Architecture (R02) #4 Location and Identity Jon Crowcroft,
Mobility in the Internet Part II CS 444N, Spring 2002 Instructor: Mary Baker Computer Science Department Stanford University.
COS 420 Day 20. Agenda Group Project Discussion Protocol Definition Due April 12 Paperwork Due April 29 Assignment 3 Due Assignment 4 is posted Last Assignment.
ICMP: Internet Control Message Protocol used by hosts, routers, gateways to communication network-level information –error reporting: unreachable host,
Mobile IP.
COS 461: Computer Networks
IP Mobility Support Basic idea of IP mobility management o understand the issues of network-layer mobility support in IP network o understand the basic.
ECE544: Communication Networks-II, Spring 2009 H. Liu Lecture 10 (Mobility) Includes tutorial materials from D. Raychaudhuri, C. Perkins, D. Reininger.
Mobile IP Polytechnic University Anthony Scalera Heine Nzumafo Duminda Wickramasinghe Edited by: Malathi Veeraraghavan 12/05/01.
Slide 1, Dr. Wolfgang Böhm, Mobile Internet, © Siemens AG 2001 Dr. Wolfgang Böhm Siemens AG, Mobile Internet Dr. Wolfgang.
Mobile IP Seamless connectivity for mobile computers.
1 Chapter06 Mobile IP. 2 Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution?
Mobile IP. Outline What is the problem at the routing layer when Internet hosts move?! Can the problem be solved? What is the standard solution? – mobile.
Host Mobility for IP Networks CSCI 6704 Group Presentation presented by Ye Liang, ChongZhi Wang, XueHai Wang March 13, 2004.
1 CIS 6930: Mobile Computing Mobile IP Sumi Helal Credit: majority of slides borrowed from one of Dave Johnson’s talks, 3.
Mobile IP Overview and Discussion. 2 Spectrum of Mobility – from network perspective no mobility high mobility mobile user, using same access point mobile.
1 Introduction to Networking Dr. Mahdi Nasereddin PPU.
CS640: Introduction to Computer Networks Aditya Akella Lecture 22 - Wireless Networking.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
Mobile IP Most of the slides borrowed from Prof. Sridhar Iyer
15-849: Hot Topics in Networking Mobility Srinivasan Seshan.
1 November 2006 in Dagstuhl, Germany
Mobility in the Internet Part I. 2 Motivation: the changing wireless environment Explosion in wireless services –Some connectivity everywhere –Overlapping,
Reconsidering Internet Mobility Alex C. Snoeren, Hari Balakrishnan, M. Frans Kaashoek MIT Laboratory for Computer Science.
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Location management. Mobile Switching Center Public telephone network, and Internet Mobile Switching Center Components of cellular network architecture.
Introduction to Mobile IPv6
An Update on Multihoming in IPv6 Report on IETF Activity RIPE IPv6 Working Group 22 Sept 2004 RIPE 49 Geoff Huston, APNIC.
15-441: Computer Networking Lecture 23: Mobile and Wireless Networking.
Spring 2004 Mobile IP School of Electronics and Information Kyung Hee University Choong Seon HONG
Network Layer4-1 Today Collect homework New homework: Ch4 #16,19,21-24,26,27,29,31 (half graded, as usual) Due Wednesday Oct 15 in class Final programming.
Mobile IP 순천향대학교 정보기술공학부 이 상 정 VoIP 특론 순천향대학교 정보기술공학부 이 상 정 2 References  Tutorial: Mobile IP
Ασύρματες και Κινητές Επικοινωνίες Ενότητα # 10: Mobile Network Layer: Mobile IP Διδάσκων: Βασίλειος Σύρης Τμήμα: Πληροφορικής.
CMSC Presentation An End-to-End Approach to Host Mobility An End-to-End Approach to Host Mobility Alex C. Snoeren and Hari Balakrishnan Alex C. Snoeren.
Mobile IP Definition: Mobile IP is a standard communication protocol, defined to allow mobile device users to move from one IP network to another while.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
Mobile IP 순천향대학교 전산학과 문종식
: MobileIP. : r Goal: Allow machines to roam around and maintain IP connectivity r Problem: IP addresses => location m This is important for efficient.
DMET 602: Networks and Media Lab Amr El Mougy Yasmeen EssamAlaa Tarek.
Ch. 23, 25 Q and A (NAT and UDP) Victor Norman IS333 Spring 2015.
COM594: Mobile Technologies Location-Identifier Separation.
Mobility With IP, implicit assumption that there is no mobility. Addresses -- network part, host part -- so routers determine how to get to correct network.
Lecture 14 Mobile IP. Mobile IP (or MIP) is an Internet Engineering Task Force (IETF) standard communications protocol that is designed to allow mobile.
Mobile IP THE 12 TH MEETING. Mobile IP  Incorporation of mobile users in the network.  Cellular system (e.g., GSM) started with mobility in mind. 
ROUTING MOBILE IP  Motivation  Data transfer  Encapsulation.
DMET 602: Networks and Media Lab
Mobile Networking (I) CS 395T - Mobile Computing and Wireless Networks
Networking Applications
Mobile IP.
IP for Mobile hosts.
CS 268: Mobility Kevin Lai Feb 13, 2002.
Chris Meullion Preston Burden Dwight Philpotts John C. Jones-Walker
Network Virtualization
Unit 3 Mobile IP Network Layer
DMET 602: Networks and Media Lab
Mobile IP Outline Homework #4 Solutions Intro to mobile IP Operation
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Presentation transcript:

Mobility (and philosophical questions about names and identity) David Andersen CMU CS

The problem How to “support” mobile users What do we mean by support? Make it easy and convenient to effectively use the network while moving from location to location

The Solution Space Where can we address this problem? –Physical layer? (sure; very limited) –Link layer –Transport layer –“Something higher” (often called session) –Application layer

The questions What components are affected? –E.g., what needs to explicitly support mobility? –Is it incrementally deployable? What timescales does it support? What geographic/logical bounds does it place on mobility? What overhead does it impose? How does it affect or interact with other aspects of the architecture? How does it scale?

Who are we supporting? What kinds of mobility scenarios should we support? –Talking on a VoIP phone while walking down the street? –Navigating with a laptop in a car? –Using a laptop in an airplane? –Taking laptop from home to work? –Walking around lab or campus? –Something we haven’t thought of yet??

Try #1: No Network Support (Applications are on their own) Let them disconnect and reconnect when they arrive at a new location. –Network support needed: None / DHCP –Your SSH sessions die.  Your streaming media probably gets interrupted. –Some applications have already worked around this: Your Web browser doesn’t care Your IMAP mail reader probably doesn’t care

Dealing with disconnection Possible to code many applications to deal with disconnection –It’s all about trying to resume and managing state (we’ll come back to this) –But should the burden be placed on every application developer?

So – Application? What components are affected? –Any application that wants to work What timescales does it support? –End-to-end application communication. Seconds? What geographic/logical bounds does it place on mobility? –None What overhead does it impose? –Lots of programmer overhead How does it affect or interact with other aspects of the architecture? –Nothing’s changed

Try #2: Link-layer mobility Have the link layer mask mobility –E.g., the campus wireless. You can move anywhere and keep the same MAC and IP address Completely transparent. No OS/App support needed. Brilliant! Fast & Local: Only switches near moving client must be updated. But – only local! Can’t move out of your subnet.

So – Link? What components are affected? –The local switching infrastructure What timescales does it support? –Pretty durned fast What geographic/logical bounds does it place on mobility? –Can only move within local subnet What overhead does it impose? –Little How does it affect or interact with other aspects of the architecture? –Could encourage ideas like making all of CMU a single broadcast domain. Oops, too late.

IP Layer Mobility Allow hosts to take their “home” IP address with them wherever they go. Advantages: –Potentially global mobility scope (not limited to subnet like link layer) –Transparent to applications and layers above IP How can we do it? –(Many ways, each with own costs)

Brute Force: IP routing If node leaves home, send out (global?) routing announcement pointing to new location –In theory, “just works” –Example: Boeing’s “Connexion” announced a /24 into BGP for every supported airplane and moved the announcement to the gateway the plane was closest to –Why? Latency concerns over really long flights (start in SF, end in London) –Already have high latency from using satellites. Ow.

Brute force 2 May be feasible for Boeing But wouldn’t scale for single IP addresses –Every AS in world would have routing entry for every mobile user in the world? Ouch! Problem: Having the whole world maintain state for every user Alternative: Keep state local, by…

Mobile IP (& others): Same as other problems in Computer Science –Add a level of indirection Keep some part of the network informed about current location –Need technique to route packets through this location (interception) Need to forward packets from this location to mobile host (delivery)

Interception Somewhere along normal forwarding path –At source –Any router along path –Router to home network –**Machine on home network (masquerading as mobile host)

Delivery Get packet to mobile’s current location Tunnels –Tunnel endpoint = current location –Tunnel contents = original packets Source routing? –Loose source route through mobile current location (not widely supported) Network address translation (NAT) –What about packets from the mobile host?

Mobile IP (RFC 2290) Interception –Typically home agent – hosts on home network Delivery –Typically IP-in-IP tunneling –Endpoint – either temporary mobile address or foreign agent Terminology –Mobile host (MH), correspondent host (CH), home agent (HA), foreign agent (FA) –Care-of-address, home address

Mobile IP (MH at Home) Mobile Host (MH) Visiting Location Home Internet Correspondent Host (CH) Packet

Mobile IP (MH Moving) Visiting Location Home Internet Correspondent Host (CH) Packet Home Agent (HA) Mobile Host (MH) I am here

Mobile IP (MH Away – Foreign Agent) Visiting Location Home Internet Correspondent Host (CH) Packet Home Agent (HA) Foreign Agent (FA) Encapsulated Mobile Host (MH)

Mobile IP (MH Away - Collocated) Visiting Location Home Internet Correspondent Host (CH) Packet Home Agent (HA) Mobile Host (MH) Encapsulated

Other Mobile IP Issues Route optimality –Triangle routing –Can be improved with route optimization Unsolicited binding cache update to sender Authentication – Registration messages – Binding cache updates Must send updates across network –Handoffs can be slow Problems with basic solution –Reverse path check for security –Do we really need it?

TCP Migrate Transport-layer solution Idea: No IP support; just have transport layer dynamically re-bind endpoints

The Migrate Approach Locate hosts through existing DNS –Secure, dynamic DNS is currently deployed and widely available (RFC 2137) –Maintains standard IP addressing model IP address are topological addresses, not Ids Fundamental to Internet scaling properties Ensure seamless connectivity through connection migration –Notify only the current set of correspondent hosts –Follows from the end-to-end argument Slide Credit: Alex Snoeren

Migrate Architecture DNS Server Mobile Host foo.bar.edu Location Query (DNS Lookup) Connection Initiation Location Update (Dynamic DNS Update) Connection Migration xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy Correspondent Host Slide Credit: Alex Snoeren

Migrate Advantages: –(Mostly) transparent to applications Unless they know their IP address and use it, e.g., peer-to- peer apps. –Keeps state and modifications entirely at endpoints –No triangle routing! All communication is direct But: –Requires TCP support / only works for TCP Not true in general: “Host ID Protocol” – HIP – can work with both, but requires more invasive IP stack changes –Slower timescales than link-layer migration (several RTTs)

Complexities of e2e mobility Simultaneous movement –If only one host moves, easy –If both move, must be able to reconnect –Snoeren approch uses DNS with dynamic DNS updates – re-point your old name to your new IP when you move Security –How to prevent connection hijacking?

Mobility & Security Migrate principle: Equivalent security to TCP –TCP connections hard to hijack remotely if you can’t sniff because you must guess a 32-bit sequence # space. (mostly; we’ll talk about this more later) –Migrate approach: Establish a pretty secure session key on connection establishment Resists snooping but not man-in-the-middle But neither does normal TCP! Other options: HIP uses cryptographic host identification –Better idea –Less incrementally deployable

Names & Addresses & Bears, Oh My! Mobility raises good question: –What is the identity of a host? MAC address? IP address? DNS name? Something else? Consider: –Hosts can have multiple MAC & IP addresses –IP address is a topological identifier – it points to a place in the local IP space and is awkward to move, as we’ve seen –DNS names? Maybe, but the binding between DNS/IP/hosts isn’t very strict

Host Identity Considerable recent work: Give each host a unique identity –Simplifies mobility –Also simplifies multi-homing! (Many related issues) –Me? I think it’s a great idea. Will it ever take off?

What mobility do we need? Consider our scenarios and our techniques – what do we really need? Link layer mobility can deal with small-scale motion E2E mobility does a good job on “big”, less frequent movement –But if only a few apps matter, so does re-coding those apps to deal –Requires bilateral deployment! Boooo. Mobile IP (or VPNs, which is basically what mobile IP is) can be unilaterally deployed, but has triangle routing problems –But require more infrastructure Do most people care enough? Or would we have entire new classes of applications if mobility was easier?