
Mobile IPv4 Numbers - per [RFC3344]

(last updated 2007-12-20)

The document "IP Mobility Support" [RFC3344] specifies messages
and extensions.


Message Format and Protocol Extensibility
-----------------------------------------

Mobile IP defines a set of new control messages, sent with UDP or TCP
[RFC3344] using well-known port number 434.  Currently, the following 
are defined.

Message Types:

   1  Registration Request
   3  Registration Reply
   4  Tunnel Data                           [RFC3519]
   7  Registration Revocation               [RFC3543]
  15  Revocation Acknowledgment             [RFC3543]
  16  Handoff Request                       [RFC4881]
  17  Handoff Reply                         [RFC4881]
  18  Regional Registration Request         [RFC4857]
  19  Regional Registration Reply           [RFC4857]
  20  Fast Binding Update (FBU)             [RFC4988]
  21  Fast Binding Acknowledgment (FBAck)   [RFC4988]
 255  Message for Experimental use          [RFC4064] 

Two separately maintained sets of numbering spaces, from which
Extension Type values are allocated, are used in Mobile IP.

Due to the separation (orthogonality) of these sets, it is
conceivable that two Extensions that are defined at a later date
could have identical Type values, so long as one of the Extensions
may be used only in Mobile IP control messages and the other may be
used only in ICMP Router Discovery messages.

When an Extension numbered in either of these sets within the range
0 through 127 (non-skippable) is encountered but not recognized, the 
message containing that Extension MUST be silently discarded.  When 
an Extension numbered in the range 128 through 255 (skippable) is 
encountered which is not recognized, that particular Extension is 
ignored, but the rest of the Extensions and message data MUST still 
be processed.

The first set consists of those Extensions which may appear only
in Mobile IP control messages (those sent to and from UDP port
number 434).  

Extensions appearing in Mobile IP control messages:

Value    Name                                                    Reference
-------  ------------------------------------------------------  ---------
32       Mobile-Home Authentication                              [RFC3344]
33       Mobile-Foreign Authentication                           [RFC3344]
34       Foreign-Home Authentication                             [RFC3344]
36       Generalized Mobile IP Authentication                    [RFC4721]
38       Critical Vendor/Organization Specific Extension(CVSE)   [RFC3115]
40       MN-FA-KeyGen Request                                    [RFC3957]
41       MN-FA-KeyGen Reply                                      [RFC3957] 
42       MN-HA-KeyGen Request                                    [RFC3957]
43       MN-HA-KeyGen Reply                                      [RFC3957]
44       UDP Tunnel Reply Extension                              [RFC3519]
45       FA Error Extension                                      [RFC4636] 
46       GFA IP Address Extension                                [RFC4857] 
47       PMIPv4 Non-skippable Extension                          [draft-leung-mip4-proxy-mode-05.txt]
127      Non-skippable Extension for Experimental use            [RFC4064]
128      Deprecated (2001 Aug 31)
129      SKIP Firewall Traversal Extension                       [RFC2356]
130      Encapsulating Delivery Style Extension                  [RFC3024]
131      Mobile Node NAI                                         [RFC2794]
132      MN-FA Challenge Extension                               [RFC4721]
134      Normal Vendor/Organization Specific Extension (NVSE)    [RFC3115]
136      NAI Carrying Extension                                  [RFC3846]
137      Revocation Support                                      [RFC3543]
138      Generalized Link Layer Address Registration Extension   [RFC4881] 
139      Dynamic HA Extension                                    [RFC4433]
140      Hierarchical Foreign Agent Extension                    [RFC4857]
141      Replay Protection Style                                 [RFC4857]
142      Regional Registration Lifetime Extension                [RFC4857]
144      UDP Tunnel Request Extension                            [RFC3519]
145      Message String Extension                                [RFC4917]
147      PMIPv4 Skippable Extension                              [draft-leung-mip4-proxy-mode-05.txt]
150      Reserved
255      Skippable Extension for Experimental use                [RFC4064]   
 
 The second set consists of those extensions which may appear only
 in ICMP Router Discovery messages [4].  

 Mobile IP Extensions for ICMP Router Discovery messages:
 
 Value  Name                                                    Reference
 -----  ------------------------------------------              ---------
     0  One-byte Padding (encoded with no Length nor Data field)[RFC3344]
    16  Mobility Agent Advertisement                            [RFC3344]
    19  Prefix-Lengths                                          [RFC3344]
    20  Link-Layer Address Option Format (LLA)                  [RFC4988]
    21  New IPv4 Address                                        [RFC4988]
    22  New Router Prefix Information                           [RFC4988]
    24  Challenge Extension                                     [RFC4721]
   127  Non-skippable Adv. Extension for Experimental use       [RFC4064]
   136  NAI Carrying Extension                                  [RFC3846]
   137  CARD MN-AR signature option                             [RFC4065]
   138  CARD Request option                                     [RFC4065]
   139  CARD Reply option                                       [RFC4065]
   140  Generalized Link Layer Address Advertisement Extension  [RFC4881]
   255  Skippable Adv. Extension for Experimental use           [RFC4064]

