Jose Alcid David Chapman Aaron Trank

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)
Mobile Communications-Network Protocols/Mobile IP
IP Mobility Support Basic idea of IP mobility management
資 管 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.
MOBILITY SUPPORT IN IPv6
Chapter 13 Mobile IP. Outline  ADDRESSING  AGENTS  THREE PHASES  AGENT DISCOVERY  REGISTRATION  DATA TRANSFER  INEFFICIENCY IN MOBILE IP.
TCP/IP Protocol Suite 1 Upon completion you will be able to: Mobile IP Understand the addressing scheme for mobile hosts. To define home, care-of, and.
A Study of Mobile IP Kunal Ganguly Wichita State University CS843 – Distributed Computing.
COS 420 Day 17. Agenda Assignment 4 Posted Chap Due April 6 Group project program requirements due Individual Project Graded 2 A’s and 1 B Today.
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,
IPv6 Mobility David Bush. Correspondent Node Operation DEF: Correspondent node is any node that is trying to communicate with a mobile node. This node.
Internet Networking Spring 2003
Mobile IP.
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.
Mobile IP Polytechnic University Anthony Scalera Heine Nzumafo Duminda Wickramasinghe Edited by: Malathi Veeraraghavan 12/05/01.
Mobile IP Performance Issues in Practice. Introduction What is Mobile IP? –Mobile IP is a technology that allows a "mobile node" (MN) to change its point.
Mobile IP: Introduction Reference: “Mobile networking through Mobile IP”; Perkins, C.E.; IEEE Internet Computing, Volume: 2 Issue: 1, Jan.- Feb. 1998;
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?
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.
Lectured By: Vivek Dimri Asst Professor CSE Deptt. Sharda University, Gr. Noida.
Mobile IP Overview and Discussion. 2 Spectrum of Mobility – from network perspective no mobility high mobility mobile user, using same access point mobile.
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
Mobile IP Miae Woo. By Miae Woo2 Motivation for Mobile IP Routing  based on IP destination address, network prefix (e.g ) determines physical.
CSC 600 Internetworking with TCP/IP Unit 7: IPv6 (ch. 33) Dr. Cheer-Sun Yang Spring 2001.
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.
Introduction to Mobile IPv6
CSC 600 Internetworking with TCP/IP Unit 5: IP, IP Routing, and ICMP (ch. 7, ch. 8, ch. 9, ch. 10) Dr. Cheer-Sun Yang Spring 2001.
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.
Santhosh Rajathayalan ( ) Senthil Kumar Sevugan ( )
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 순천향대학교 전산학과 문종식
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 Aamir Sohail NGN MS(TN) IQRA UNIVERSITY ISLAMABAD.
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.
1 OverviewOverview A device on a network is reachable through normal IP routing by the IP address it is assigned on the network. The problem occurs when.
DMET 602: Networks and Media Lab
Mobile IP.
IP for Mobile hosts.
EA C451 Vishal Gupta.
Introduction to Wireless Networking
Mobility And IP Addressing
© Model Engineering College
Unit 3 Mobile IP Network Layer
Introduction to Wireless Networking
DMET 602: Networks and Media Lab
CSE 4215/5431: Mobile Communications Winter 2010
CSE 4215/5431: Mobile Communications Winter 2011
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 Outline Intro to mobile IP Operation Problems with mobility.
Mobile IP-2 CS441 – Mobile & Wireless Computing
Presentation transcript:

Jose Alcid David Chapman Aaron Trank Chapter 18 Mobile IP Jose Alcid David Chapman Aaron Trank COMP429 Spring 2006

Overview What is Mobile IP? Mobility, Routing, and Addressing Mobile IP Characteristics Mobile IP Operation Mobile Addressing Details Foreign Agent Discovery Agent Registration

Overview Registration Message Format Communication With Foreign Agent Datagram Transmission And Reception The Two-Crossing Problem Communication With Computers On the Home Network

QUIZ You’ll have the chance to win 2 AMC movie tickets!!

What is Mobile IP? IETF standard protocol Designed to allow mobile users to move from one network to another while maintaining their permanent IP address. Described in IETF RFC 3344

Mobility, Routing and Addressing Mobile Computing Refers to a system that allows computers to move from one location to another The IP addressing scheme makes mobility difficult The host’s address must change Routers must propagate a host-specific route across the entire Internet Neither alternative works well

