Lecture 7: Mobile IP (Part 1) Dr. Reynold Cheng

Similar documents
MOBILE IP AND WIRELESS APPLICATION PROTOCOL

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

How Mobile IP Works? Presenter: Ajoy Singh

ECS-087: Mobile Computing

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

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

CSE 4215/5431: Mobile Communications Winter Suprakash Datta

Mohammad Hossein Manshaei 1393

Binding information contains the entries in the mobility binding table.

Module 28 Mobile IP: Discovery, Registration and Tunneling

Mobile Communications Mobility Support in Network Layer

SJTU 2018 Fall Computer Networking. Wireless Communication

Mobile Communications Chapter 8: Network Protocols/Mobile IP

LECTURE 8. Mobile IP

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

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

Obsoletes: 2002 January 2002 Category: Standards Track

Outline. CS5984 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Host Mobility Problem Solutions. Network Layer Solutions Model

Introduction to IPv6. IPv6 addresses

Outline. CS6504 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Dr. Ayman Abdel-Hamid. Mobile IPv4.

Mobile IP. Mobile IP 1

CMPE 257: Wireless and Mobile Networking

Mobile IP. Mobile Computing. Mobility versus Portability

CMPE 257: Wireless and Mobile Networking

Introduction to IPv6. IPv6 addresses

CMPE 257: Wireless and Mobile Networking

Mobile Communications Chapter 9: Network Protocols/Mobile IP

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

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

Introduction to IPv6. IPv6 addresses

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

Mobile IP Support for RFC 3519 NAT Traversal

Mobile IP and Mobile Transport Protocols

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

Foreword xxiii Preface xxvii IPv6 Rationale and Features

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

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Mobile IPv6 Overview

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

Mobility Management - Basics

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

King Fahd University of Petroleum & Minerals Computer Engineering g Dept

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

A Study on Mobile Internet Protocol and Mobile Adhoc Network Routing Protocols

Internet. 1) Internet basic technology (overview) 3) Quality of Service (QoS) aspects

Da t e: August 2 0 th a t 9: :00 SOLUTIONS

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

Mobility Management Basics

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane

Network Working Group. Category: Informational February 1997

CS 356: Computer Network Architectures. Lecture 15: DHCP, NAT, and IPv6. [PD] chapter 3.2.7, 3.2.9, 4.1.3, 4.3.3

ITTC Mobile Wireless Networking The University of Kansas EECS 882 Wireless and Mobile Internet

Internetworking Part 2

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

CSE 123A Computer Netwrking

Internetwork Protocols

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

CSC 4900 Computer Networks: Mobility

Chapter 09 Network Protocols

TODAY AGENDA. VOIP Mobile IP

The Netwok Layer IPv4 and IPv6 Part 2

IPv6 Neighbor Discovery

Internet Control Message Protocol

Lecture 8 Network Layer: Logical addressing

IP - The Internet Protocol

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

On using Mobile IP Protocols

Objectives. Chapter 10. Upon completion you will be able to:

This chapter introduces protocols and mechanisms developed for the network

Network Layer: Internet Protocol

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

Lecture 8. Network Layer (cont d) Network Layer 1-1

EEC-684/584 Computer Networks

IPv6. Internet Technologies and Applications

CSC 4900 Computer Networks: Network Layer

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

Mobile IP and its trends for changing from IPv4 to IPv6

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

Introduction to Internet. Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis

Internet Protocol, Version 6

What is mobility? Mobile IP. Mobility Impact on Protocol Stack (cont.) Advanced Topics in Computer Networks

Chapter 12 Network Protocols

2013 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media,

CSE 123b Communications Software

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

Mobile IP. Page 1. 10/5/98 Mohamed Khalil IP10 MKIPM001

Chapter 8 LOCATION SERVICES

IPv6 Stateless Autoconfiguration

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

Mobility Support in Internet and Mobile IP. Gianluca Reali

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

ROUTE OPTIMIZATION EXTENSITON FOR THE MOBILE INTERNET PROTOCOL IN LINUX

FA Service Configuration Mode Commands

TSIN02 - Internetworking

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

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

MOBILE IP. Under the guidance of Mr. N. Srinivasu

Overview of the MIPv6 Implementation

HY 335 Φροντιστήριο 8 ο

Network Layer (4): ICMP

Transcription:

Lecture 7: Mobile IP (Part 1) Dr. Reynold Cheng This lecture is based on the textbook W. Stallings, Wireless Communications and Networks, Prentice Hall, 2005, the slides (prepared by Tom Fronckowiak) and figures provided at the Web site of the textbook and the lecture notes of Prof. Henry Chan and Prof. Victor Leung (with his permission). 1

Class Objectives Overview of Mobile IP Discovery Registration Tunneling 2

Mobile IP Uses Enable computers to maintain Internet connectivity while moving from one Internet attachment point to another. Mobile/Nomadic user's point of attachment changes dynamically and all connections are automatically maintained despite the change. Each time an Internet connection is established/changed, software in the point of attachment (ISP) grants a new, temporarily assigned IP This address is used for FTP, Web connection, etc. The user or the application should be hidden from this change. 3

