Mobile IPv6 Mobility feature is integrated into IPv6 Mobility is a MUST feature in IPv6 Mobile IPv6 shares many features with Mobile IPv4 Offers many other improvements Implemented by Mobility Extension Headers Efficient data transfer
Differences between Mobile IPv4 and Mobile IPv6   There is no need to deploy special routers as "foreign agents", as in Mobile IPv4.  Care-of address obtained by auto configuration Multiple Care-of Addresses Mobile IPv6 operates in any location without any special support required from the local router  ( Foreign Agent) Support for route optimization is a fundamental part of the protocol
Differences between Mobile IPv4 and Mobile IPv6 No nonstandard set of extensions In IPv4 Extensions to Router advertisement, solicitation messages Registration req and reply as UDP messages Communication modes Reverse tunneling Route optimisation Most packets sent using an IPv6 routing header rather than IP encapsulation Messages for authentication  ( Mobile Security )
 
 
Messages ICMPv6 messages  Home Agent Address Discovery Request Home Agent Address Discovery Reply Mobile Prefix Solicitation Mobile Prefix Advertisement
Messages IPv6 Mobility extension headers Binding Update ( Equivalent to IPv4 registartion req) Binding Acknowledgement ( Equivalent to IPv4 registartion reply) Binding Refresh Request   ( for Renewal ) Binding Error  Following are for authentication Home Test Init Home Test Care-of Test Init Care-of Test
Mobile IP Security A malicious device could interfere with  registration Process causing the datagrams intended for a mobile device to be diverted   A “bad guy” might also interfere with the data forwarding process by encapsulating a bogus datagram to trick a mobile node into thinking it was sent something that it never was replay attack   A third party intercepts a datagram, holds onto it and then re-sends it later on  the home agent might be fooled into thinking the node has traveled away from home when it has not
Security Measures Measures in IPv4 authentication of  Registration Request  and  Registration Reply  messages  Similar to IPSec(AH)  The  Identification  field used in  Registration Request  and  Registration Reply  messages is designed to prevent replay attacks Measures in IPv6 Home Test Init Home Test Care-of Test Init Care-of Test
 
Home Test Init A mobile node sends a Home Test Init message to the correspondent node (via the home agent) to acquire the home keygen token.  The contents of the message can be summarized as follows: *  Source Address = home address *  Destination Address = correspondent *  Parameters:  home init cookie
Care-of Test Init The mobile node sends a Care-of Test Init message to the correspondent node (directly, not via the home agent) to acquire the care-of keygen token.  The contents of this message can be summarized as follows: *  Source Address = care-of address *  Destination Address = correspondent *  Parameters: +  care-of init cookie
Home Test The Home Test message is sent in response to a Home Test Init message.  It is sent via the home agent.  The contents of the  message are: *  Source Address = correspondent *  Destination Address = home address *  Parameters: +  home init cookie +  home keygen token +  home nonce index home keygen token := First (64, HMAC_SHA1 (Kcn, (home address | nonce | 0)))
Care-of Test This message is sent in response to a Care-of Test Init message. This message is not sent via the home agent, it is sent directly to the mobile node.  The contents of the message are: Source Address = correspondent Destination Address = care-of address   Parameters: care-of init cookie care-of keygen token care-of nonce index care-of keygen token :=First (64, HMAC_SHA1 (Kcn, (care-of address | nonce | 1)))
Generation of KBM When the mobile node has received both the Home and Care of Test messages, the return routability procedure is complete.  As a result of the procedure, the mobile node has the data needs to send a Binding Update to the correspondent node.  The mobile node hashes the tokens together to form a 20 octet binding key Kbm: Kbm = SHA1 (home keygen token | care-of keygen token)
Binding Update The contents of the Binding Update include the following: *  Source Address = care-of address *  Destination Address = correspondent address *  Parameters: +  home address +  sequence number  +  home nonce index  +  care-of nonce index  First (96, HMAC_SHA1 (Kbm, (care-of address correspondent | BU)))