Mobility, Routing and Addressing Changing an address breaks all existing transport-layer connections and may require restarting some network services If the host contacts a server that uses reverse DNS lookup to authenticate, an additional change to DNS may be required A host-specific routing approach cannot scale because communicating and storing a route for each host requires excessive bandwidth and memory

Mobile IP Characteristics IETF devised a technology to permit IP mobility Officially named IP Mobility Support Popularly called: MOBILE IP

Mobile IP Characteristics General Characteristics include: Transparency Mobility is transparent to applications and transport layer protocols A TCP connection can survive a change in location provided the connection is not used during transition Interoperability With IPv4 A host using mobile IP can interoperate with stationary hosts that run conventional IPv4 software

Mobile IP Characteristics Scalability The solution permits mobility across the Internet Security Mobile IP provides security facilities that can be used to ensure all messages are authenticated (i.e. to prevent an arbitrary computer from impersonating a mobile host) Macro Mobility Mobile IP focuses on the problem of long-duration moves (e.g., a user who takes a portable computer on a business trip)

Mobile IP Operation What is the Biggest Challenge? Biggest challenge is allowing a host to retain its address without requiring routers to learn host-specific routes. Mobile IP solves the problem by: Allowing a computer to hold two addresses simultaneously A permanent and fixed PRIMARY ADDRESS And a SECONDARY ADDRESS that is temporary

Mobile IP

WHY? Mobile IP Operation Mobile IP is designed for macroscopic mobility rather than continuous, high-speed movement WHY?

Mobile IP Operation The reason should be clear: OVERHEAD Because it requires considerable overhead after each move, Mobile IP is intended for situations in which a host moves infrequently and remains at a given location for a relatively long period of time (e.g, hours or days)

Mobile IP But Wait! There’s More!

Mobile IP versus Standard IP IP assumes end hosts are in fixed physical locations What happens if we move a host between networks? IP addresses enable IP routing algorithms to get packets to the correct network: -DHCP is used to get packets to end hosts in networks This still assumes a fixed end host

Mobile IP versus Standard IP

Mobile IP versus Standard IP What if a user wants to roam between networks? Mobile users don’t want to know that they are moving between networks Why can’t mobile users change IP when running an application?

Mobile IP versus Standard IP Mobile IP was developed as a means for transparently dealing with problems of mobile users Enables hosts to stay connected to the Internet regardless of their location Enables hosts to be tracked without needing to change their IP address Requires no changes to software of non-mobile hosts/routers Requires addition of some infrastructure Has no geographical limitations Requires no modifications to IP addresses or IP address format Supports security Could be even more important than physically connected routing

Mobile IP Entities Mobile Node (MN) Home Agent (HA) The entity that may change its point of attachment from network to network in the Internet Detects it has moved and registers with “best” FA Assigned a permanent IP called its home address to which other hosts send packets regardless of MN’s location Since this IP doesn’t change it can be used by long-lived applications as MN’s location changes Home Agent (HA) This is router with additional functionality Located on home network of MN Does mobility binding of MN’s IP with its COA Forwards packets to appropriate network when MN is away Does this through encapsulation (IP in IP Tunneling)

Mobile IP Entities Foreign Agent (FA) Care-of-address (COA) Another router with enhanced functionality If MN is away from HA the it uses an FA to send/receive data to/from HA Advertises itself periodically Forward’s MN’s registration request Decapsulates messages for delivery to MN Care-of-address (COA) Address which identifies MN’s current location Sent by FA to HA when MN attaches Usually the IP address of the FA Correspondent Node (CN) End host to which MN is corresponding (eg. a web server)

Mobile IP versus DHCP

Two types of care-of addresses Co-Located Mobile computer handles all forwarding and tunneling itself Mobile obtains a local address on foreign network (e.g. via DHCP) Handles details of contacting the home agent to register Advantage: portability Disadvantage: Must have special software Foreign Agent Requires active participant on foreign network Mobile discovers agent when arrives on foreign network Obtains care-of address from foreign agent † Advantage: Mobile computer does not need extra software Disadvantage: Limited access for Mobile computers † A foreign agent does not need to assign a unique address. Instead, the agent may assign its IP address.

Foreign Agent Discovery Uses ICMP router discovery mechanism Routers periodically send ICMP router advertisement messages Hosts may send an ICMP router solicitation to prompt for the advertisement A Mobile may also multicast to the all agents group (224.0.0.11) If the router acts as a foreign agent then in its reply it will append a mobility agent extension The message type is the same as for ICMP router advertisements except that if the datagram length specified in the IP header is greater than the length specified in the ICMP router discovery message, then the extension is present