Extension Subtypes:

To conserve the type number space, extension types may have sub-types.
Currently the following extensions have subtypes defined:

Generalized Authentication Extension:
  Subtype
  Value    Name                                                Reference
  -------  -----------------------------------------           ---------
      1    MN-AAA Authentication subtype                       [RFC4721]
      2    FA-FA authentication                                [RFC4857]
      3    MN-GFA authentication                               [RFC4857]
      4    MN-PAR Auth Extension                               [RFC4988]

UDP Tunnel Reply Extension:
  Subtype 
  Value    Name                                                Reference
  -------  -----------------------------------------           ---------
      0    Regular UDP Tunnel Reply Extension                  [RFC3519]	

UDP Tunnel Request Extension:
  Subtype
  Value    Name                                                Reference
  -------  -----------------------------------------           ---------
      0    Regular UDP Tunnel Request Extension                [RFC3519]	          


NAI Carrying Extension Sub-types - per [RFC-ietf-mip4-aaa-nai-02.txt]
  Subtype
   Value   Name                                                Reference
  -------  ----------------------------------------            ---------
      1    HA Identity                                         [RFC3846]
      2    AAAH identity                                       [RFC3846]
      3    Foreign Agent NAI (FA-NAI)                          [RFC4857]

KeyGen Request/Reply subtypes - per [RFC3957]
  Subtype
  Value   Name                             Reference
 -------  -------------------------------  ---------
     1    KeyGen Request/Reply from AAA   [RFC3957]
     7    Not to be allocated - used by 
          early implementations

Dynamic HA Extension subtypes - per [RFC4433]
Registration Procedures: IETF Consensus
 Subtype
 Value   Name                             Reference
-------  -------------------------------  ---------
      1  Requested HA Extension           [RFC4433]                  
      2  Redirected HA Extension          [RFC4433]  

FA Error Extension subtypes (value 45) - per [RFC4636]
Registration Procedures: Expert Review
 Subtype
 Value   Name                             Reference
-------  -------------------------------  --------- 
      0  FA Error Indication to MN        [RFC4636] 


Code Values for Mobile IP Registration Reply Messages
-----------------------------------------------------
         0-8        Success Codes
         9-63       No allocation guidelines currently exist
         64-127     Error Codes from the Foreign Agent
         128-192    Error Codes from the Home Agent
         193-200    Error Codes from the Gateway Foreign Agent
         201-255    No allocation guidelines currently exist

