SlideShare a Scribd company logo
1 of 17
Mobile IP

Outline
   Intro to mobile IP
   Operation
   Problems with mobility
We’re not quite done with IP
• You’re probably sick and tired of hearing about all
  things IP
   – Forwarding, routing, multicast, etc…
• One last topic we must cover because it’s going to
  be important in the future – mobile networking
   – Examples of mobile networking today?
   – Examples of mobile networking tomorrow?
• Mobile networking should not be confused with
  portable networking
   – Portable networking requires connection to same ISP

                  CS 640                     2
Portable Networking Technology
• Cellular systems
   – Cellular Digital Packet Data (CDPD)
   – 3G
• Bluetooth
   – Low cost, short range radio links between mobile devices
• Wireless Ethernet (802.11)
   – Widely used wireless MAC layer technology



                   CS 640                      3
Mobility and Standard IP Routing
• 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
   – Each IP address has network part and host part
      • This keeps host specific information out of routers
   – DHCP is used to get packets to end hosts in networks
      • This still assumes a fixed end host
• 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?

                         CS 640                               4
Mobile 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
• IETF standardization process is still underway

                           CS 640                             5
Mobile IP Entities
• Mobile Node (MN)
   – 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


                              CS 640                               6
Mobile IP Entities contd.
• Foreign Agent (FA)
   –   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)

                           CS 640                           7
Mobile IP Support Services
• Agent Discovery
   – HA’s and FA’s broadcast their presence on each network to which they are
     attached
       • Beacon messages via ICMP Router Discovery Protocol (IRDP)
   – MN’s listen for advertisement and then initiate registration
• Registration
   – When MN is away, it registers its COA with its HA
       • Typically through the FA with strongest signal
   – Registration control messages are sent via UDP to well known port
• Encapsulation – just like standard IP only with COA
• Decapsulation – again, just like standard IP

                            CS 640                           8
Mobile IP Operation
• A MN listens for agent advertisement and then initiates registration
   – If responding agent is the HA, then mobile IP is not necessary
• After receiving the registration request from a MN, the HA
  acknowledges and registration is complete
   – Registration happens as often as MN changes networks
• HA intercepts all packets destined for MN
   – This is simple unless sending application is on or near the same network as
     the MN
   – HA masquerades as MN
   – There is a specific lifetime for service before a MN must re-register
   – There is also a de-registration process with HA if an MN returns home

                           CS 640                           9
Registration Process




   CS 640          10
Tables maintained on routers
• Mobility Binding Table
   – Maintained on HA of MN
   – Maps MN’s home address with
     its current COA


• Visitor List
   – Maintained on FA serving an
     MN
   – Maps MN’s home address to its
     MAC address and HA address



                       CS 640        11
Mobile IP Operation contd.
• HA then encapsulates all packets addressed to MN and
  forwards them to FA
   – IP tunneling
• FA decapsulates all packets addressed to MN and
  forwards them via hardware address (learned as part of
  registration process)
• NOTE that the MN can perform FA functions if it
  acquires an IP address eg. via DHCP
• Bidirectional communications require tunneling in each
  direction

                    CS 640                 12
Mobile IP Tunneling




Across Internet




                  CS 640    13
Security in Mobile IP
• Authentication can be performed by all parties
   – Only authentication between MN and HA is required
   – Keyed MD5 is the default
• Replay protection
   – Timestamps are mandatory
   – Random numbers on request reply packets are optional
• HA and FA do not have to share any security
  information.

                  CS 640                    14
Problems with Mobile IP
• Suboptimal “triangle” routing
   – What if MN is in same subnetwork as the node to which it is
     communicating and HA is on the other side of the world?
      • It would be nice if we could directly route packets
   – Solution: Let the CN know the COA of MN
      •   Then the CN can create its own tunnel to MN
      •   CN must be equipped with software to enable it to learn the COA
      •   Initiated by HA who notifies CN via “binding update”
      •   Binding table can become stale



                          CS 640                              15
Other Mobile IP Problems
• Single HA model is fragile
   – Possible solution – have multiple HA
• Frequent reports to HA if MN is moving
   – Possible solution – support of FA clustering
• Security
   – Connection hijacking, snooping…
• Many open research questions


                       CS 640                       16
Mobility in IPv6
• Route Optimization is a fundamental part of Mobile
  IPv6
   – Mobile IPv4 it is an optional set of extensions that may not be
     supported by all nodes
• Foreign Agents are not needed in Mobile IPv6
   – MNs can function in any location without the services of any
     special router in that location
