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

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

CSE 123b Communications Software

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

CSE 123A Computer Netwrking

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

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

CMPE 257: Wireless and Mobile Networking

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

CMPE 257: Wireless and Mobile Networking

ECS-087: Mobile Computing

CMPE 257: Wireless and Mobile Networking

Mohammad Hossein Manshaei 1393

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

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

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

Module 28 Mobile IP: Discovery, Registration and Tunneling

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

Mobile IP. Mobile Computing. Mobility versus Portability

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

Mobile Communications Chapter 9: Network Protocols/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

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

Mobile IP. Mobile IP 1

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

Security Issues In Mobile IP

Mobility Support in Internet and Mobile IP. Gianluca Reali

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

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

CSE 123A Computer Networks

CSE 4215/5431: Mobile Communications Winter Suprakash Datta

Multicast service model Host interface Host-router interactions (IGMP) Multicast Routing Distance Vector Link State. Shared tree.

Mobile IP and Mobile Transport Protocols

Wireless and Mobile Networks Reading: Sections 2.8 and 4.2.5

IPv6: An Introduction

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

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

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

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

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

Mobility Management - Basics

Obsoletes: 2002 January 2002 Category: Standards Track

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

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

Introduction to IPv6. IPv6 addresses

Mobile Communications Mobility Support in Network Layer

Lecture 19: Multicast. CSE 123: Computer Networks Stefan Savage

Internet Services & Protocols. Mobile and Wireless Networks

Internet Engineering Task Force (IETF) Ericsson July 2011

CSC 4900 Computer Networks: Mobility

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

Networked Systems Research is Irrelevant

Chapter 8 LOCATION SERVICES

Mobile Communications Chapter 8: Network Protocols/Mobile IP

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

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

The Design Space of Network Mobility

Introduction to IPv6. IPv6 addresses

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

Internet Mobility 4x4. Stuart Cheshire and Mary Baker

Chapter 3 A New Framework for Multicast Mobility in WiFi Networks

Lecture 16: Router Design

Mobility Support in Internet and Mobile IP

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.

Mobility Support in IPv6

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

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

VXLAN Overview: Cisco Nexus 9000 Series Switches

Mobility: vocabulary

CSCI-1680 Network Layer:

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

Network Layer (4): ICMP

TSIN02 - Internetworking

More Internet Support Protocols

CS 457 Lecture 11 More IP Networking. Fall 2011

IPV6 SIMPLE SECURITY CAPABILITIES.

Configuring the Service Discovery Gateway

CSE 4215/5431: Mobile Communications Winter Suprakash Datta

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

LECTURE 9. Ad hoc Networks and Routing

On using Mobile IP Protocols

CS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis

Wireless Network and Mobility

Communications Software. CSE 123b. CSE 123b. Spring Lecture 2: Internet architecture and. Internetworking. Stefan Savage

Introduction to IPv6. IPv6 addresses

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

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

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

CS 515 Mobile and Wireless Networking Final Exam Fall

How Mobile IP Works? Presenter: Ajoy Singh

Binding information contains the entries in the mobility binding table.

CS 515 Mobile and Wireless Networking Final Exam Solutions Fall

IPv6 and Multicast. Outline. IPv6 Multicast. S Computer Networks - Spring 2005

Internet Protocols Fall Lectures Inter-domain routing, mobility support, multicast routing Andreas Terzis

Lecture 10: Addressing

Different Layers Lecture 20

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

Mobile IPv6. Washington University in St. Louis

Transcription:

CSE 123b Communications Software Quick announcement My office hours tomorrow are moved to 12pm Spring 2003 Lecture 10: Mobile Networking Stefan Savage May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 2 Last class Multicast communications One-to-many Publish and subscribe model (receiver-based) Routing protocols Per-source tree routing» RPF, RPB, RPM» Builds Efficient trees» S*G state explosion for large networks/groups Shared tree» Unicast to rendezvous point» More complex, fragile, hard to manage» Trees inefficient by as much as 2x» Only requires G state on routers Today 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] May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 3 May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 4 The Mobility Problem Implicit assumption that Internet hosts are fixed IP addresses used to name hosts; cached by higher layers IP routing breaks if addresses change location. Why? Unfortunately, the buying public likes mobility 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) May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 5 May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 6

May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 7 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 Some simple solutions Datalink layer mobility AP s connected to single virtual LAN (UCSD campus solution) Underlying Ethernet switches learn which MAC addresses they use and tell other switches 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 during a session? May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 8 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 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) May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 9 May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 10 Home and Foreign Agents Mobile IP (MH at Home) 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 Correspondent Host (CH) Internet Packet 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 Mobile Host (MH) Home Home Agent (HA) Visiting Location May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 11 May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 12

May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 13 Mobile IP (MH Moving) Mobile IP (MH Away) Packet Correspondent Host (CH) Packet Mobile Host (MH) Correspondent Host (CH) Mobile Host (MH) Home Home Agent (HA) Internet MH is now with me Visiting Location Foreign Agent (FA) Register Home Home Agent (HA) Internet Encapsulated Visiting Location Foreign Agent (FA) May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 14 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 (!) 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? May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 15 May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 16 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 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) Has been sent recently (freshness) Mechanisms Shared keys (mobile and home are from same admin domain) MD5 digests (secure hash over the data) Nonces or timestamps May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 17 May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 18

May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 19 Tunneling Home agent and mobile communicate using a tunnel IP in IP encapsulation Original packet Correspondent address (src) mobile home address (dest) Gets sent to home agent Tunnel packet 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?) Asides Bit of overhead (20 byte header for every packet poor telnet) 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 May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 20 Route Optimization Route optimization shortcuts the triangle 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 Issues Binding cache updates (consistency) Binding update authentication (more trust) Yet more complexity Necessary for scalability? End result: Mobile IP is not widely deployed 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 May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 21 May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 22 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? 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 (e.g. myhost.ucsd.edu is now at 132.239.10.1) May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 23 May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 24

May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 25 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 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 associated May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 26 TCP Migration example 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) 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) May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 27 May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 28 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) Issues Pro No change to routing infrastructure No triangle routes Simple Con Requires changes to both end-points TCP-specific May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 29 May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 30

May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 31 Next time Midterm