EA C451 Vishal Gupta.

Slides:



Advertisements
Similar presentations
Mobile Networking through Mobile IP
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
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
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.
1 CCNA 2 v3.1 Module 8. 2 TCP/IP Suite Error and Control Messages CCNA 2 Module 8.
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.
ICMP (Internet Control Message Protocol) Computer Networks By: Saeedeh Zahmatkesh spring.
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?
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.
Jose Alcid David Chapman Aaron Trank
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 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 8 TCP/IP Suite Error and Control Messages.
Chapter 19 Network Layer Protocols Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
BAI513 - PROTOCOLS DHCP BAIST – Network Management.
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Introduction to Mobile IPv6
1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Dynamic Host Configuration Protocol (DHCP)
Chapter 22 Bootstrap and Auto configuration (DHCP) History of Bootstrap -Bootstrap is used to assign IP address to the computer. -Constant changes in the.
An Introduction to Mobile IPv4
Mobile IP 순천향대학교 전산학과 문종식
BAI513 - PROTOCOLS DHCP BAIST – Network Management.
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.
Mobile IP Aamir Sohail NGN MS(TN) IQRA UNIVERSITY ISLAMABAD.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 8 TCP/IP Suite Error and Control Messages.
1 Chapter 23 Internetworking Part 3 (Control Messages, Error Handling, ICMP)
ROUTING MOBILE IP  Motivation  Data transfer  Encapsulation.
Under the Guidance of: 1 Mr. R.TRINADH Presented By: J.KEDHARESWAR 09NH1A0422(III ECE-A) V.K.R,V.N.B & A.G.K COLLEGE OF ENGINEERING.
Mobile IP Lecture 5.
DMET 602: Networks and Media Lab
Introduction Wireless devices offering IP connectivity
Chapter 19 Network Layer Protocols
Mobile Networking (I) CS 395T - Mobile Computing and Wireless Networks
Mobile IP.
Objective: ARP.
Introduction to Wireless Networking
Mobility And IP Addressing
Net 323: NETWORK Protocols
Net 431 D: ADVANCED COMPUTER NETWORKS
Net 431: ADVANCED COMPUTER NETWORKS
Unit 3 Mobile IP Network Layer
Introduction to Wireless Networking
DMET 602: Networks and Media Lab
Net 323 D: Networks Protocols
Chapter 15. Internet Protocol
Mobile IP Regional Registration
Mobile IP Outline Homework #4 Solutions Intro to mobile IP Operation
Chapter 24 Mobile IP.
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:

EA C451 Vishal Gupta

Agenda: Mobile IP

Mobile Addressing The biggest challenge for mobility lies in allowing a host to retain its address without requiring routers to learn host-specific routes. Mobile IP solves the problem by allowing a single computer to hold two addresses simultaneously. The first address, which can be thought of as the computer's primary address, is permanent and fixed. It is the address applications and transport protocols use. The second address, which can be thought of as a secondary address, is temporary - it changes as the computer moves, and is valid only while the computer visits a given location. 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.

Mobile Addressing A mobile device has two addresses: Home address and care of address. Applications on a mobile computer always use the home address. Care of address is never known or used by applications. Instead, only IP software on the mobile and agents on the home or foreign networks use the temporary address. There are two types of care-of addresses: 1) Co-located care-of address. 2) Foreign agent care-of address.

The following steps provide a rough outline of operation of the Mobile IP protocol: Mobility agents (i.e., foreign agents and home agents) advertise their presence via Agent Advertisement messages. A mobile node receives these Agent Advertisements and determines whether it is on its home network or a foreign network. When the mobile node detects that it is located on its home network, it operates without mobility services. Rather, If returning to its home network from being registered elsewhere, the mobile node deregisters with its home agent, through exchange of a Registration Request and Registration Reply message with it. When a mobile node detects that it has moved to a foreign network, it obtains a care-of address on the foreign network. The care-of address can either be determined from a foreign agent’s advertisements (a foreign agent care-of address), or by some external assignment mechanism such as DHCP (a co-located care-of address).

The mobile node operating away from home then registers its new care-of address with its home agent through exchange of a Registration Request and Registration Reply message with it. Datagrams sent to the mobile node’s home address are intercepted by its home agent, tunneled by the home agent to the mobile node’s care-of address, received at the tunnel endpoint (either at a foreign agent or at the mobile node itself), and finally delivered to the mobile node. In the reverse direction, datagrams sent by the mobile node are generally delivered to their destination using standard IP routing mechanisms, not necessarily passing through the home agent.

Foreign Agent Discovery The process of finding a foreign agent uses the ICMP router discovery mechanism, which requires each router to periodically send an ICMP router advertisement message. Type: Set to 16. The LENGTH field specifies the size of the extension message in octets, excluding the TYPE and LENGTH octets. The LIFETIME field specifies the maximum amount of time in seconds that the agent is willing to accept registration requests, with all 1s indicating infinity. SEQUENCE NUM specifies a sequence number for the message to allow a recipient to determine when a message is lost.

Foreign Agent Discovery CODE field defines a specific feature of the agent as listed

Registration It is the method by which mobile nodes: request forwarding services when visiting a foreign network inform their home agent of their current care-of address renew a registration which is due to expire, and/or deregister when they return home. Registration messages exchange information between a mobile node, (optionally) a foreign agent, and the home agent. All registration messages are sent via UDP. Agents listen to well-known port 434; requests may be sent from an arbitrary source port to destination port 434. An agent reverses the source and destination points, so a reply is sent from source port 434 to the port the requester used.

Registration Message Format The TYPE field specifies whether the message is a registration request (1) or a registration reply (3). The LIFETIME field specifies the number of seconds the registration is valid (a zero requests immediate deregistration, and all 1s specifies an infinite lifetime).

The HOME ADDRESS, HOME AGENT, and CARE-OF ADDRESS fields specify the two IP addresses of the mobile and the address of its home agent. IDENTIFICATION field contains a 64-bit number generated by the mobile that is used to match requests with incoming replies and to prevent the mobile from accepting old messages. Bits of the FLAGS field are used to specify forwarding details as listed:

Communication With A Foreign Agent A foreign agent can assign one of its IP addresses for use as a care-of address. Doing so causes a problem because it means a mobile will not have a unique address on the foreign network. So, for communication, it is required for a alternative scheme for address binding. In particular, when a mobile host sends to a foreign agent, the mobile is allowed to use its home address as an IP source address. Also, when a foreign agent sends a datagram to a mobile, the agent is allowed to use the mobile's home address as an IP destination address. But, an agent is not allowed to ARP for the address. So, while registration only, an agent must record the mobile's hardware address and use it for future communication.

Datagram Transmission and Reception Once it has registered, a mobile host on a foreign network can communicate with an arbitrary computer. To do so, the mobile creates a datagram that has the computer's address in the destination field and the mobile's home address in the source field. The datagram now follows the shortest path from the foreign network to the destination. However, a reply will not follow the shortest path directly to the mobile. Instead, the reply will travel to the mobile's home network. Mobile IP introduces a routing inefficiency known as the 2X problem that occurs when a mobile visits a foreign network far from its home and then communicates with a computer near the foreign site.