• Security
   – Nodes are expected to employ strong authentication and
     encryption
• Other details…

                      CS 640                      17

More Related Content

What's hot

What's hot (19)

Mobile ip group_3
Mobile ip group_3Mobile ip group_3
Mobile ip group_3
 
Mobile
MobileMobile
Mobile
 
Tushar mobile i-pv6
Tushar mobile i-pv6Tushar mobile i-pv6
Tushar mobile i-pv6
 
Mobile ip
Mobile ipMobile ip
Mobile ip
 
Key mechanism of mobile ip
Key mechanism of mobile ip Key mechanism of mobile ip
Key mechanism of mobile ip
 
Mobile IP
Mobile IPMobile IP
Mobile IP
 
Cours mobilitep
Cours mobilitepCours mobilitep
Cours mobilitep
 
Introduction to Mobile IPv6
Introduction to Mobile IPv6Introduction to Mobile IPv6
Introduction to Mobile IPv6
 
Mobile I Pv6
Mobile I Pv6Mobile I Pv6
Mobile I Pv6
 
Unit iii - mobile ip and wireless access protocol
Unit iii - mobile ip and wireless access protocolUnit iii - mobile ip and wireless access protocol
Unit iii - mobile ip and wireless access protocol
 
Mobile ip
Mobile ipMobile ip
Mobile ip
 
Mobile ip np
Mobile ip npMobile ip np
Mobile ip np
 
Wireless application protocol ppt
Wireless application protocol  pptWireless application protocol  ppt
Wireless application protocol ppt
 
Mobile computing - SARASWATHI RAMALINGAM
Mobile computing - SARASWATHI RAMALINGAMMobile computing - SARASWATHI RAMALINGAM
Mobile computing - SARASWATHI RAMALINGAM
 
12. mobile ip
12. mobile ip12. mobile ip
12. mobile ip
 
Brokerage 2007 presentation wireless
Brokerage 2007 presentation wirelessBrokerage 2007 presentation wireless
Brokerage 2007 presentation wireless
 
evolution towards NGN
evolution towards NGNevolution towards NGN
evolution towards NGN
 
IOE MODULE 5.pptx
IOE MODULE 5.pptxIOE MODULE 5.pptx
IOE MODULE 5.pptx
 
Rumana Akther Id#072842056
Rumana Akther Id#072842056Rumana Akther Id#072842056
Rumana Akther Id#072842056
 

Viewers also liked

Nahq hub presentation jd deegan
Nahq hub presentation jd   deegan Nahq hub presentation jd   deegan
Nahq hub presentation jd deegan mattdeegan
 
Evaluarea performantei
Evaluarea performanteiEvaluarea performantei
Evaluarea performanteiAdina Stanga
 
This is Training - Introduction made by the IAAS Trainers
This is Training - Introduction made by the IAAS TrainersThis is Training - Introduction made by the IAAS Trainers
This is Training - Introduction made by the IAAS Trainersiaasitc
 
Semana santa de belalcázar
Semana santa de belalcázarSemana santa de belalcázar
Semana santa de belalcázarbelalcazarafondo
 
Scoala pe-bune-schimbarea-adaptiva-a-educatiei
Scoala pe-bune-schimbarea-adaptiva-a-educatieiScoala pe-bune-schimbarea-adaptiva-a-educatiei
Scoala pe-bune-schimbarea-adaptiva-a-educatieiAdina Stanga
 
Closure example
Closure exampleClosure example
Closure exampleazi chen
 
Yeniyetme ve Genclerin sosial psixoloji problemleri - Zahid Tagiyev & Aysel Q...
Yeniyetme ve Genclerin sosial psixoloji problemleri - Zahid Tagiyev & Aysel Q...Yeniyetme ve Genclerin sosial psixoloji problemleri - Zahid Tagiyev & Aysel Q...
Yeniyetme ve Genclerin sosial psixoloji problemleri - Zahid Tagiyev & Aysel Q...Zahid Tagiyev Xocalı
 
Commercialising Grid-Scale Energy Storage Congress 2015 - Programme Brochure
Commercialising Grid-Scale Energy Storage Congress 2015 - Programme BrochureCommercialising Grid-Scale Energy Storage Congress 2015 - Programme Brochure
Commercialising Grid-Scale Energy Storage Congress 2015 - Programme BrochureAurore Colella
 
Ch06 inheritance
Ch06 inheritanceCh06 inheritance
Ch06 inheritanceazi chen
 
Summarising text
Summarising textSummarising text
Summarising textjamesburkes
 

