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.

Slides:



Advertisements
Similar presentations
1 Introduction to Mobile IPv6 IIS5711: Mobile Computing Mobile Computing and Broadband Networking Laboratory CIS, NCTU.
Advertisements

Mobile IP: enable mobility for IP-based networks CS457 presentation Xiangchuan Chen Nov 6, 2001.
IP Mobility Support Basic idea of IP mobility management
CEG436: Mobile Computing Mobile IP. What is mobility? spectrum of mobility, from the network perspective: no mobility high mobility mobile user, using.
資 管 Lee Lesson 12 IPv6 Mobility. 資 管 Lee Lesson Objectives Components of IPv6 mobility IPv6 mobility messages and options IPv6 mobility data structures.
1 Mobile IP Why mobile IP? How mobile IP works –Introduction –Agent discovery/Advertisement –Registration –Routing considerations –Security Mobility management.
1 Mobile IP Myungchul Kim Tel:
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
Chapter 13 Mobile IP. Outline  ADDRESSING  AGENTS  THREE PHASES  AGENT DISCOVERY  REGISTRATION  DATA TRANSFER  INEFFICIENCY IN MOBILE IP.
A Study of Mobile IP Kunal Ganguly Wichita State University CS843 – Distributed Computing.
ICMP: Internet Control Message Protocol used by hosts, routers, gateways to communication network-level information –error reporting: unreachable host,
IPv6 Mobility David Bush. Correspondent Node Operation DEF: Correspondent node is any node that is trying to communicate with a mobile node. This node.
Mobile IP.
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.
1 Kommunikatsiooniteenuste arendus IRT0080 Loeng 6 Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
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.
2002 년 2 학기이동인터넷프로토콜 1 Mobile IP:Overview 년 2 학기이동인터넷프로토콜 2 Mobile IP overview Is Mobile IP an official standard? What problems does Mobile IP solve?
Mobile IP Add it into TCP/IP implementation Wireless communication techniques Wireless technique DistanceTransfer rate Frequency Bluetooth (WPAN)
Lecture 3a Mobile IP 1. Outline How to support Internet mobility? – by Mobile IP. Our discussion will be based on IPv4 (the current version). 2.
Mobile IP Overview and Discussion. 2 Spectrum of Mobility – from network perspective no mobility high mobility mobile user, using same access point mobile.
1 /160 © NOKIA 2001 MobileIPv6_Workshop2001.PPT / / Tutorial Mobile IPv6 Kan Zhigang Nokia Research Center Beijing, P.R.China
IPv6 Mobility Milo Liu SW2 R&D ZyXEL Communications, Inc.
Mobile IP Most of the slides borrowed from Prof. Sridhar Iyer
Mobile IP Chapter 19. Introduction Mobile IP is designed to allow portable computers to move from one network to another Associated with wireless technologies.
1 Sideseadmed (IRT0040) loeng 5/2010 Avo
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
Mobile IP Miae Woo. By Miae Woo2 Motivation for Mobile IP Routing  based on IP destination address, network prefix (e.g ) determines physical.
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Session: 14S. K. Nayak14.1 Mobile Computing Session 14 Mobile IP S. K. Nayak Synergy, Dhenkanal.
Location management. Mobile Switching Center Public telephone network, and Internet Mobile Switching Center Components of cellular network architecture.
Understanding IPv6 Slide: 1 Lesson 12 IPv6 Mobility.
Introduction to Mobile IPv6
MOBILITY Beyond Third Generation Cellular Feb
Spring 2004 Mobile IP School of Electronics and Information Kyung Hee University Choong Seon HONG
Mobile IP Lec#9. Lecture Objectives ● Present the basic principles of addressing in IP networks ● Describe the problem of mobility with IP and consider.
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 Διδάσκων: Βασίλειος Σύρης Τμήμα: Πληροφορικής.
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.
An Introduction to Mobile IPv4
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.
Mobility support in IP v4. Internet Computing (CS-413) 2.
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.
Mobile IP Lecture 5.
DMET 602: Networks and Media Lab
Mobile Networking (I) CS 395T - Mobile Computing and Wireless Networks
Networking Applications
Mobile IP.
IP for Mobile hosts.
EA C451 Vishal Gupta.
Introduction to Wireless Networking
Mobility And IP Addressing
2002 IPv6 技術巡迴研討會 IPv6 Mobility
Mobile IP Mobile Computing.
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.
Lecture 4a Mobile IP 1.
Mobile IP Neil Tang 11/12/2008 CS440 Computer Networks.
Presentation transcript:

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 design principles underlying all mobility support schemes Internet standard: mobile IPv4, Mobile IPv6 o the operations of MIPv4 o introduction to MIPv6 Fast handover solutions

