Distributed Mobility Managment Working D. Liu Group H. Deng Internet-Draft China Mobile Intended status: Informational March 5, 2012 Expires: September 6, 2012 Mobility API Extension for DMM draft-liu-dmm-mobility-api-00 Abstract RFC 5014 specifies extension to socket API to allow application to specify the preference among multiple source addresses. draft-liu-dmm-address-selection-00 proposes to extend router advertisment message to carry the prefix type information. The mobile node can learn the prefix type information from the router advertisment message. This document proposes an extension to RFC 5014 to enable the application to select the DMM related prefixes. 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 RFC 2119 [RFC2119]. Status of this Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at http://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on September 6, 2012. Copyright Notice Copyright (c) 2012 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Liu & Deng Expires September 6, 2012 [Page 1] Internet-Draft draft-liu-dmm-mobility-api-00 March 2012 Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License. Table of Contents 1. Extension of RFC 5014 . . . . . . . . . . . . . . . . . . . . . 3 2. Usage Example . . . . . . . . . . . . . . . . . . . . . . . . . 3 3. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 3 4. Security Considerations . . . . . . . . . . . . . . . . . . . . 4 5. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 4 6. References . . . . . . . . . . . . . . . . . . . . . . . . . . 4 6.1. Normative References . . . . . . . . . . . . . . . . . . . 4 6.2. Informative References . . . . . . . . . . . . . . . . . . 4 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 4 Liu & Deng Expires September 6, 2012 [Page 2] Internet-Draft draft-liu-dmm-mobility-api-00 March 2012 1. Extension of RFC 5014 RFC 5014 defines socket API extension used for source address selection. Application can use this API to override the default source address selection mechnism for IPv6. Currently, RFC 5014 defines the following type of source address selection preference: IPV6_PREFER_SRC_HOME /* Prefer Home address as source */ IPV6_PREFER_SRC_COA /* Prefer Care-of address as source */ IPV6_PREFER_SRC_TMP /* Prefer Temporary address as source */ IPV6_PREFER_SRC_PUBLIC /* Prefer Public address as source */ IPV6_PREFER_SRC_CGA /* Prefer CGA address as source */ IPV6_PREFER_SRC_NONCGA /* Prefer a non-CGA address as source */ This document proposes to extend the above definition to add two new flags: IPV6_PREFER_SRC_LOCAL_HNP: Prefer to use locally allocated home network prefix. IPV6_PREFER_SRC_REMOTE_HNP: Prefer to use the home network prefix that allocated by other access router instead of the one that the MN currently attach. 2. Usage Example This section gives usage example for this API extension. In DMM scenario, the application on the mobile node can always select the IPV6_PREFER_SRC_LOCAL_HNP as the most preferred soure address. The mobile node's operating system need to guarantee that for the on- going session, it will not interupt the on-going session even there is a new prefix available. 3. IANA Considerations This document makes no request of IANA. Note to RFC Editor: this section may be removed on publication as an Liu & Deng Expires September 6, 2012 [Page 3] Internet-Draft draft-liu-dmm-mobility-api-00 March 2012 RFC. 4. Security Considerations TBD 5. Acknowledgements TBD 6. References 6.1. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. 6.2. Informative References [I-D.draft-seite-dmm-dma-00] "Distributed Mobility Anchoring", February 2012. Authors' Addresses Dapeng Liu China Mobile 32 Xuanwumen West Street Beijng, Xicheng District 100053 China Phone: +86-13911788933 Email: liudapeng@chinamobile.com Liu & Deng Expires September 6, 2012 [Page 4] Internet-Draft draft-liu-dmm-mobility-api-00 March 2012 Hui Deng China Mobile 32 Xuanwumen West Street Beijng, Xicheng District 100053 China Phone: Fax: Email: denghui@chinamobile.com URI: Liu & Deng Expires September 6, 2012 [Page 5]