Network Working Group A. Patel Request for Comments: 4064 K. Leung Category: Standards Track Cisco Systems May 2005
Experimental Message, Extensions, and Error Codes for Mobile IPv4
Status of This Memo
This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards" (STD 1) for the standardization state and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2005).
Abstract
Mobile IPv4 message types range from 0 to 255. This document reserves a message type for use by an individual, company, or organization for experimental purposes, to evaluate enhancements to Mobile IPv4 messages before a formal standards proposal is issued.
Patel & Leung Standards Track [Page 1]
RFC 4064 Experimental Message, Extensions, and Error Codes May 2005
Mobile IPv4 message types range from 0 to 255. This document reserves a message type for experimental purposes, to evaluate enhancements to Mobile IPv4 messages before a formal standards proposal is issued.
Without experimental message capability, one would have to select a type value from the range defined for IANA assignment, which may result in collisions.
Within a message, Mobile IP defines a general extension mechanism allowing optional information to be carried by Mobile IP control messages. Extensions are not skippable if defined in the range [0- 127] and are skippable if defined in the range [128-255]. This document reserves extension types in both the skippable and non- skippable ranges for experimental use.
Mobile IPv4 defines error codes for use by the FA [64-127] and HA [128-192]. This document reserves an error code in both of these ranges for experimental use.
The definition of experimental numbers in this document is made according to the recommendation of Section 2.2 of BCP 82, RFC 3692.
Patel & Leung Standards Track [Page 2]
RFC 4064 Experimental Message, Extensions, and Error Codes May 2005
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [1].
In addition, this document frequently uses the following terms:
EXP-MSG-TYPE: A Mobile-IPv4 message number assigned for experimental use. IANA has assigned message number 255 for this.
EXP-SKIP-EXT-TYPE: A Mobile-IPv4 and ICMP router discovery Agent Advertisement extension number assigned for experimental use. IANA has assigned extension number 255 for this.
EXP-NONSKIP-EXT-TYPE: A Mobile-IPv4 and ICMP router discovery Agent Advertisement extension number for experimental use. IANA has assigned extension number 127 for this.
EXP-HA-ERROR-CODE: A Mobile-IPv4 error code for use by the HA in MIPv4 reply messages to indicate an error condition. IANA has assigned error code 192 for this.
EXP-FA-ERROR-CODE: A Mobile-IPv4 error code for use by FA in reply messages to indicate an error condition. IANA has assigned error code 127 for this.
Mobility Entity: Entities as defined in [2] (home agent, foreign agent, and mobile node).
As the nature and purpose of an experimental message cannot be known in advance, the structure is defined as having an opaque payload. Entities implementing the message can interpret the message according to their implementation. Interpreting based on extensions present in the message is one suggestion.
These messages may be used between the mobility entities (Home Agent, Foreign Agent, and Mobile Node). Experimental messages MUST be authenticated using any of the authentication mechanisms defined for Mobile IP ([2], [5]).
This message MAY contain extensions defined in Mobile IP, including vendor-specific extensions [4].
Patel & Leung Standards Track [Page 3]
RFC 4064 Experimental Message, Extensions, and Error Codes May 2005
IP fields:
Source Address: Typically the interface address from which the message is sent.
Destination Address: The address of the agent or the Mobile Node.
Opaque Zero or more octets of data, with structure defined only by the particular experiment it is used for.
Once an experimental message has been tested and shown to be useful, a permanent number should be obtained through the normal IANA numbers assignment procedures.
A single experimental message type is defined. This message can contain extensions based on which the message can be interpreted.
Up-to-date values for the message types for Mobile IP control messages are specified in the most recent "Assigned Numbers" [3].
This document reserves Mobile IPv4 extensions in both the skippable and non-skippable ranges for experimental purposes. The long extension format (for non-skippable extensions) and short extension format (for skippable extensions), as defined by [2], are used for Mobile IPv4 experimental extensions.
Also, ICMP router discovery extension numbers in both the skippable and non-skippable ranges are reserved for experimental use.
Patel & Leung Standards Track [Page 4]
RFC 4064 Experimental Message, Extensions, and Error Codes May 2005
4.1. Non-skippable Mobile IPv4 Experimental Extension
This format is applicable for non-skippable extensions and may carry information more than 256 bytes.
This format is applicable for skippable ICMP router discovery extensions. This extension should be ignored if an implementation does not understand it.
Patel & Leung Standards Track [Page 6]
RFC 4064 Experimental Message, Extensions, and Error Codes May 2005
This document reserves the reply error code EXP-FA-ERROR-CODE for use by the FA. This document also reserves the reply error code EXP-HA- ERROR-CODE for use by the HA.
These experimental error codes may be used in registration reply messages.
It is recommended that experimental error codes be used with experimental messages and extensions whenever none of the standardized error codes are applicable.
Mobility entities can send and receive experimental messages. Implementations that don't understand the message type SHOULD silently discard the message.
Experimental extensions can be carried in experimental messages and standards-defined messages. In the latter case, it is suggested that experimental extensions MUST NOT be used in deployed products and that usage be restricted to experiments only.
This document defines a control message to be used between mobility entities, two new extension formats, and two new error codes. To ensure correct interoperation based on this specification, IANA has reserved values in the Mobile IPv4 number space, as defined in [2], for one new message type, two new extensions, and two error codes.
Patel & Leung Standards Track [Page 7]
RFC 4064 Experimental Message, Extensions, and Error Codes May 2005
A new Mobile IPv4 control message using UDP port 434, type 255 (EXP- MSG-TYPE), has been defined by IANA. This value has been taken from the same number space as Mobile IP Registration Request (Type = 1) and Mobile IP Registration Reply (Type = 3).
The following extension types are introduced by this specification:
Experimental non-skippable extension: The value 127 (EXP-NONSKIP- EXT-TYPE) has been assigned from the numbering space for non- skippable extensions, which may appear in Mobile IPv4 control messages.
Also, the same number, 127 (EXP-NONSKIP-EXT-TYPE), has been assigned from the numbering space for non-skippable extensions, which may appear in ICMP router discovery messages.
Experimental skippable extension: The value 255 (EXP-SKIP-EXT-TYPE) has been assigned from the numbering space for skippable extensions, which may appear in Mobile IPv4 control messages.
Also, the same number, 255 (EXP-SKIP-EXT-TYPE), has been assigned from the numbering space for skippable extensions, which may appear in ICMP router discovery messages.
Like all Mobile IP control messages, the experimental messages MUST be authenticated per the requirements specified in [2] or [5]. Experimental messages without a valid authenticator SHOULD be discarded.
Patel & Leung Standards Track [Page 8]
RFC 4064 Experimental Message, Extensions, and Error Codes May 2005
Mobility entities that don't understand the experimental message MUST silently discard it.
Mobility entities that don't understand the experimental skippable extensions MUST ignore them. Mobility entities that don't understand the non-skippable experimental extensions MUST silently discard the message containing them. This behavior is consistent with section 1.8 of [2].
Foreign Agents and Home Agents SHOULD include an experimental error code in a reply message only if they have a general indication that the receiving entity would be able to parse it. This is indicated if the request message was of type EXP-MSG-TYPE or contained at least one experimental extension.
The authors would like to acknowledge Henrik Levkowetz for his detailed review of the document and suggestion to incorporate experimental extensions in this draft.
The authors would also like to acknowledge Thomas Narten for his initial review of the document and reference to [6] for general guidelines.
[4] Dommety, G. and K. Leung, "Mobile IP Vendor/Organization-Specific Extensions", RFC 3115, April 2001.
[5] Perkins, C. and P. Calhoun, "Mobile IPv4 Challenge/Response Extensions", RFC 3012, November 2000.
Patel & Leung Standards Track [Page 9]
RFC 4064 Experimental Message, Extensions, and Error Codes May 2005
[6] Narten, T., "Assigning Experimental and Testing Numbers Considered Useful", BCP 82, RFC 3692, January 2004.
Authors' Addresses
Questions and comments about this document should be directed to the Mobile IPv4 working group:
mip4@ietf.org
Questions and comments about this document may also be directed to the authors:
Alpesh Patel Cisco Systems 170 W. Tasman Drive, San Jose, CA 95134 USA
Phone: +1 408-853-9580 EMail: alpesh@cisco.com
Kent Leung Cisco Systems 170 W. Tasman Drive, San Jose, CA 95134 USA
Phone: +1 408-526-5030 EMail: kleung@cisco.com
Patel & Leung Standards Track [Page 10]
RFC 4064 Experimental Message, Extensions, and Error Codes May 2005
Full Copyright Statement
Copyright (C) The Internet Society (2005).
This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights.
This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79.
Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr.
The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf- ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is currently provided by the Internet Society.