Outline The problem The general solution Mobile IP standards: Mobile IPv4, MIPv6

The Problem Mobility support at the network layer Long-term: keep the TCP connection between a mobile host (MH) and a static host ongoing Short-term: reduce the impact of packet loss while an MH is moving around

Where does the problem come from? In TCP/IP, the host address plays two roles: o acts as an end-point identifier for connections involving the host a host address should always remain the same o provides routing info for packets destined for the host a host address should change whenever the host moves Goal: support mobility without having to change the protocols in all the millions of hosts currently on the Internet

How to solve the problem? adaptation via “indirection” o Proxy agent acts as the “middle-man” between mobile host and a communicating host

Concrete Idea: Two Tier Addressing Long-term mobility first: We need an address pair to identify a MH at any time: o Home address for identification o current address for routing How to do two-tier addressing: o not physically done (which requires 8 bytes of address per host) o perform address translation along the way by some specialized agents that cache both addresses.

Solution: Basic Components and Architecture Mobile host (MH): a host that moves Home address (HA): a location-independent address for a MH Home network: the network identified by the net id part of the HA of MH. A home net has some special agents for proxy-ARP, packet forwarding, address translation etc. to support mobility When a MH moves within its home network, no network- level support is needed since packet forwarding is achieved by bridges When a MH moves across networks, the HA cannot be used for routing, though the HA has to be used for end-point identification by TCP

How packet forwarding works? Source sends out packets that are addressed to home address (HA) of MH Address translation agent (ATA) intercepts packets and maps HA to FA (using IPIP or Loose-source- routing) Packets arrive at forwarding agent (FA) FA remaps address to HA and delivers packets over the last hop At the MH, the packet seems to arrive from Source to HA; thus, transport layer is provided transparency

How to keep location of MH updated? Location directory (LD) provides the mapping between the home address and forwarding address for a MH MH is responsible for sending updates to the LD when it moves LD is distributed Typically, the Home network maintains LD for its MHs, though parts of the LD are allowed to be cached by other foreign networks

Operations of Address Translation When a source communicates with a MH, the MH puts its HA in the destination address field. Somewhere along the route, this has to pass thru an address translation agent (ATA), which converts the HA to the forwarding address. Address Translation can be provided by 2 mechanisms: o IP-IP Encapsulation: encapsulate the original datagram within another datagram that contains the FA address o Loose source routing: indicates intermediate hops over which the datagram must travel to the final destination. In this case, the intermediate hop will be the FA, which then converts the packet address to the final destination

Mobile IPv4: RFC2002 Macro-management for mobility o less frequent than once per second o More concerned about long-term performance: whether to allow seamless mobility or not Two scenarios for packet forwarding: o MH to a static host: as usual o a static host to a MH: needs Mobile IP

A Quick Mapping for Mobile IPv4 to the Architecture Forwarding agent: co-located with foreign Agent or with MH (if DHCP is used) Location Directory: at home router only Address Translation Agent: co-located with home router location update protocol: caching of LD is not allowed; when a MH moves, only the primary copy is modified

Basic Concepts Home agent: a router on a MH’s home network which tunnels datagrams for delivery to the MH when it is away from home, maintains LD for MH Foreign agent: a router on a MH’s visited network which provides routing services to the MH while registered. FA detunnels and delivers datagrams to the MH that were tunneled by the MH’s HA. Care-of Address: termination point of a tunnel toward a MH, for datagrams forwarded to the MH while it is away from home. o Foreign agent care-of address: the address of a foreign agent that MH registers with o co-located care-of address: an externally obtained local address that a MH gets.

Protocol Overview Mobility agents (FAs & HAs) advertise their presence MH receives the agent advertisements & determines whether it is on its home net or a foreign net o Home net: MH operates without mobility service o Foreign net: obtains a care-of address on the foreign net (via FA’s agent advertisements or DHCP) if away from home, MH registers its new care-of address with its HA thru a registration request/response process (possibly via a FA). Datagram sent to the MH’s home address: o intercepted by its home agent, o tunneled by the HA to the MH’s care-of address, o detunneled at the tunnel endpoint (either a FA or MH itself), o and finally delivered to the MH In the reverse direction, using standard IP routing.

Agent Discovery Method used by a MH to determine whether it is in its home net or a foreign net; may allow MH to determine the foreign agent care-of address Mobile IP extends ICMP router Discovery as its mechanism for Agent Discovery o agent advertisement & agent solicitation Agent advertisement: o lifetime: maximum length of time that the Advertisement is considered valid in the absence of further Advertisement o if sends periodically, allows a MH to miss 3 Adv messages before deleting the agent from its list. o If it can serve as a FA, must announce its FA care of address o HA must always be prepared to serve the MHs for which it is the HA. o FA may announce too busy to handle additional MHs, but must still continually send out the Adv messages. Agent solicitation: must be implemented by a MH

