Mobile IPv4 Courtesy of Scott Midkiff with Virginia Tech Mary Baker with Stanford (Now HP)

Slides:



Advertisements
Similar presentations
Mobile IP How Mobile IP Works? Agenda What problems does Mobile IP solve? Mobile IP: protocol overview Scope Requirements Design goals.
Advertisements

Mobile Networking through Mobile IP
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Mobility in the Internet Part I CS 444N, Spring 2002 Instructor: Mary Baker Computer Science Department Stanford University.
1 Introduction to Mobile IPv6 IIS5711: Mobile Computing Mobile Computing and Broadband Networking Laboratory CIS, NCTU.
Transitioning to IPv6 April 15,2005 Presented By: Richard Moore PBS Enterprise Technology.
Mobile IP: enable mobility for IP-based networks CS457 presentation Xiangchuan Chen Nov 6, 2001.
IP Mobility Support Basic idea of IP mobility management
1 Internet Protocol Version 6 (IPv6) What the caterpillar calls the end of the world, nature calls a butterfly. - Anonymous.
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
Univ. of TehranComputer Network1 Special Topics on Wireless Ad-hoc Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani.
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
Mobility in the Internet Part II CS 444N, Spring 2002 Instructor: Mary Baker Computer Science Department Stanford University.
CMPE Wireless and Mobile Networking 1 CMPE 257 Spring 2006 Wireless Internetworking Wireless and Mobile Networks.
A Study of Mobile IP Kunal Ganguly Wichita State University CS843 – Distributed Computing.
CMPE Wireless and Mobile Networking 1 CMPE 257 Spring 2006 Wireless Internetworking 2 Wireless and Mobile Networks.
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 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 Traversal Of NAT Devices By, Vivek Nemarugommula.
Mobile IP: Introduction Reference: “Mobile networking through Mobile IP”; Perkins, C.E.; IEEE Internet Computing, Volume: 2 Issue: 1, Jan.- Feb. 1998;
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?
2002 년 2 학기이동인터넷프로토콜 1 Mobile IP:Overview 년 2 학기이동인터넷프로토콜 2 Mobile IP overview Is Mobile IP an official standard? What problems does Mobile IP solve?
1 /160 © NOKIA 2001 MobileIPv6_Workshop2001.PPT / / Tutorial Mobile IPv6 Kan Zhigang Nokia Research Center Beijing, P.R.China
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
Univ. of TehranComputer Network1 Special Topics on Wireless Ad-hoc Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani.
UNIT IP Datagram Fragmentation Figure 20.7 IP datagram.
Mobility in the Internet Part I. 2 Motivation: the changing wireless environment Explosion in wireless services –Some connectivity everywhere –Overlapping,
Spring 2000Nitin BahadurDistributed Systems1 Internet Mobility Presented by: Nitin Bahadur.
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
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.
DMET 602: Networks and Media Lab
Introduction Wireless devices offering IP connectivity
Mobile Networking (I) CS 395T - Mobile Computing and Wireless Networks
Networking Applications
Mobile IP.
IP for Mobile hosts.
Introduction to Wireless Networking
2002 IPv6 技術巡迴研討會 IPv6 Mobility
Network Virtualization
Unit 3 Mobile IP Network Layer
DMET 602: Networks and Media Lab
Mobility in the Internet
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 Neil Tang 11/12/2008 CS440 Computer Networks.
Mobile IP Outline Intro to mobile IP Operation Problems with mobility.
Mobile IP-2 CS441 – Mobile & Wireless Computing
Presentation transcript:

Mobile IPv4 Courtesy of Scott Midkiff with Virginia Tech Mary Baker with Stanford (Now HP)

Motivation: the changing wireless environment Explosion in wireless networks/services –Some connectivity everywhere –Overlapping, heterogeneous networks Small, portable devices A choice of network connectivity on one device: wireless technologies convergence

Opportunity for connectivity New environment gives us opportunity –Continuous connectivity for a mobile host –Seamless movement between networks Examples –Move from office to elsewhere in building –Move outside building, across campus, to cafe Why maintain connectivity? –Avoid restarting applications/networks –Avoid losing “ distributed/ongoing state ”

