Mobile Routing. When a host moves, its point of attachment in the network changes. This is called a handoff.

Similar documents
IP and Mobility. Requirements to a Mobile IP. Terminology in Mobile IP

Wireless Networks: Network Protocols/Mobile IP

6 Mobility Management

Mobility Management 嚴 力 行 高 雄 大 學 資 工 系

(Refer Slide Time: 01:38 01:37)

Mobile IP. Bheemarjuna Reddy Tamma IIT Hyderabad. Source: Slides of Charlie Perkins and Geert Heijenk on Mobile IP

Tomás P. de Miguel DIT-UPM. dit UPM

Mobile IP Part I: IPv4

Network layer: Overview. Network layer functions IP Routing and forwarding

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

Mobility on IPv6 Networks

Static and Dynamic Network Configuration

Mobility Support in IPv6

REDUCING PACKET OVERHEAD IN MOBILE IPV6

Mobile Communications Chapter 8: Network Protocols/Mobile IP

On the Design of Mobility Management Scheme for based Network Environment

Analysis of Mobile IP in Wireless LANs

IP - The Internet Protocol

Introduction to IP v6

This chapter covers the following topics: Characteristics of roaming Layer 2 roaming Layer 3 roaming and an introduction to Mobile IP

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

Lecture Computer Networks

Chapter 9. IP Secure

8.2 The Internet Protocol

MPLS VPN in Cellular Mobile IPv6 Architectures(04##017)

Mobility Management in DECT/IPv6 Networks

Internet Protocol: IP packet headers. vendredi 18 octobre 13

SERVICE DISCOVERY AND MOBILITY MANAGEMENT

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

Internet Packets. Forwarding Datagrams

21.4 Network Address Translation (NAT) NAT concept

Future Internet Technologies

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

5.0 Network Architecture. 5.1 Internet vs. Intranet 5.2 NAT 5.3 Mobile Network

Introduction to Mobile IPv6

Network layer" 1DT066! Distributed Information Systems!! Chapter 4" Network Layer!! goals: "

ABSTRACT. Introduction. Table of Contents. By Yi-an Chen

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Mobile IP and Wireless Application Protocol

Network Security. Internet Firewalls. Chapter 13. Network Security (WS 2002): 13 Internet Firewalls 1 Dr.-Ing G. Schäfer

CS 43: Computer Networks IP. Kevin Webb Swarthmore College November 5, 2013

Chapter 4 Network Layer

Administrivia. CSMA/CA: Recap. Mobility Management. Mobility Management. Channel Partitioning, Random Access and Scheduling

RARP: Reverse Address Resolution Protocol

802.11: Mobility Within Same Subnet

SURVEY ON MOBILITY MANAGEMENT PROTOCOLS FOR IPv6

Security issues with Mobile IP

Introducing Reliability and Load Balancing in Mobile IPv6 based Networks

Ethernet. Ethernet. Network Devices

Internetworking. Problem: There is more than one network (heterogeneity & scale)

Protocol Security Where?

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Computer Networks - CS132/EECS148 - Spring

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

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

Address Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP)

Network Security. Chapter 13. Internet Firewalls. Network Security (WS 07/08): 13 Internet Firewalls 1 Dr.-Ing G. Schäfer

First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring

Definition. A Historical Example

Review: Internet Protocol (IP) Computer Networking. IP Address Problem (1991) Review: IP Protocol. IPv6 and NATs

IP Address Classes (Some are Obsolete) Computer Networking. Important Concepts. Subnetting Lecture 8 IP Addressing & Packets

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme. Auxiliary Protocols

Network Security TCP/IP Refresher

IP Subnetting and Addressing

How do I get to

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

IP addressing and forwarding Network layer

Internet, Part 2. 1) Session Initiating Protocol (SIP) 2) Quality of Service (QoS) support. 3) Mobility aspects (terminal vs. personal mobility)

IPv6 mobility and ad hoc network mobility overview report

CS 294-7: Cellular Digital Packet Data (CDPD) Prof. Randy H. Katz CS Division University of California, Berkeley Berkeley, CA

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

Getting started with IPv6 on Linux

Infrastructure-less networks

Module 7 Internet And Internet Protocol Suite

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

IP address format: Dotted decimal notation:

Mobile Internet Protocol v6 MIPv6

More Internet Support Protocols

Dynamic Home Agent Reassignment in Mobile IP

Internet Control Protocols Reading: Chapter 3

Overview. Lecture 16: IP variations: IPv6, multicast, anycast. I think we have a problem. IPv6. IPv6 Key Features

G.Vijaya kumar et al, Int. J. Comp. Tech. Appl., Vol 2 (5),

CS268 Exam Solutions. 1) End-to-End (20 pts)

Firewall Implementation

The Wireless Network Road Trip

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

IP Addressing. IP Addresses. Introductory material.

Internet Architecture and Philosophy

CSCI 454/554 Computer and Network Security. Topic 8.1 IPsec