IP Address Format 4

Delivery of an IP Datagram In an IP address, The network portion is used by routers to move a datagram from the source computer to the network to which the target computer is attached The host portion is used to deliver the IP datgram to destination The IP address is known to higher layers (e.g.,tcp) What if the IP address changes but TCP connections remain active? Mobile IP for address forwarding 5

Terminology of Mobile IP A mobile node is assigned to a particular network home network. The IP address on the home network is static home address. The mobile node can move to another network foreign network. The mobile node registers with a network node on the foreign network foreign agent. The mobile node gives a care-of address to its home agent agent on the home network A care-off address identifies the foreign agent s location 6

Mobile IP Scenario 1. Server X transmits a datagram to mobile node A, the datagram (with A s home address) is routed to A s home network. 2. Tunneling - A s home agent encapsulates the incoming datagram with A s care-of address and retransmits the datagram. This IP datagram is routed to the foreign agent. 3. The foreign agent strips off the outer IP header and delivers the original datagram to A. 4. When A sends IP traffic to X, it uses X s IP address. 5. The datagram from A to X travels directly across the Internet to X. 7

Capabilities of Mobile IP Discovery a mobile node uses a discovery procedure to identify prospective home and foreign agents. Registration a mobile node uses an authenticated registration procedure to inform the home agent of its care-of address. Tunneling this mechanism is used to forward IP datagrams from a home address to a care-of address. 8

Protocol Support for Mobile IP 9

Mobile IP Terminology (RFC 2002) 10

Mobile IP Terminology (RFC 2002) 11

Class Objectives Overview of Mobile IP Discovery Registration Tunneling 12

Discovery Each mobile node determines if it is attached to its home network or a foreign network. Transition from the home network to a foreign network (e.g., handoff) can occur at any time without notification to the network layer. For a mobile node, discovery is a continuous process. 13

Process of Discovery An agent issues a router advertisement ICMP message periodically (once every 7-10 minutes). ICMP provides feedback messages about problems during communication. e.g., the datagram cannot reach its destination Each mobile node listens for agent advertisement messages. Compares the network portion of the router's IP address with the network portion of the home address. If these network portions do not match, then the mobile node knows it is on a foreign network. 14

Mobile IP Agent Advertisement Message 15

Fields for ICMP Router Advertisement Type: type of ICMP message Code: parameters for the message Checksum: for error checking purposes Num addrs: number of addresses Entry size: Two 32-bit words, for each router (i.e., router address + preference level) Time to live: how long the message will remain valid Router address: IP address Preference level: preference level for the IP address 16

Fields for ICMP Router Advertisement A router typically has 1 single IP address Multiple IP addresses needed if the router has multiple physical connections (interfaces) to the network The preference level is used by a host to decide which router is the best to use The preference level is set by the network administrator 17

Preference of Routers: Example D wants to send data but doesn t know which router is the best to use If most traffic from LAN Z is local, R2 is assigned a higher preference level If most traffic is remote, R3 is set a higher preference level 18

Fields for Agent Advertisement Type = 16: agent advertisement Length = 6+4C bytes (C: number of care-of addresses) Sequence number: no. of agent advertisement messages counted from initialization Lifetime (seconds): how long a registration will remain valid R: Registration with this foreign agent is necessary B: Busy (i.e., cannot handle new mobile nodes) H: Can serve as an Home agent F: Can serve as a Foreign agent M: Can support minimal encapsulation G: Can support GRE encapsulation V: Can support Van Jacobson header compression (RFC 1144) http://www.javvin.com/protocol/rfc1144.pdf Care-of addresses: care-of addresses provided by the agent 19

Fields for Prefix-length Extension Type = 19 Length = C (C: number of care-of addresses) Prefix-length: number of bits that specifies the network number 20

Agent Solicitation Foreign agents are expected to issue agent advertisement messages periodically. If a mobile node needs the agent information immediately, it can issue an ICMP router solicitation message. Any agent receiving this message will then issue an agent advertisement. 21

ICMP router solicitation message 22

Move Detection A mobile node may move from one network to another network due to some handoff mechanisms without IP level being aware. Agent discovery process is intended to detect such a move. Algorithms to detect move: Lifetime field Network Prefix 23

Move Detection Using Lifetime Field A mobile node uses the lifetime field as a timer for agent advertisements. If the timer expires before the mobile node receives another advertisement, then the node assumes it has lost contact with the agent. Meantime, if another advertisement from another agent is received, the mobile node registers with this new agent. Otherwise, agent solicitation is used to find an agent. 24

Move Detection Using Network prefix A mobile node checks if any newly received agent advertisement messages are on the same network as the node's current care-of address. If it is not, the mobile node assumes it has moved and registers with this agent 25

Co-Located Addresses If a mobile node moves to a network that has no foreign agents, or all foreign agents are busy, it can act as its own foreign agent. The mobile node uses a co-located care-of address. IP address is obtained by the mobile node associated with the mobile node's current network interface. Means to acquire co-located address: Temporary IP address obtained through an Internet service, such as DHCP. May be owned by the mobile node as a long-term address for use while visiting a given foreign network. 26