Different approaches The traditional approach: support in the network –Intelligence (and expense) is in the network –End-points are cheap (handsets) –Allows for supporting infrastructure –Requires agreements/trust amongst multiple vendors –Examples: A link/physical level At routing level –Doesn ’ t work when switching between technologies and often not between vendors –In Internet, this approach would require modifying lots of routers

Different approaches, continued The Internet approach: end-to-end –Intelligence (and expense) is in the end-points –Network is cheap (relatively) and as fast as possible –Less work/trust required amongst multiple vendors End-to-end support at transport/naming/application levels –May be ideal in future, but requires extensive changes –Not currently backwards compatible

Different approaches, continued Use end-to-end support at routing level –Makes problem transparent at layers above and below –Current Internet standard: Mobile IPv4 (RFC 3344) application transport routing link physical Modify all applications? Modify TCP, UDP, etc.? Modify IP end-points? Modify all device drivers? How does this work across network technologies? TCP/IP network stack:

IP address problem Internet hosts/interfaces are identified by IP address –Domain name service translates host name to IP address –IP address identifies host/interface and locates its network –Mixes naming and location Moving to another network requires different network address –But this would change the host ’ s identity –How can we still reach that host?

Routing for mobile hosts CH MH Home network MH CH MH = mobile hostCH = correspondent host Home network Foreign network How to direct packets to moving hosts transparently?

?

Then, let ’ s use two kinds of addresses For both IPv4 and IPv6 mobility

LD: location directory (address: location)

Mobile IPv4

Three main functions in MIPv4

Mobile IPv4 (RFC 3344) Leaves Internet routing fabric unchanged Does not assume “ base stations ” exist everywhere Simple Correspondent hosts don ’ t need to know about mobility Works both for changing domains and network interfaces

Recap Mobile IPv4 – to mobile hosts MH = mobile host CH = correspondent host HA = home agent FA = foreign agent (We’ll see later that FA is not necessary or even undesirable) FA broadcasts “agent advertisement” message (CoA included) MH registers new “care-of address” (FA) with HA HA tunnels packets to FA FA decapsulates packets and delivers them to MH HA CH Home network Foreign network FAMH

Agent advertisement

Registration message is application layer!

Registration request

Not ARP !

datagram

Packet addressing Source address = address of CH Destination address = home IP address of MH Payload Source address = address of HA Destination address = care-of address of MH Source address = address of CH Destination address = home IP address of MH Original payload Packet from CH to MH Home agent intercepts above packet and tunnels it

Delivery issues routing

Tunnel management Tunneling cannot always guarantee delivery By maintaining “ soft state ” –MTU of the tunnel (Section 5.1) –TTL (path length) of the tunnel –Reachability of the end of the tunnel The encapsulator can return accurate ICMP messages to the original sender

If MH comes back to its home network

HA location?

Route optimization (Not in IPv4 mobility spec.) datagram

Smooth handoff (not in IPv4 mobility spec.) HA CH Home network Foreign network #1 FA #1MH Foreign network #2 FA #2MH MH registers new address (FA #2) with HA & FA #1 HA tunnels packets to FA #2, which delivers them to MH Packets in flight can be forwarded from FA #1 to FA #2

Basic Mobile IP - from mobile hosts HA CH Home network Foreign network FAMH Mobile hosts also send packets Mobile host uses its home IP address as source address -Lower latency -Still transparent to correspondent host -No obvious need to encapsulate packet to CH This is called a “triangle route”

Problems with Foreign Agents Assumption of support from foreign networks –A foreign agent exists in all networks you visit? –The foreign agent is robust and up and running? –The foreign agent is trustworthy? Correctness in security-conscious networks –We ’ ll see that “ triangle route ” has problems –MH under its own control can eliminate this problem We want end-to-end solution that allows flexibility

Solution HA CH Home network Foreign network MH Mobile host is responsible for itself -(With help from infrastructure in its home network) -Mobile host decapsulates packets -Mobile host sends its own packets -“Co-located” FA on MH  MH must acquire its own IP address in foreign network This address is its new “care-of” address Mobile IP spec allows for this option