Mobile I Pv6

  • 1.
    Mobile IPv6 Mobilityfeature is integrated into IPv6 Mobility is a MUST feature in IPv6 Mobile IPv6 shares many features with Mobile IPv4 Offers many other improvements Implemented by Mobility Extension Headers Efficient data transfer
  • 2.
    Differences between MobileIPv4 and Mobile IPv6 There is no need to deploy special routers as "foreign agents", as in Mobile IPv4. Care-of address obtained by auto configuration Multiple Care-of Addresses Mobile IPv6 operates in any location without any special support required from the local router ( Foreign Agent) Support for route optimization is a fundamental part of the protocol
  • 3.
    Differences between MobileIPv4 and Mobile IPv6 No nonstandard set of extensions In IPv4 Extensions to Router advertisement, solicitation messages Registration req and reply as UDP messages Communication modes Reverse tunneling Route optimisation Most packets sent using an IPv6 routing header rather than IP encapsulation Messages for authentication ( Mobile Security )
  • 4.
  • 5.
  • 6.
    Messages ICMPv6 messages Home Agent Address Discovery Request Home Agent Address Discovery Reply Mobile Prefix Solicitation Mobile Prefix Advertisement
  • 7.
    Messages IPv6 Mobilityextension headers Binding Update ( Equivalent to IPv4 registartion req) Binding Acknowledgement ( Equivalent to IPv4 registartion reply) Binding Refresh Request ( for Renewal ) Binding Error Following are for authentication Home Test Init Home Test Care-of Test Init Care-of Test
  • 8.
    Mobile IP SecurityA malicious device could interfere with registration Process causing the datagrams intended for a mobile device to be diverted A “bad guy” might also interfere with the data forwarding process by encapsulating a bogus datagram to trick a mobile node into thinking it was sent something that it never was replay attack A third party intercepts a datagram, holds onto it and then re-sends it later on the home agent might be fooled into thinking the node has traveled away from home when it has not
  • 9.
    Security Measures Measuresin IPv4 authentication of Registration Request and Registration Reply messages Similar to IPSec(AH) The Identification field used in Registration Request and Registration Reply messages is designed to prevent replay attacks Measures in IPv6 Home Test Init Home Test Care-of Test Init Care-of Test
  • 10.
  • 11.
    Home Test InitA mobile node sends a Home Test Init message to the correspondent node (via the home agent) to acquire the home keygen token. The contents of the message can be summarized as follows: * Source Address = home address * Destination Address = correspondent * Parameters: home init cookie
  • 12.
    Care-of Test InitThe mobile node sends a Care-of Test Init message to the correspondent node (directly, not via the home agent) to acquire the care-of keygen token. The contents of this message can be summarized as follows: * Source Address = care-of address * Destination Address = correspondent * Parameters: + care-of init cookie
  • 13.
    Home Test TheHome Test message is sent in response to a Home Test Init message. It is sent via the home agent. The contents of the message are: * Source Address = correspondent * Destination Address = home address * Parameters: + home init cookie + home keygen token + home nonce index home keygen token := First (64, HMAC_SHA1 (Kcn, (home address | nonce | 0)))
  • 14.
    Care-of Test Thismessage is sent in response to a Care-of Test Init message. This message is not sent via the home agent, it is sent directly to the mobile node. The contents of the message are: Source Address = correspondent Destination Address = care-of address Parameters: care-of init cookie care-of keygen token care-of nonce index care-of keygen token :=First (64, HMAC_SHA1 (Kcn, (care-of address | nonce | 1)))
  • 15.
    Generation of KBMWhen the mobile node has received both the Home and Care of Test messages, the return routability procedure is complete. As a result of the procedure, the mobile node has the data needs to send a Binding Update to the correspondent node. The mobile node hashes the tokens together to form a 20 octet binding key Kbm: Kbm = SHA1 (home keygen token | care-of keygen token)
  • 16.
    Binding Update Thecontents of the Binding Update include the following: * Source Address = care-of address * Destination Address = correspondent address * Parameters: + home address + sequence number + home nonce index + care-of nonce index First (96, HMAC_SHA1 (Kbm, (care-of address correspondent | BU)))