The following values are defined for use within the Code field.
  Registration successful:

        0 registration accepted
        1 registration accepted, but simultaneous mobility
          bindings unsupported

  Registration denied by the foreign agent:

       64 reason unspecified                                   [RFC3344]
       65 administratively prohibited                          [RFC3344]
       66 insufficient resources                               [RFC3344]
       67 mobile node failed authentication                    [RFC3344][RFC4721]
       68 home agent failed authentication                     [RFC3344]
       69 requested Lifetime too long                          [RFC3344]
       70 poorly formed Request                                [RFC3344]
       71 poorly formed Reply                                  [RFC3344]
       72 requested encapsulation unavailable                  [RFC3344]
       73 reserved and unavailable                             [RFC3344]
       74 request reverse tunnel unavailable                   [RFC3024]
       75 reverse runnel is mandatory and 'T' bit not set      [RFC3024]
       76 mobile node too distant                              [RFC3024]
       77 invalid care-of address                              [RFC3344]
       78 registration timeout                                 [RFC3344]
       79 delivery style not supported                         [RFC3024]
       80 home network unreachable (ICMP error received)       [RFC3344]
       81 home agent host unreachable (ICMP error received)    [RFC3344]
       82 home agent port unreachable (ICMP error received)    [RFC3344]
       88 home agent unreachable (other ICMP error received)   [RFC3344]
       89 vendor-specific reason                               [Quick]
       90 Non-zero HA address required in Registration Request [RFC4433]
    91-95 unassigned                                           
       96 nonzero_homeaddr_reqd                                [RFC2794]
       97 missing_nai                                          [RFC2794]
       98 missing_home_agent                                   [RFC2794]
       99 missing_homeaddr                                     [RFC2794]
      100 ERROR-FA-1                                           [RFC3115]
      101 ERROR-FA-2                                           [RFC3115]
  102-103 unassigned				
      104 unknown_challenge                                    [RFC4721]
      105 missing_challenge                                    [RFC4721]
      106 stale_challenge                                      [RFC4721]
      107 MISSING_MN_FA                                        [RFC3957]
      108 Error code from Foreign Agent => fa_bad_aaa_auth     [RFC4721]
      109 Error code from Foreign Agent => ha_wrong_challenge  [RFC4721]
      110 Error code from Foreign Agent => REPLAY_PROT_UNAVAIL [RFC4857] 
      111 Error code from Foreign Agent => ZERO_COA_NOT_SUPP   [RFC4857]
      112 UNKNOWN_GFA                                          [RFC4857]
      113 GFA_UNREACHABLE                                      [RFC4857]
      114 GFA_HOST_UNREACHABLE                                 [RFC4857]
      115 GFA_PORT_UNREACHABLE                                 [RFC4857]
 (116-126 range)
      127 FA Error Code for Experimental use                   [RFC4064]
   
   Registration denied by the home agent:

      128 reason unspecified                                   [RFC3344]
      129 administratively prohibited                          [RFC3344]
      130 insufficient resources                               [RFC3344]
      131 mobile node failed authentication                    [RFC3344]
      132 foreign agent failed authentication                  [RFC3344]
      133 registration Identification mismatch                 [RFC3344]
      134 poorly formed Request                                [RFC3344]
      135 too many simultaneous mobility bindings              [RFC3344]
      136 unknown home agent address                           [RFC3344]
      137 request reverse tunnel unavailable                   [RFC3024]
      138 reverse runnel is mandatory and 'T' bit not set      [RFC3024]
      139 requested encapsulation unavailable                  [RFC3024]
      140 ERROR-HA-1                                           [RFC3115]
      141 ERROR-HA-2                                           [RFC3115]
      142 ERROR_HA_UDP-ENCAP_UNAVAIL                           [RFC3519]	
      143 Reregister with redirected HA                        [RFC4433]
      144 Error code from Home Agent => ha_bad_aaa_auth        [RFC4721]
      145 Error code from Home Agent => ZERO_CAREOF_ADDRESS    [RFC4857] 
      146 Error code from Home Agent => DYN_GFA_NOT_SUPP       [RFC4857]
      192 HA Error Code for Experimental use                   [RFC4064]
	
   Registration denied by the gateway foreign agent:

      193 NO_HOME_REG                                          [RFC4857]

SPI Values for the Mobile IP Reserved SPIs
Registration Procedures: Must be specified and approved by the MIP4 working group
------------------------------------------
    0 Reserved                                                 [RFC4721]
    1 Reserved                                                 [RFC4721]
    2 CHAP_SPI                                                 [RFC4721]

Replay Method Identifier - per [RFC3957]
Replay Method   Name                                           Reference
--------------  ---------------------------------------        ---------
           0-1  Reserved                                       [RFC3957]
             2  Timestamps                                     [RFC3957]
             3  Nonces                                         [RFC3957]
       4-65535  Unallocated


Generalized Link Layer Address Registration Extension Subtypes and 
Generalized Link Layer Address Advertisement Extension Subtypes - per [RFC4881] 
Registration Procedures: IETF Consensus
Subtype 
Value    Name                                          Reference 
-------  --------------------------------------------  --------- 
0        Reserved                                      [RFC4881]
1        3GPP2 International Mobile Station Identity   [RFC4881]
         and Connection ID 