This assumes less than getting others to run a FA

Design implications New issues: the mobile host now has two roles: –Home role –Local role -More complex mobile host -Loss of in-flight packets? (This can happen anyway.) +Can visit networks without a foreign agent +Can join local multicast groups, etc. +More control over packet routing = more flexibility

Problems with ingress filtering HA CH Home networkForeign network MH Mobile host uses its home IP address as source address Security-conscious boundary routers will drop this packet - Ingress filtering

Solution: bi-directional tunnel HA CH Home networkForeign network MH Provide choice of “safe” route through home agent both ways This is the slowest but most conservative option so-called reverse tunneling At the other extreme…

Problem: performance Example: short-lived communication –When accessing a web server, why pay for mobility? –Do without location-transparency –Unlikely to move during transfer; can reload page –Works when CH keeps no state about MH

Solution: yet more flexibility HA CH Home network Foreign network MH Use current care-of address and send packet directly -This is regular IP! More generally: -MH should have flexibility to adapt to circumstances -A range of options: from slow-but-safe to regular IP -Should be an end-to-end packet delivery decision (no FA)

Routing options Allow MH to choose from among all routing options Options: –Encapsulate packet or not? –Use home address or care-of address as source address? –Tunnel packet through home agent or send directly? Choice determined by: –Performance –Desire for transparent mobility –Mobile-awareness of correspondent host –Security concerns of networks traversed Equivalent choices for CH sending packets to MH

Mobile IP issues on local network Host visiting local network with foreign agent –No real presence on local network Host visiting local network with its own IP address –Has a role on local network –Reverse name lookups through special name? –Or do you change the DNS entry? –Its IP address / HW address gets into local hosts ’ ARP caches –Which IP address should go into cache? –How do you update caches if host moves again?

Local ARP cache problem ARP caches store (IP address, HW address) pairs MH host visits foreign network Wants to talk directly back and forth to local hosts –If it wants to maintain connectivity with them after moving Use home IP address Other hosts address MH by HW address on local link But if MH moves again, ARP cache entries are wrong –If it doesn ’ t care Use local IP address If MH moves, ARP cache is wrong, but nobody cares

Beyond IPv4 mobility Wireless technologies convergence

Multiple Network Interfaces – Why? Want to probe hosts through all active interfaces –Example: register with HA through new interface before switching to it –Helps with smooth handoff between types of networks Want transparent mobility for more than one interface Example: –One application users cheap/slow interface while another uses expensive/fast interface –Move to new network(s) or lose contact with one network –Don ’ t want to restart either application

Why is this hard? System support missing in at least two areas Need “ next hop ” info for more than one interface –Need to be able to send packets beyond local subnet for more than one interface –Current support only uses gateway info for one interface Mobile IP doesn ’ t separate traffic flows to different interfaces –(This isn ’ t the Mobile IP “ simultaneous binding ” feature) –Current HA won ’ t keep different bindings for more than one interface per host based on traffic flow

A possible Solution for next hop Backwards-compatible extension to routing table –Add “ next-hop ” info for more than one interface –Take advantage of “ metric ” field for priority of interface –This maintains backwards compatible default route DestinationGatewayNetmaskFlagsMetricIface a.b U0eth0 c.d U0st U0lo a.b UG1eth c.d UG100st0

Solution for Mobile IP Extend home agent Mobile host registers flow-to-interface bindings Home Agent Mobile Host Correspondent Host flow 1 flow 2 flow 1 + flow 2 CoA1 CoA2

Flexible connectivity management Need to manage this extra flexibility through adaptivity –Monitor availability of various interfaces –System detects & configures interfaces automatically –Applications can express interest in types of service –System (or application) can choose best interface –System feedback necessary: system notifies application of changes as conditions warrant

Connectivity management, continued Must address protocol interaction when connecting –Is DHCP available? –Is this a frequently visited network? (probe for gateways) If so, can use pre-determined address –Must the host use a foreign agent here? If it ’ s broken, how do we find what ’ s wrong & fix it? –Cable loose? –Battery in radio dead? –Home agent dead? Strong need for “ no-futz ” computing on mobile hosts