Mobile IP Most of the slides borrowed from Prof. Sridhar Iyer

Slides:



Advertisements
Similar presentations
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Advertisements

Lecture 10: Network Protocols/Mobile IP. Introduction to TCP/IP networking.
1 Wireless and Mobile Networks Part 2 November 25, 2008 Department of Electrical and Computer Engineering University of Western Ontario ECE 436a Networking:
Mobile Communications-Network Protocols/Mobile IP
1 Introduction to Mobile IPv6 IIS5711: Mobile Computing Mobile Computing and Broadband Networking Laboratory CIS, NCTU.
IP Mobility Support Basic idea of IP mobility management
MOBILE NETWORK LAYER Mobile IP.
1 Mobile IP Myungchul Kim Tel:
Wireless, Mobile Networks – Mobility. Wireless, Mobile Networks6-2 Mobility: Vocabulary home network: permanent “home” of mobile (e.g., /24)
Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on.
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.
1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may be stationary (non- mobile) or.
Network Layer4-1 Router Architecture Overview Two key router functions: r run routing algorithms/protocol (RIP, OSPF, BGP) r switching datagrams from incoming.
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.
6/2/05CS118/Spring051 Chapter 6: Wireless and Mobile Networks r Cover the following sections only:  6.3: wireless LANs  6.5: mobility management:
Mobile IP Polytechnic University Anthony Scalera Heine Nzumafo Duminda Wickramasinghe Edited by: Malathi Veeraraghavan 12/05/01.
12-1 Last time □ BGP policy □ Broadcast / multicast routing ♦ Spanning trees Source-based, group-shared, center-based ♦ Reverse path forwarding, pruning.
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.
Slide 1, Dr. Wolfgang Böhm, Mobile Internet, © Siemens AG 2001 Dr. Wolfgang Böhm Siemens AG, Mobile Internet Dr. Wolfgang.
Mobile IP Seamless connectivity for mobile computers.
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?
Dealing with Mobility -- Mobile IP. References r J. Kurose and K. Ross, Computer Networking: A Top-Down Approach Featuring the Internet, 2 nd edition.
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.
National Institute Of Science & Technology Mobile IP Jiten Mishra (EC ) [1] MOBILE IP Under the guidance of Mr. N. Srinivasu By Jiten Mishra EC
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
IT351: Mobile & Wireless Computing
Mobile IP Miae Woo. By Miae Woo2 Motivation for Mobile IP Routing  based on IP destination address, network prefix (e.g ) determines physical.
Chapter 6 Wireless and Mobile Networks Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Wireless,
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.
Introduction to Mobile IPv6
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.
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.
Accommodating mobility with direct routing
An Introduction to Mobile IPv4
Mobile IP 순천향대학교 전산학과 문종식
Mobility CPE 401/601 Computer Network Systems slides are modified from Jim Kurose & Keith Ross All material copyright J.F Kurose and K.W. Ross,
Internet Multicasting Routing: DVMRP r DVMRP: distance vector multicast routing protocol, RFC1075 r flood and prune: reverse path forwarding, source-based.
DMET 602: Networks and Media Lab Amr El Mougy Yasmeen EssamAlaa Tarek.
6: Wireless and Mobile Networks 6-1 Chapter 6 Mobile IP A note on the use of these ppt slides: We’re making these slides freely available to all (faculty,
Mobility support in IP v4. Internet Computing (CS-413) 2.
Prof. Younghee Lee 1 1 Computer Networks u Lecture 11: Mobility Prof. Younghee Lee * Some part of this teaching materials are prepared referencing the.
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 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
CPE 401/601 Computer Network Systems
Mobile Networking (I) CS 395T - Mobile Computing and Wireless Networks
Mobile IP.
Unit 3 Mobile IP Network Layer
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.
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Presentation transcript:

Mobile IP Most of the slides borrowed from Prof. Sridhar Iyer IT 601: Mobile Computing Mobile IP Most of the slides borrowed from Prof. Sridhar Iyer IT601

Effect of Mobility on Protocol Stack Application: new applications and adaptations Transport: congestion and flow control Network: addressing and routing Link: media access and handoff Physical: transmission errors and interference IT601

Routing and Mobility Finding a path from a source to a destination Issues Frequent route changes Route changes may be related to host movement Low bandwidth links IT601

Routing and Mobility (contd) Goal of routing protocols decrease routing-related overhead find short routes find “stable” routes (despite mobility) IT601

Mobile IP (RFC 3344): Motivation Traditional routing based on IP address; network prefix determines the subnet change of physical subnet implies change of IP address (conform to new subnet), or special routing table entries to forward packets to new subnet IT601

Quick Solution Changing of IP address Use DHCP to have a new IP address when mobile device moves to a new subnet but then the new address may not be known to anyone Take help of DNS to update the entry DNS updates take long time TCP connections break security problems Changing entries in routing tables change routing table entries as the MN moves from one network to another does not scale with the number of mobile hosts and frequent changes in the location IT601

Mobile IP requirements Solution requirements Compatibility The new standard cannot introduce changes to applications and network protocols in use Should be compatible with lower layers use same layer 2 protocols Transparency New protocol should be transparent to higher layer For TCP it means the MN should retain same IP address Scalability Enhancing IP for mobility should not generate too many messages Should scale when there are a large number of MNs Security Management messages should be authenticated IT601

Mobile IP: Terminology Mobile Node (MN) node that moves across networks without changing its IP address Correspondent Node (CN) host with which MN is “corresponding” (TCP) Home Agent (HA) host in the home network of the MN, typically a router registers the location of the MN, tunnels IP packets to the COA IT601

Terminology (contd.) Foreign Agent (FA) Care-of Address (COA) host in the current foreign network of the MN, typically a router forwards tunneled packets to the MN, typically the default router for MN Care-of Address (COA) address of the current tunnel end-point for the MN (at FA or MN) actual location of the MN from an IP point of view IT601

Mobility: Vocabulary home network: permanent “home” of mobile (e.g., 128.119.40/24) home agent: entity that will perform mobility functions on behalf of mobile, when mobile is remote wide area network Permanent address: address in home network, can always be used to reach mobile e.g., 128.119.40.186 Correspondent node: Source: Jim Kurose’s slides IT601 Network Layer 4-10

Mobility: more vocabulary visited network: network in which mobile currently resides (e.g., 79.129.13/24) Permanent address: remains constant (e.g., 128.119.40.186) Care-of-address: address in visited network. (e.g., 79,129.13.2) wide area network Foreign agent: entity in visited network that performs mobility functions on behalf of mobile. correspondent: wants to communicate with mobile IT601 Network Layer 4-11 Source: Jim Kurose’s slides

Mobility: approaches routing tables indicate where each mobile located Let routing handle it: routers advertise permanent address of mobile-nodes-in-residence via usual routing table exchange. routing tables indicate where each mobile located no changes to end-systems Let end-systems handle it: indirect routing: communication from correspondent to mobile goes through home agent, then forwarded to remote direct routing: correspondent gets foreign address of mobile, sends directly to mobile Source: Jim Kurose’s slides IT601 Network Layer 4-12

Mobility: registration visited network home network 1 mobile contacts foreign agent on entering visited network 2 foreign agent contacts home agent home: “this mobile is resident in my network” wide area network End result: Foreign agent knows about mobile Home agent knows location of mobile Source: Jim Kurose’s slides IT601 Network Layer 4-13

Mobility via Indirect Routing foreign agent receives packets, forwards to mobile home agent intercepts packets, forwards to foreign agent visited network home network 3 4 wide area network 1 2 correspondent addresses packets using home address of mobile mobile replies directly to correspondent Source: Jim Kurose’s slides IT601 Network Layer 4-14

Indirect Routing: comments Mobile uses two addresses: permanent address: used by correspondent (hence mobile location is transparent to correspondent) care-of-address: used by home agent to forward datagrams to mobile foreign agent functions may be done by mobile itself triangle routing: correspondent-home-network-mobile inefficient when correspondent, mobile are in same network IT601 Network Layer 4-15 Source: Jim Kurose’s slides

Forwarding datagrams to remote mobile dest: 128.119.40.186 foreign-agent-to-mobile packet dest: 79.129.13.2 dest: 128.119.40.186 packet sent by home agent to foreign agent: a packet within a packet Permanent address: 128.119.40.186 Care-of address: 79.129.13.2 dest: 128.119.40.186 packet sent by correspondent Source: Jim Kurose’s slides IT601 Network Layer 4-16

Indirect Routing: moving between networks suppose mobile user moves to another network registers with new foreign agent new foreign agent registers with home agent home agent update care-of-address for mobile packets continue to be forwarded to mobile (but with new care-of-address) Mobility, changing foreign networks transparent: on going connections can be maintained! Source: Jim Kurose’s slides IT601 Network Layer 4-17

Mobility via Direct Routing foreign agent receives packets, forwards to mobile correspondent forwards to foreign agent visited network home network 4 wide area network 2 3 1 4 correspondent requests, receives foreign address of mobile mobile replies directly to correspondent Source: Jim Kurose’s slides IT601 Network Layer 4-18

Mobility via Direct Routing: comments overcome triangle routing problem non-transparent to correspondent: correspondent must get care-of-address from home agent What happens if mobile changes networks? Source: Jim Kurose’s slides IT601 Network Layer 4-19

Mobile IP RFC 3344 has many features we’ve seen: home agents, foreign agents, foreign-agent registration, care-of-addresses, encapsulation (packet-within-a-packet) three components to standard: agent discovery registration with home agent indirect routing of datagrams Source: Jim Kurose’s slides IT601 Network Layer 4-20

Mobile IP: agent discovery agent advertisement: foreign/home agents advertise service by broadcasting ICMP messages (typefield = 9) H,F bits: home and/or foreign agent R bit: registration required IT601 Source: Jim Kurose’s slides Network Layer 4-21

Agent Advertisement HA/FA periodically send advertisement messages into their physical subnets MN listens to these messages and detects, if it is in home/foreign network MN reads a COA from the FA advertisement messages IT601

Mobile IP: registration example Source: Jim Kurose’s slides IT601 Network Layer 4-23

MN Registration MN signals COA to the HA via the FA HA acknowledges via FA to MN limited lifetime, need to be secured by authentication IT601

ICMP messages from the tunnel Encapsulator may receive ICMP messages from any intermediate router in the tunnel other than exit Network unreachable: Return dest unreachable message to org sender Host unreachable: Return host unreachable message Datagram too big: Relay ICMP datagram too big to org sender IT601

ICMP error messages (contd.) Source route failed: Handled by encapsulator itself and MUST NOT relay message to orginal sender Source quench: SHOULD NOT relay message to original sender , SHOULD activate congestion control mechanism Time exceeded: MUST be reported to original sender as host unreachable message IT601

Mobile IP: Other Issues Reverse Tunneling firewalls permit only “topological correct“ addresses Optimizations Triangular Routing: HA informs sender the current location of MN Change of FA: new FA informs old FA to avoid packet loss IT601

Reverse tunneling (RFC 3024) FA tunnels packets to HA by encapsulation MN sends packet to FA home network 1 wide area network 3 2 HA forwards the packet to the CN Adapted from Kurose’s slide IT601

Mobile IP: Reverse tunneling Router accept often only “topological correct“ addresses (firewall!) a packet from the MN encapsulated by the FA is now topologically correct IT601

Reverse tunneling Reverse tunneling does not solve problems with firewalls, the reverse tunnel can be abused to circumvent security mechanisms (tunnel hijacking) optimization of data paths, i.e. packets will be forwarded through the tunnel via the HA to a sender (double triangular routing) IT601

Optimization of forwarding Triangular Routing sender sends all packets via HA to MN higher latency and network load “Solutions” sender learns the current location of MN direct tunneling to this location HA informs a sender about the location of MN IT601

Binding Registration: When node acquires a new care-of address Intimation: Node must intimate to HA Correspondent node Binding Ack: Node may expect an Ack Life-time: Node should know its likely time of association. IT601

Mobile Node Operation IP decapsulation Send Binding updates Receive Binding Ack Keep track of Nodes (because of Life-time) Send Binding Updates using Routing Header IT601

Correspondent Node Operations Process received Binding Updates Send Binding-Ack Maintain Binding-Cache Maintain Security Association IT601

Packet Delivery at CN Entries in Binding- Cache Yes No Send to HA Using Normal Procedure Send Directly to Care-of Addr ICMP Error Message Recd Delete entry in Binding -Cache Wait for fresh Binding IT601

Home Agent Operations Send Binding-Ack to Binding Updates Encapsulate Packets for tunneling Home Agent Discovery Handle returned ICMP errors IT601

Change of FA packets on-the-fly during the change can be lost new FA informs old FA to avoid packet loss, old FA now forwards remaining packets to new FA this information also enables the old FA to release resources for the MN IT601

Change of foreign agent CN HA FAold FAnew MN request update ACK data data MN changes location registration registration update ACK data data data warning update ACK data data t IT601

Mobile IP Summary Mobile node moves to new location Agent Advertisement by foreign agent Registration of mobile node with home agent Proxying by home agent for mobile node Encapsulation of packets Tunneling by home agent to mobile node via foreign agent IT601