Registration A mechanism for MHs to communicate their current reachability info to their home agent MHs use registration to o request forwarding service when it is in a foreign network o inform their HA of their current care-of address o renew a registration which is due to expire o deregister when they return to home registration may be via a FA or directly from the MH. o Via a FA: If a MH is registering a FA care-of address if a MH is using a co-located care-of address and receives an Agent Adv from a FA if the “Registration required” bit is set in the Adv message o directly with HA: MH is using a co-located care-of address and not in the above case when MH returns to home net,

Registration Overview Via FA: MH sends a Registration Request to the FA FA receives the request and relays it to the HA HA sends a Registration Reply to the FA to grant/deny the registration request FA processes the Registration Reply and relays it to the MH Directly with HA: exchanges Request/Reply with HA directly After a successful registration: HA creates/modifies the entry for the MH: o MH’s care-of address, remaining lifetime of the registration, ID field from the Registration Reply

Routing Consideration Foreign Agent : o maintains a visitor list o when receives an encapsulated datagram, compare the inner destination address to entries in its visitor list; route datagrams. Home Agent : o how to intercept any datagrams on the home net addressed to the MH when the MH is away from home o use Proxy and gratuitous ARP: when a MH is registered on a foreign net, its HA uses proxy ARP to reply to ARP request that seeks the MH’s link-layer address when MH leaves/returns its home net, its HA uses gratuitous ARP to update the ARP caches of nodes on the home net, causing such nodes to associate the link-layer address of the HA with the MH’s home IP address o Proxy ARP: an ARP reply sent by one node on behalf of another in response to an ARP request. The proxy supplies its own link-layer address in the reply. o Gratuitous ARP: an ARP packet sent by a node to spontaneously cause others to update an entry in their ARP cache.

Summary Forwarding agent: co-located with foreign Agent or with MH (if DHCP is used) Location Directory: at home router only Address Translation Agent: co-located with home router location update protocol: caching of LD is not allowed; when a MH moves, only the primary copy is modified Route optimization: never; o triangle routing problem o location info is NOT allowed to be cached due to security concerns

Have we solved the long-term problem? No!!! o Triangle routing: all packets go through HA all the time Not direct forwarding between MH and remote host

Mobile IP with Route Optimization Idea: o Correspondent hosts can learn the current care-of address for a MH, and creates a valid binding (LD cache entry) for a MH, and becomes Address Translation Agents o Host can encapsulate packets directly to the care-of address of MH (thus bypassing the HA), just as the HA does in the basic Mobile IP spec; host can also use minimal encapsulation as an abbreviated style of encapsulation (8 bytes addition to the IP datagram) Operation: updating binding caches only when it received and authenticated the MH’s mobility binding when HA intercepts a datagram and tunnels it to the MH, HA sends a Binding Update message to the sender when FA sees that MH is not on its visitor list, it sends HA a Binding Warning message, advising HA to send a Binding Update message to the MH

IPv6 Mobility Proposal Mobility support is a basic requirement for IPv6 design Key differences from Mobile IPv4: o support for route optimization becomes a fundamental part of the protocol, not an optional part as in Mobile IPv4 o no need to deploy foreign agents any more o packets sent to a MH while away from home are tunneled using an IPv6 Routing header (analogous to loose source routing in IPv4) rather than IP encapsulation o MH is always responsible for delivering binding updates to its correspondence hosts

Overview of Mobile IPv6 Forwarding agent: co-located with MHs Location directory: LD is maintained at home router. Cache entries are acquired thru Binding Update messages issued by MHs Address Translation Agent: colocated with all hosts and home routers Location Update: MH is responsible for updating the primary copy and all LD cache entries.

Short-term mobility solution: Fast Handover So far we only care about the long-term performance, what about short-term transience during the handovers? o Will lose packets in flight, hard for TCP to swallow o Handover across geographically adjacent subnets happen most often in practice Fast handover seeks to solve this problem

Idea behind fast handover Set up a forwarding tunnel between the old access router and the new access router The old access router forwards all the packets through the tunnel to the new access router, which delivers them to the MH Several solution proposals so far: o MAC bridge based o Proposal within MIPv6

What have we learned? Adaptation via “indirection” to support mobility in IP o Long-term: Home agent as the “indirection proxy” o Short-term: previous foreign agent as the “indirection proxy”