56
Mobile IPv6

Mobile IPv6

  • Upload
    isanne

  • View
    130

  • Download
    0

Embed Size (px)

DESCRIPTION

Mobile IPv6. Outline. Introduction to MIPv6 Overview of Mobile IPv6 IPv6 Host Address Auto-Configuration DAD (Duplicate Address Detection) MIPv6 Operation –Handover Return Routability Conclusions References. Outline. Introduction to MIPv6 Overview of Mobile IPv6 - PowerPoint PPT Presentation

Citation preview

  • Mobile IPv6

  • OutlineIntroduction to MIPv6Overview of Mobile IPv6IPv6 Host Address Auto-ConfigurationDAD (Duplicate Address Detection)MIPv6 Operation HandoverReturn RoutabilityConclusionsReferences

  • OutlineIntroduction to MIPv6Overview of Mobile IPv6IPv6 Host Address Auto-ConfigurationDAD (Duplicate Address Detection)MIPv6 Operation HandoverReturn RoutabilityConclusionsReferences

  • MIPv6 Vs MIPv4IPv4Foreign Agent.IPv6IPv4 (Auto-configure)IP . IPv6 Destination Option Mobile IPv6 Mobile IPv6(Route Optimization) Anycast AddressHome Agent

  • Introduction to MIPv6

    Mobile IPv6Mobile IPv4Foreign AgentNoYESCare-of AddressCCoA onlyForeign Agent or CCoAObtaining Care-of AddressIPv6 stateless and stateful mechanismBy Foreign Agent or DHCPv4Route OptimizationMandatoryOptionPacket tunnel during route optimizationForward packets with no tunnelingRequire packet tunneling between Mobile Node and Correspondent NodeHome Agent involves route optimizationNoYESMobile IP message formatIP Headers and ICMP PacketsICMP and UDP packetsMobile IP messageReduced and allow piggybacked in headerReg. Req, Bing Update, Smooth HandoverMandatoryOptionReverse tunnelingNo ingress filtering problemSolve ingress filtering

  • Mobile IPv6FAMIPv6FAIPv6Foreign Agent CoAMIPv6Foreign Agent CoAIPv6DHCPstateful Auto-configurationNeighbor DiscoveryIP (Duplicate Address Detection, DAD)stateless Auto-configurationCoA

  • Mobile IPv6MIPv6MNForeign Network(BU)HACNHA

  • Mobile IPv6 BenefitsNo Foreign Agent needed in MIPv6 Infrastructures do not need an upgrade to accept Mobile IPv6 nodesauto-configuration simplifies mobile node Care of Address (CoA) assignmentoption headers, neighbor discoveryOptimized routing avoids triangular routingScales easier, but creates network management challengesMobile nodes work transparently even with other nodes that do not support mobilityAlbeit without route optimisation

  • Mobile IPv6 Termshome addresshome subnet prefixhome linkmobile nodeMovementL2 handoverL3 handovercorrespondent nodeforeign subnet prefixforeign linkcare-of addresshome agentbinding

  • OutlineIntroduction to ipv6Overview of Mobile IPv6IPv6 Host Address Auto-ConfigurationDAD (Duplicate Address Detection)MIPv6 Operation HandoverReturn RoutabilityConclusionsReferences

  • Basic Operation A mobile node is always expected to be addressable at its home address, whether it is currently attached to its home link or is away from home.

  • Mobility HeaderMobility Header(Draft15)Destination OptionsOptions15Binding Update OptionOption type=128Binding Acknowledgment OptionOption type=7

  • Mobility Header IPv6Mobility Header

  • Mobility HeaderPayload Proto:8-bit selector,Next HeaerHeaderHeader Len:8-bit unsigned integer,8byteMobility HeaderMH Type:8-bit selector,MobilityMessage DataReserved:8bit,Checksum:16bit unsigned integer,pseudo-headerMessage Data:M Type

  • Binding Update MessageMH Type=5 Message Data: A:Acknowledge H:Home Registration L:Link-Local Address Compatibility K:Key Management Mobility Capability

  • Binding Acknowledgement MessageMH Type=6Message Data: K:Key Management Mobility Capability

  • Mobility OptionsOption Type:8bit,Option,Option DataOption Length:8-bit unsigned integer,Option TypeOption LengthMobility OptionsOption Data:Option Type

  • Binding Updates to Correspondent NodesRegistration

  • Authorizing Binding Management Messages

  • OutlineIntroduction to ipv6Overview of Mobile IPv6IPv6 Host Address Auto-ConfigurationDAD (Duplicate Address Detection)MIPv6 Operation HandoverReturn RoutabilityConclusionsReferences

  • IPv6 Host Address Auto-ConfigurationAuto-configuration IPRouterRouterRouter

  • IPv6 Host Address Auto-ConfigurationAuto-configuration IPv6stateless auto-configuration(RFC-2461)Neighbor DiscoveryNDNDlinklink-layerlinkrouterlinkauto-configuration

  • OutlineIntroduction to ipv6Overview of Mobile IPv6IPv6 Host Address Auto-ConfigurationDAD (Duplicate Address Detection)MIPv6 Operation HandoverReturn RoutabilityConclusionsReferences

  • DAD (Duplicate Address Detection)DADIPv4ARPIPDADNeighbor solicitationARP request

  • DAD (Duplicate Address Detection)DADMNIPv6.Pre-fixMACGlobal Address. DADDAD,(0~1000ms)[2]1000ms.DAD.

  • OutlineIntroduction to ipv6Overview of Mobile IPv6IPv6 Host Address Auto-ConfigurationDAD (Duplicate Address Detection)MIPv6 Operation HandoverReturn RoutabilityConclusionsReferences

  • MIPv6 Operation -HandoverNetwork initiated HandoverThe network determines the HandoverMobile initiated Handover The MN determines the Handover

  • Mobile IPv6MNRouter ARouter BRouter BRARANetwork PrefixMNCOACOAMNCOAMNBinding UpdateHABinding UpdateCoA OptionHABUBinding Cache EntryMNBinding Ack CNMNHATunnelMN MNHAMNCNBinding Cache EntryMNCNBinding Update CNBinding Cache EntryBinding ACKMNCNMNHA

  • Mobile IPv6 : Concepts [3]HAHome NetworkForeign NetworkInternetCNMobile NodeSCNs IPDMNs Home AddressSMNs Home AddressDCNs IP

  • Mobile IPv6 : ConceptsHAForeign NetworkInternetCNHome NetworkBinding UpdateBinding AckMobile NodeMH=5MH=6S Home Agents addressDMNs CoAS MNs CoAD Home Agents address

  • Mobile IPv6 : Concepts HAForeign NetworkInternetCNHome NetworkMobile NodeSCNs IPDMNs Home Address:Home Agents addressDMNs COA:CNs IPDMNs Home Address

  • Mobile IPv6 : ConceptsHAInternetCNHome NetworkMobile NodeBinding UpdateBinding AckMH=5MH=6S CNs IPD MNs CoAS MNs CoAD CNs IP

  • Mobile IPv6 : ConceptsHAInternetCNHome NetworkMobile NodeSMNs COADCNs IPSCNs IPDMNs COA

  • Mobile IPv6 Latency MIPv6 Layer 2 MH802.11AP,.D-Link50~70ms. MHOverlay Area.,MH.RFC 3s,Mobile IP300ms

  • Mobile IPv6 LatencyDADIPV6DAD(Duplicate Address Detection).MNNeighbor Discovery IP1000msIP,MNIP.DAD1787ms[1].MNHome AgentCH.MHBinding UpdateHome agentCH Binding cache.MNCN

  • Mobile IPv6 Latency MIPv6 Handoff Time D= Dl2 + D movement detection + Ddad +Dreg

  • OutlineIntroduction to ipv6Overview of Mobile IPv6IPv6 Host Address Auto-ConfigurationDAD (Duplicate Address Detection)MIPv6 Operation HandoverReturn RoutabilityConclusionsReferences

  • (Return Routability)RRMNBU

  • HAInternetCNHome NetworkMobile NodeReturn Routability:Step1 [3]MH=1 Parameters:+home init cookieMH=2Parameters:+Care-of Init Cookie MN requests tokens by sending:Home Test Init(HoTI) MessageCare-of Test Init(CoTI) Message

  • Return Routability:Step1MN(Home Test InitHoTI)(Coa-of Test InitCoTI)cookie

  • HAInternetCNHome NetworkMobile NodeReturn Routability:Step2MH=3Parameters:+Home Init Cookie+Home Keygen Token+Home Nonce Index MH=4Parameters:+Care-of Init Cookie+Care-of Keygen Token+Care-of Nonce IndexCN sends tokens to MN by sending:Home Test (HoT) MessageCare-of Test (CoT) Message

  • Return Routability:Step3(Kbm)

  • HAInternetCNHome NetworkMobile NodeReturn Routability:Step3Binding Update protected by the shared keyMH=5Shared Key(Kbm) = SHA1(home keygen token | care-of keygen token)MN and CN generate the shared key from the tokensMN signs a BU message with the key, CN verifies the BU message with the key

  • Return Routability--Home Test Init(HoTI) MH Type=1 Message Data:

  • Return Routability-Care-of Test Init(CoTI) MH Type=2 Message Data:

  • Return Routability-Home Test(HoT) home keygen token := First (64, HMAC_SHA1 (Kcn, (home address | nonce | 0)))MH Type=3Message Data:

  • Return Routability-Care-of Test(CoT) MH Type=4Message Data: care-of keygen token := First (64, HMAC_SHA1 (Kcn, (care-of address | nonce | 1)))

  • Return Routability ProcedureCNMNHAHoTIHoTCoTICoTBinding UpdateIm ; Init messgaeTm ; Test messageTbu ; Binding Update

  • Return Routability Procedure (contd)Mobile nodeHome agentCorrespondent nodeHome Test(HoT)Care-of Test(CoT)Home Test Init(HoTI)Care-of Test Init(CoTI)

  • Home Test Init&Care-of Test InitHome Test Init

    *Source Address = home address* Destination Address = correspondent* Parameters:+ home init cookie

    Care-of Test Init

    *Source Address = care-of address* Destination Address = correspondent* Parameters: + care-of init cookie

  • Home Test & Care-of TestHome Test* 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* 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)))

  • ConclusionMIPv6MIPv6

  • Questions MIPv61. routing optimization2. option headers, neighbor discovery3. new message type4. cancel the home agent5. cancel the foreign agent

  • QuestionsWhich message is not the New Internet Control Message New IPv6 ICMP MessagesHome Agent Address Discovery Request Home Agent Address Discovery ReplyMobile Prefix SolicitationAll of the above

  • ReferenceIntroduction to MIPv6 www.item.ntnu.no/fag/tm8100/Pensumstoff2004/mipv6-bra.pptC. Perkins, Mobility for IPv6, Internet Draft, June 2002.K. El-Malki, P. Calhoun, T. Hiller, J. Kempf, P.J. McCann, A. Singh, H. Soliman, S. Thalanany, "Low latency Handoffs in Mobile IPv4", Internet Engineering Task Force draft-ietf-mobileip-lowlatency-Handoffs-v4-01.txt, May 2001. G. Tsirtsis, A. Yegin, C. Perkins, G. Dommety, K. El-Malki, M. Khalil, "Fast Handovers for Mobile IPv6", Internet Engineering Task Force draft-ietf-mobileip-fast-mipv6-00.txt, February 2001.

  • Reference[1] ,IPV6, ,[2] S.Thomson,T.Narten,and T.Jinmei,IPV6 Stateless Auto address configuration, RFC 2462,December 1998 [3],IPv6 Tutorial: Mobility

    *Mobile IPv6IPv6 IPv4Foreign Agent.IPv6IPv4 (Auto-configure)IP . IPv6 Destination Option Mobile IPv6 Mobile IPv6(Route Optimization) Anycast AddressHome Agent

    ***Routing optimizationNDBroadcastbroadcast

    wirelessbroadcastcellIPcellsubnetNDsubnetcellND*

    Network initiated HandoverThe network determines the Handover (the oldAR decides the new point of attachment to which the MN will move). The oldAR initiates signalling to the MN and newAR to start the layer 3 Handover. Mobile initiated Handover The MN determines the Handover (the mobile must detect and start Handover). MN chooses to force its movement to a new point of attachment. The MN initiates signalling to the oldAR to start the handover.

    *Test return routability for home address(HoTI,HoT)Test return routability for care-of address(CoTI,CoT)HoT and CoT carry nonces to be combined to make KbuVery few nodes see nonces in both HoT and CoTBSA in current specification is short-livedCorrespondent node Keeps no per-mobile state during HoT/CoTDiffie-Hellman could be another optionbut its either expensive or patented