Analysis and Comparison of Different Host Mobility Approaches

Vorlesung Kommunikationsnetze Research Topics: Protocol Family for Control Data Communication in Heterogeneous Network Environments

Proactive DAD: An L2-assisted Fast Address Acquisition. Strategy for Mobile IPv6 Networks

IP Addressing Introductory material.

Technical Support Information Belkin internal use only

Configuring Network Address Translation (NAT)

Outline. Wireless System Integration WLAN. WAN Technologies ดร. อน นต ผลเพ ม LAN. WAN Server LAN. Wireless System Architecture Protocols

TCP/IP Fundamentals. Edmund Lam IT Audit Manager University of California 7/25/99 1

We Are HERE! Subne\ng

Transcription:

Mobile Routing Basic Notions of Mobility When a host moves, its point of attachment in the changes. This is called a handoff. The point of attachment is a base station (BS) for cellular, or an access point (AP) for WLAN. We will assume WLAN in our examples. Problem essentially the same for cellular s. Handoff can be handled completely in the link layer, if both the APs involved are in the same. Otherwise, a route change in the IP layer may be needed. This is called layer handoff. Mobile IP is a standard protocol for handling layer handoff.

Illustrating Link Layer and Network Layer Handoff R R R R R R LAN segment LAN segment Link layer handoff Network layer handoff Link layer handoff Mobile host Motivation for Mobile IP How IP routing works? IP addresses are assigned in a topologically significant fashion. All hosts in a shares the same address (e.g., 129.13.42). Routing is generally based on prefixes. For example, a packet for 129.13.42.12 is forwarded to 129.13.42 unless there is a different host-specific route. What if a hosts moves to a different? Two solutions: The host carries the old IP address. Maintain host-specific routes for all mobile hosts on all s. Not scalable, because of too many individual routes need to be maintained. Change IP address of the mobile host to an address in the new. Upper layer connections (such as TCP) will break. Also, not easy to find IP address for a mobile host that moves frequently. Mobile IP solution: Preserve the original address, but also use a new care-of-address (COA).

Why is Mobile IP Complex? Need transparency Need to be transparent to any upper-layer protocol (such as TCP). So, cannot really change the IP address of MH. But MH is in a different after handoff. This new has a different address!! Need compatibility Cannot change the addressing scheme just to support Mobile IP! Cannot change the s. Mobile hosts must be able to communicate with fixed hosts in the that may not speak mobile IP. Core Idea of Mobile IP Transform the mobility problem into a routing problem. Use two IP addresses for the mobile. Preserve the original IP address. But borrow a new IP address (COA) in the newly visited. Use forwarding: A specific host (typically the ) in the home forwards IP datagrams to the new COA. Mobile IP does not need wireless. The handoff between two s may involve physical wireline connection/disconnection. Idea is to simply be able to make the change in transparent to upper layer. Mobile IP does not dictate how the change might happen.

Basic Mechanism: Analogy With Post Office Similar to mail forwarding in post office. Example: You have moved from your home to Stony Brook for grad studies. What happens to your mail to your home address? Solution 1: Notify all your correspondents about your address change. But we need a transparent solution. Solution 2: Use the mail forwarding service in the post office. Good idea. Transparent to your correspondents. Explore the second solution. You notify the home post office about your address change. Home post office intercepts all your mail. They do this anyway to deliver your mail to you. They now see that you have a forwarding address. Home post office puts your mail in another envelop with your forwarding address. Your real address is still the home address. Home post office mails that envelop again. You get your mail from the Stony Brook post office at your forwarding address. You open the envelop and recover the original mail. The original mail is indistinguishable from the mail you would have gotten at home! Mobile IP = Mail Forwarding in IP Networks Terminology: Home : Network where the MH got its IP address from. Home Agent: A software entity in the home that does the encapsulation and forwarding. Typically, runs on an appropriate. Foreign : Any the MH is visiting. Foreign Agent: A software entity in the that performs the decapsulation. Could run on the MH or on an appropriate. Three basic steps in Mobile IP Agent advertisement (to determine availability of service) Registration (to notify about needed service) Tunneling (to get the actual delivery)

Mobile IP Example Foo from blue visiting the red Blue = home Red = Original IP address COA Mobile host retains its original IP address; but borrows the service of a new COA for the that it is visiting. Several mobile hosts can share the same COA. In that case the COA is actually the IP address of a running the agent. But this does not need to be the case. [Example due to Charles Perkins] A Note on IP Routing Why do we really need forwarding? Why cannot the MH simply use the original IP address in the? Why a new COA? In the post office analogy, this means that you will continue using your home address while in Stony Brook. This is ridiculous in the post office system. In IP this is not impossible. But impractical. IP routing is hierarchical. IP addresses are assigned in a topologically significant fashion. All hosts in a share the same address (e.g., 132.4.16.). Routing is generally based on prefixes. For example, a packet for Foo (132.4.16.Z) is forwarded to 132.4.16. unless there is a different host-specific route. Providing host specific routes to all mobiles is not scalable, given that such routes must be updated when the move.