Viewers also liked (15)

Industria
IndustriaIndustria
Industria
 
Nahq hub presentation jd deegan
Nahq hub presentation jd   deegan Nahq hub presentation jd   deegan
Nahq hub presentation jd deegan
 
Hi dsl
Hi dslHi dsl
Hi dsl
 
Evaluarea performantei
Evaluarea performanteiEvaluarea performantei
Evaluarea performantei
 
This is Training - Introduction made by the IAAS Trainers
This is Training - Introduction made by the IAAS TrainersThis is Training - Introduction made by the IAAS Trainers
This is Training - Introduction made by the IAAS Trainers
 
Semana santa de belalcázar
Semana santa de belalcázarSemana santa de belalcázar
Semana santa de belalcázar
 
Scoala pe-bune-schimbarea-adaptiva-a-educatiei
Scoala pe-bune-schimbarea-adaptiva-a-educatieiScoala pe-bune-schimbarea-adaptiva-a-educatiei
Scoala pe-bune-schimbarea-adaptiva-a-educatiei
 
Belalcázar
BelalcázarBelalcázar
Belalcázar
 
Closure example
Closure exampleClosure example
Closure example
 
未命名
未命名未命名
未命名
 
Yeniyetme ve Genclerin sosial psixoloji problemleri - Zahid Tagiyev & Aysel Q...
Yeniyetme ve Genclerin sosial psixoloji problemleri - Zahid Tagiyev & Aysel Q...Yeniyetme ve Genclerin sosial psixoloji problemleri - Zahid Tagiyev & Aysel Q...
Yeniyetme ve Genclerin sosial psixoloji problemleri - Zahid Tagiyev & Aysel Q...
 
Commercialising Grid-Scale Energy Storage Congress 2015 - Programme Brochure
Commercialising Grid-Scale Energy Storage Congress 2015 - Programme BrochureCommercialising Grid-Scale Energy Storage Congress 2015 - Programme Brochure
Commercialising Grid-Scale Energy Storage Congress 2015 - Programme Brochure
 
Industria
IndustriaIndustria
Industria
 
Ch06 inheritance
Ch06 inheritanceCh06 inheritance
Ch06 inheritance
 
Summarising text
Summarising textSummarising text
Summarising text
 

Similar to Mobile (20)

Pertemuan 13. Mobile Ip.pdf
Pertemuan 13. Mobile Ip.pdfPertemuan 13. Mobile Ip.pdf
Pertemuan 13. Mobile Ip.pdf
 
Mobile IP.pdf
Mobile IP.pdfMobile IP.pdf
Mobile IP.pdf
 
Mobile
MobileMobile
Mobile
 
Mobile computing Mobile Transport Layer
Mobile computing Mobile Transport LayerMobile computing Mobile Transport Layer
Mobile computing Mobile Transport Layer
 
Mobile IP
Mobile IPMobile IP
Mobile IP
 
Mobileip 161105154557
Mobileip 161105154557Mobileip 161105154557
Mobileip 161105154557
 
Module 05 mobility management (1)
Module 05   mobility management (1)Module 05   mobility management (1)
Module 05 mobility management (1)
 
Mobile computing Unit III MANET Notes
Mobile computing Unit III MANET NotesMobile computing Unit III MANET Notes
Mobile computing Unit III MANET Notes
 
Unit 3
Unit 3Unit 3
Unit 3
 
IT8602 - Mobile Communication Unit IV
IT8602 - Mobile Communication   Unit IV IT8602 - Mobile Communication   Unit IV
IT8602 - Mobile Communication Unit IV
 
mobile ip, Mobile COmmunication Internet Protocol
mobile ip, Mobile COmmunication Internet Protocolmobile ip, Mobile COmmunication Internet Protocol
mobile ip, Mobile COmmunication Internet Protocol
 
Unit 3
Unit 3Unit 3
Unit 3
 
Unit 3
Unit 3Unit 3
Unit 3
 
Mobile IP
Mobile IPMobile IP
Mobile IP
 
Mobile ip
Mobile ipMobile ip
Mobile ip
 
Chapter 6 - Mobile Network Layer.ppt111111
Chapter 6 - Mobile Network Layer.ppt111111Chapter 6 - Mobile Network Layer.ppt111111
Chapter 6 - Mobile Network Layer.ppt111111
 
Chapter 6 - Mobile Network Layer.ppt11111
Chapter 6 - Mobile Network Layer.ppt11111Chapter 6 - Mobile Network Layer.ppt11111
Chapter 6 - Mobile Network Layer.ppt11111
 
