NetworkWorkingGroupRequestforComments:4004P.CalhounCategory:StandardsTrackCiscoSystems,Inc.T.JohanssonBytemobileIncC.PerkinsNokiaResearchCenterT.Hiller,Ed.P.McCannLucentTechnologiesAugust2005DiameterMobileIPv4ApplicationStatusofThisMemoThisdocumentspecifiesanInternetstandardstrackprotocolfortheInternetcommunity,andrequestsdiscussionandsuggestionsforimprovements.PleaserefertothecurrenteditionoftheInternetOfficialProtocolStandards(STD1)forthestandardizationstateandstatusofthisprotocol.Distributionofthismemoisunlimited.CopyrightNoticeCopyright(C)TheInternetSociety(2005).AbstractThisdocumentspecifiesaDiameterapplicationthatallowsaDiameterservertoauthenticate,authorizeandcollectaccountinginformationforMobileIPv4servicesrenderedtoamobilenode.CombinedwiththeInter-Realmcapabilityofthebaseprotocol,thisapplicationallowsmobilenodestoreceiveservicefromforeignserviceproviders.DiameterAccountingmessageswillbeusedbytheforeignandhomeagentstotransferusageinformationtotheDiameterservers.TableofContents1.Introduction..........................31.1.EntitiesandRelationships................41.2.MobilitySecurityAssociations..............41.3.Handoff.........................61.4.StructureoftheDocument................72.Acronyms............................73.ScenariosandMessageFlows..................73.1.Inter-RealmMobileIPv4.................8Calhoun,etal.StandardsTrack[Page1]RFC4004DiameterMIPAugust20053.2.AllocationofHomeAgentinForeignNetwork.......133.3.Co-locatedMobileNode..................163.4.KeyDistribution.....................184.DiameterProtocolConsiderations................204.1.DiameterSessionManagement...............205.Command-CodeValues......................235.1.AA-Mobile-Node-Request..................235.2.AA-Mobile-Node-Answer..................255.3.Home-Agent-MIP-Request..................265.4.Home-Agent-MIP-Answer..................276.Result-CodeAVPValues.....................276.1.TransientFailures....................286.2.PermanentFailures....................287.MandatoryAVPs.........................287.1.MIP-Reg-RequestAVP...................297.2.MIP-Reg-ReplyAVP....................297.3.MIP-Mobile-Node-AddressAVP...............307.4.MIP-Home-Agent-AddressAVP................307.5.MIP-Feature-VectorAVP..................307.6.MIP-MN-AAA-AuthAVP...................327.7.MIP-FA-ChallengeAVP...................337.8.MIP-Filter-RuleAVP...................337.9.MIP-Candidate-Home-Agent-Host..............337.10.MIP-Originating-Foreign-AAAAVP.............337.11.MIP-Home-Agent-HostAVP.................338.KeyDistribution.......................348.1.AuthorizationLifetimevs.MIPKeyLifetime........348.2.Noncevs.SessionKey...................358.3.DistributingtheMobile-HomeSessionKey.........358.4.DistributingtheMobile-ForeignSessionKey........368.5.DistributingtheForeign-HomeSessionKey.........379.KeyDistributionAVPs.....................389.1.MIP-FA-to-MN-MSAAVP...................399.2.MIP-FA-to-HA-MSAAVP...................399.3.MIP-HA-to-FA-MSAAVP...................409.4.MIP-HA-to-MN-MSAAVP...................409.5.MIP-MN-to-FA-MSAAVP...................409.6.MIP-MN-to-HA-MSAAVP...................419.7.MIP-Session-KeyAVP...................419.8.MIP-Algorithm-TypeAVP..................419.9.MIP-Replay-ModeAVP...................429.10.MIP-FA-to-MN-SPIAVP...................429.11.MIP-FA-to-HA-SPIAVP...................429.12.MIP-NonceAVP.......................429.13.MIP-MSA-LifetimeAVP...................429.14.MIP-HA-to-FA-SPIAVP...................4310.AccountingAVPs........................4310.1.Accounting-Input-OctetsAVP...............43Calhoun,etal.StandardsTrack[Page2]RFC4004DiameterMIPAugust200510.2.Accounting-Output-OctetsAVP...............4310.3.Acct-Session-TimeAVP..................4310.4.Accounting-Input-PacketsAVP...............4310.5.Accounting-Output-PacketsAVP..............4310.6.Event-TimestampAVP...................4411.AVPOccurrenceTables.....................4411.1.MobileIPCommandAVPTable...............4411.2.AccountingAVPTable...................4612.IANAConsiderations......................4612.1.CommandCodes......................4612.2.AVPCodes........................4612.3.Result-CodeAVPValues..................4612.4.MIP-Feature-VectorAVPValues..............4712.5.MIP-Algorithm-TypeAVPValues..............4712.6.MIP-Replay-ModeAVPValues................4712.7.ApplicationIdentifier.................4713.SecurityConsiderations....................4714.References...........................4914.1.NormativeReferences...................4914.2.InformativeReferences..................5015.Acknowledgements........................51Authors’Addresses.........................51FullCopyrightStatement......................531.IntroductionMobileIPv4[MOBILEIP]allowsaMobileNode(MN)tochangeitspointofattachmenttotheInternetwhilemaintainingitsfixedhomeaddress.PacketsdirectedtothehomeaddressareinterceptedbyaHomeAgent(HA),encapsulatedinatunnel,andforwardedtotheMNatitscurrentpointofattachment.Optionally,aForeignAgent(FA)maybedeployedatthispointof