Terminology Home Agent () system in the home of the MN, typically a registers the location of the MN, tunnels IP datagrams to the COA Foreign Agent () system in the current of the MN, typically a forwards the tunneled datagrams to the MN, typically also the default for the MN Care-of Address (COA) address of the current tunnel end-point for the MN (at or MN) actual location of the MN from an IP point of view can be chosen, e.g., via DHCP Mobile IP Illustration MH home (home for the MH) CH mobile end-system (current for the MH) Correspondent host (any host communicating with the MH)

Transfer to the Mobile Host 2 MH home 3 mobile end-system 1 CH Correspondent host (any host communicating with the MH) 1. CH transmits packets to the IP addr of MH. intercepts packet. 2. tunnels packet to COA, here, by IP-in-IP encapsulation 3. decapsulates and forwards the packet to the MH. Transfer from the Mobile Host MH home mobile end-system CH Correspondent host (any host communicating with the MH) MH transmits to CH via normal mechanism. No complexity here as IP routing is based on destination s IP address only. acts as the default in this example.

Data transfer to the mobile system 2 MH home 3 receiver CN sender 1 1. Sender sends to the IP address of MN, intercepts packet 2. tunnels packet to COA, here, by encapsulation 3. forwards the packet to the MN Data transfer from the mobile system 1 MN home sender CN 1. Sender sends to the IP address of the receiver as usual, works as default receiver

Overview Picture COA home MH CN home 2. 3. 4. MH 1. CN Agent Advertisement and Registration Agent Advertisement and periodically send advertisement messages into their physical subnets. MH listens to these messages and detects, if it is in the home or a. MH reads a COA from the advertisement messages. Registration (always limited lifetime!) MH signals COA to the via the, acknowledges via to MH.

Registration MN registration request registration request MN registration request t registration reply Registration via registration reply t registration reply Registration via collocated COA (No involved, MH itself performs the actions. Collocated COA can be gotten via DHCP) Tunneling (IP-in-IP Encapsulation) original IP header original data new IP header new data outer header inner header original data All packets to MH is intercepted at and tunneled to the COA. Uses IP tunneling (IP-in-IP encapsulation), similar to MBone. Outer IP packet has COA as the destination and and the source.

Encapsulation I Encapsulation of one packet into another as payload e.g. IPv6 in IPv4 (6Bone), Multicast in Unicast (Mbone) here: e.g. IP-in-IP-encapsulation, minimal encapsulation IP-in-IP-encapsulation (mandatory, RFC 2003) tunnel between and COA ver. IHL DS (TOS) length IP identification flags fragment offset TTL IP-in-IP IP checksum IP address of Care-of address COA ver. IHL DS (TOS) length IP identification flags fragment offset TTL lay. 4 prot. IP checksum IP address of CN IP address of MN TCP/UDP/... payload Encapsulation II Minimal encapsulation (optional) avoids repetition of identical fields e.g. TTL, IHL, version, DS (RFC 2474, old: TOS) only applicable for unfragmented packets. ver. IHL DS (TOS) length IP identification flags fragment offset TTL min. encap. IP checksum IP address of care-of address COA lay. 4 protoc. S reserved IP checksum IP address of MN original sender IP address (if S=1) TCP/UDP/... payload

Some More Details Communication from CH to MH: Source IP address: CH, Dest IP address: MN Goes to the home. intercepts. encapsulates and tunnels packet to. Addresses on the outer packet: Source:, Dest: COA If COA is on, decapsulates packet and delivers to MH via a local mechanism. This local mechanism is not a part of mobile-ip specs. Note here MH uses its home address. Local mechanism could be as simple transmitting on a Ethernet segment. If COA is on MH (collocated COA) Packet is directly delivered to MH. MN itself decapsulates packet. Communication from MH to CH: Source IP address: MH, Dest: CH Optimizations Triangular Routing CH sends all packets via to MH. higher latency and load. Solution CH can learn the current location (COA) of MH from the. Then CH can directly tunnel the packet to the COA. However, this requires that CH also speaks Mobile IP. Change of Packets in transit during the change can be lost. New informs old to avoid packet loss, old now forwards remaining packets to new. This information also enables the old to release resources for the MH.

Illustration: Change of agent CH old new MH Data Data Data Update ACK Warning Data Data Update ACK Data Data Registration Data MH changes location Request Update ACK Data Data t Reverse Tunneling The packets originating from MH in the has the source address from the MH s home. Often a firewall in the will filter such packets for security reasons, as the source addresses are not topologically correct. To avoid this, can reverse tunnel packets to home agent.

Reverse Tunneling 2 MH home 1 sender CH receiver 3 1. MH sends to 2. tunnels packets to by encapsulation 3. forwards the packet to the receiver (standard case)