A review study of handover performance in mobile ip
A review study of handover performance in mobile ipA review study of handover performance in mobile ip
A review study of handover performance in mobile ip
 
Mobile IP
Mobile IPMobile IP
Mobile IP
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network Layer
 

Mobile

  • 1. Mobile IP Outline Intro to mobile IP Operation Problems with mobility
  • 2. We’re not quite done with IP • You’re probably sick and tired of hearing about all things IP – Forwarding, routing, multicast, etc… • One last topic we must cover because it’s going to be important in the future – mobile networking – Examples of mobile networking today? – Examples of mobile networking tomorrow? • Mobile networking should not be confused with portable networking – Portable networking requires connection to same ISP CS 640 2
  • 3. Portable Networking Technology • Cellular systems – Cellular Digital Packet Data (CDPD) – 3G • Bluetooth – Low cost, short range radio links between mobile devices • Wireless Ethernet (802.11) – Widely used wireless MAC layer technology CS 640 3
  • 4. Mobility and Standard IP Routing • 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 – Each IP address has network part and host part • This keeps host specific information out of routers – DHCP is used to get packets to end hosts in networks • This still assumes a fixed end host • 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? CS 640 4
  • 5. Mobile 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 • IETF standardization process is still underway CS 640 5
  • 6. Mobile IP Entities • Mobile Node (MN) – 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 CS 640 6
  • 7. Mobile IP Entities contd. • Foreign Agent (FA) – 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) CS 640 7
  • 8. Mobile IP Support Services • Agent Discovery – HA’s and FA’s broadcast their presence on each network to which they are attached • Beacon messages via ICMP Router Discovery Protocol (IRDP) – MN’s listen for advertisement and then initiate registration • Registration – When MN is away, it registers its COA with its HA • Typically through the FA with strongest signal – Registration control messages are sent via UDP to well known port • Encapsulation – just like standard IP only with COA • Decapsulation – again, just like standard IP CS 640 8
  • 9. Mobile IP Operation • A MN listens for agent advertisement and then initiates registration – If responding agent is the HA, then mobile IP is not necessary • After receiving the registration request from a MN, the HA acknowledges and registration is complete – Registration happens as often as MN changes networks • HA intercepts all packets destined for MN – This is simple unless sending application is on or near the same network as the MN – HA masquerades as MN – There is a specific lifetime for service before a MN must re-register – There is also a de-registration process with HA if an MN returns home CS 640 9
  • 10. Registration Process CS 640 10
  • 11. Tables maintained on routers • Mobility Binding Table – Maintained on HA of MN – Maps MN’s home address with its current COA • Visitor List – Maintained on FA serving an MN – Maps MN’s home address to its MAC address and HA address CS 640 11
  • 12. Mobile IP Operation contd. • HA then encapsulates all packets addressed to MN and forwards them to FA – IP tunneling • FA decapsulates all packets addressed to MN and forwards them via hardware address (learned as part of registration process) • NOTE that the MN can perform FA functions if it acquires an IP address eg. via DHCP • Bidirectional communications require tunneling in each direction CS 640 12
  • 13. Mobile IP Tunneling Across Internet CS 640 13
  • 14. Security in Mobile IP • Authentication can be performed by all parties – Only authentication between MN and HA is required – Keyed MD5 is the default • Replay protection – Timestamps are mandatory – Random numbers on request reply packets are optional • HA and FA do not have to share any security information. CS 640 14
  • 15. Problems with Mobile IP • Suboptimal “triangle” routing – What if MN is in same subnetwork as the node to which it is communicating and HA is on the other side of the world? • It would be nice if we could directly route packets – Solution: Let the CN know the COA of MN • Then the CN can create its own tunnel to MN • CN must be equipped with software to enable it to learn the COA • Initiated by HA who notifies CN via “binding update” • Binding table can become stale CS 640 15
  • 16. Other Mobile IP Problems • Single HA model is fragile – Possible solution – have multiple HA • Frequent reports to HA if MN is moving – Possible solution – support of FA clustering • Security – Connection hijacking, snooping… • Many open research questions CS 640 16
  • 17. Mobility in IPv6 • Route Optimization is a fundamental part of Mobile IPv6 – Mobile IPv4 it is an optional set of extensions that may not be supported by all nodes • Foreign Agents are not needed in Mobile IPv6 – MNs can function in any location without the services of any special router in that location • Security – Nodes are expected to employ strong authentication and encryption • Other details… CS 640 17