2        3GPP International Mobile Subscriber Identity [RFC4881] 
3        Ethernet 48-bit MAC address                   [RFC4881]
4        64-bit Global ID, EUI-64                      [RFC4881]
5        Solicited IPv4 Address                        [RFC4881] 
6        Access Point Identifier                       [RFC4881] 
7        FA IPv4 Address                               [RFC4881]
8-255    Unallocated 


Code Values for Mobile IP Handoff Reply Messages - per [RFC4881]
Registration Procedures: IETF Consensus
Value      Description                                         Reference
---------  --------------------------------------------------  ---------
   0       Successful Handoff                                  [RFC4881]
   1       Generic Handoff Failure                             [RFC4881]
2-255      Unallocated           


Message String Extension - per [RFC4917]
Registration Procedures: Expert Review
Subtype
Value    Name                                          Reference 
-------  --------------------------------------------  ---------
   1     Home Agent                                    [RFC4917]
   2     Foreign Agent                                 [RFC4917]


PEOPLE
------
[Quick] Frank Quick, <fquick&qualcomm.com>, July 2002.

REFERENCES
---------- 
[RFC2356]  G. Montenegro and V. Gupta, "Sun's SKIP Firewall Traversal 
           for Mobile IP", RFC 2356, June 1998.

[RFC2794]  Calhoun, P. and C. Perkins, "Mobile IP Network Access
           Identifier Extension for IPv4", RFC 2794, March 2000.

[RFC3012]  C. Perkins and P. Calhoun, "Mobile IPv4 Challenge/Response 
           Extensions", RFC 3012, November 2000.

[RFC3024]  G. Montenegro, "Reverse Tunneling for Mobile IP, revised",
           RFC 3024, January 2001.

[RFC3115]  G. Dommety and K. Leung, "Mobile IP Vendor/Organization-Specific 
           Extensions, RFC 3115, April 2001.

[RFC3344]  C. Perkins, editor, "IP Mobility Support for IPv4", RFC 3344, 
           August 2002.

[RFC3519]  H. Levkowetz and S. Vaarala, "Mobile IP NAT/NAPT Traversal using 
           UDP Tunnelling", RFC 3519, April 2003.

[RFC3543]  S. Glass and M. Chandra, "Registration Revocation in Mobile IPv4",
           RFC 3543, August 2003.

[RFC3846]  F. Johansson and T. Johansson, "Mobile IPv4 Extension for carrying 
           Network Access Identifiers", RFC 3846, June 2004.

[RFC3957]  C. Perkins and P. Calhoun, "AAA Registration Keys for Mobile IPv4", 
           RFC 3957, March 2005

[RFC4065]  J. Kempf, "Instructions for Seamoby and Experimental Mobility 
           Protocol IANA Allocations", RFC 4065, July 2005.

[RFC4064]  A. Patel and K. Leung, "Experimental Message, Extension and Error 
           Codes for Mobile IPv4", RFC 4064, May 2005.

[RFC4881]  K. El Malki, "Low Latency Handoffs in Mobile IPv4", RFC 4881, June 2007.

[RFC4433]  M. Kulkarni, A. Patel and K. Leung, "Mobile IPv4 Dynamic Home 
           Agent Assignment", RFC 4433, March 2006.

[RFC4636]  C. Perkins, "Foreign Agent Error Extension for Mobile IPv4", 
           RFC 4636, October 2006.

[RFC4721]  C. Perkins, P. Calhoun and J. Bharatia, "Mobile IPv4 Challenge/Response 
           Extensions (revised)", RFC 4721, January 2007.

[RFC4857]  E. Fogelstroem, A. Jonsson and C. Perkins, "Mobile IPv4 Regional 
           Registration", RFC 4857, June 2007.

[RFC4917]  V. Sastry, K. Leung and A. Patel, "Mobile IPv4 Message String Extension",
           RFC 4917, June 2007.

[RFC4988]  R. Koodli, C. Perkins, "Mobile IPv4 Fast Handovers", RFC 4988, 
           October 2007.

[draft-leung-mip4-proxy-mode-05.txt] work in progress


[]