Mobility agent advertisement extension 0 8 16 24 31 Type (16) Length Sequence Num Lifetime Code Reserved Care-Of Address Fields Type Type field ICMP = 16 (information reply) Length Size of the extension msg in octets excluding Type & Length fields Sequence Sequence number for the message, allows recipient to determine when a msg is lost Code Defines a specific feature of the agent Lifetime Specifies a max amount of time in secs that the agent is willing to accept registration requests Care-of-addr Second address for the Mobile host

Mobility agent advertisement extension 0 8 16 24 31 Type (16) Length Sequence Num Lifetime Code Reserved Care-Of Address Code Bits 0 Agent supports reversed tunneling Unused (must be zero) Agent uses Generic Route Encapsulation Agent uses minimal encapsulation Agent functions as foreign agent Agent functions as home agent The agent is busy and is not accepting registrations Registration with an agent is required even when using a co-located care-of-address

Communicating with a Foreign Agent Foreign Agent may use its address as the secondary address for the Mobile Host How can the foreign agent communicate with the Mobile host when it does not have a unique address? The Mobile host supplies its hardware address during the registration. The foreign agent will use the hardware address and home IP address to communicate with the Mobile host

Communicating with Home Network When a host is at a foreign site the home agent can intercept datagrams that arrive from external sources and forward them without problems A special case arises when the Mobile is at a foreign site and hosts from the home network attempt to forward datagrams to the Mobile unit Those datagrams will be sent via direct delivery and not be intercepted by the home agent Therefore the home agent must arrange to intercept the ARP requests on behalf of the Mobile host which acts as a proxy

Agent Registration Before it can receive datagrams at the foreign location a Mobile host must register with an agent Registration is done via UDP The procedure allows a host to: Register with a foreign agent Register with the home agent to arrange forwarding Renew a registration that is due to expire Deregister with the home agent

Registration Message Format 0 8 16 24 31 Type (1 or 3) Flags/Code Lifetime Home Address Home Agent Care-Of-Address (request only) Identification (64bits) Extensions… Fields Type 1 = registration request, 3 = registration reply Flags/Code Bits used in both requests and replies. They are used as result codes in a registration reply message and specify forwarding details in a registration request. Lifetime Specifies number of seconds the registration is valid Home addr Mobile’s static IP home address Home agent Home agents IP address

Registration Message Format 0 8 16 24 31 Type (1 or 3) Flags/Code Lifetime Home Address Home Agent Care-Of-Address (request only) Identification (64bits) Extensions… Fields cont… Care-of addr Mobile’s temporary foreign address Identification 64 bit number generated by the Mobile. Used to match requests with incoming replies. Prevents Mobile from accepting old messages. Extensions variable-length field. Each request is required to contain a mobile-home authentication extension that allows the home agent to verify the mobile’s identity

Two Crossing Problem Poor performance within a foreign network Spatial locality of reference Visiting mobile will tend to communicate with hosts local to the foreign network Crossing internet is more expensive than local delivery AKA 2X problem

Mobile IP: Encapsulation Options IP-within-IP: The entire original IP packet becomes the payload in a new IP packet. The original, inner IP header is unchanged except that the TTL field is decreased by 1 The outer header is a full IP header.

Mobile IP: Encapsulation Options Version = 4 IHL Type of service Total Length Identification Flags Fragment Offset Time To Live Protocol = 4 Header Checksum Source Address (home agent address) Destination Address (care-of-address) Protocol IP Payload New IP Header Old IP Header

Mobile IP: Encapsulation Options Minimal encapsulation: A new, condensed header is inserted between the original IP header and the original IP payload. The original IP header is then modified to form a new outer IP header.

Mobile IP: Encapsulation Options Version = 4 IHL Type of Service Total Length Identification Flags Fragment Offset Time To Live Protocol = 55 Header checksum Source Address (home agent address) Destination Address (care-of-address) Protocol S Retrieved Destination address (home address) Source Address(original sender may not be present) IP Payload (e.g. TCP segment)   Modified IP Header Minimal forwarding Header

Mobile IP Tunneling Across Internet

Security in Mobile IP Authentication can be performed by all parties Only authentication between MN and HA is required MD5 is the default Replay protection Timestamps are mandatory HA and FA do not have to share any security information.

References www.cs.wisc.edu/~pb/640/ www.cs.okstate.edu/~saranga www.wi-fiplanet.com/tutorials/article.php/2205821 www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120t/120t1/mobileip.htm