RFC 6153 PROPOSED STANDARD MOBILE NETWORKS · 3GPP · DHCP

ANDSF DHCP: DHCPv4 and DHCPv6 Options for Access Network Discovery and Selection Function (ANDSF) Discovery

DHCP options for discovering network policy and access selection servers.

On rfc-editor.org ↗
PUBLISHED
February 2011
AUTHORS
S. Das, G. Bajko
STREAM
IETF
DHCPV4 OPTION CODE
142
DHCPV6 OPTION CODE
143
DEFINED FOR
3GPP mobile networks
DOI
10.17487/RFC6153

RFC text

Contents
Original text · RFC Editor View on rfc-editor.org ↗
Internet Engineering Task Force (IETF)                            S. Das
Request for Comments: 6153                        Telcordia Technologies
Category: Standards Track                                       G. Bajko
ISSN: 2070-1721                                                    Nokia
                                                           February 2011


                     DHCPv4 and DHCPv6 Options for
   Access Network Discovery and Selection Function (ANDSF) Discovery

Abstract

   This document defines new Dynamic Host Configuration Protocol (DHCPv4
   and DHCPv6) options to enable a mobile node to discover Access
   Network Discovery and Selection Function (ANDSF) entities in an IP
   network.  ANDSF is being developed in the Third Generation
   Partnership Project (3GPP) and provides inter-system mobility
   policies and access-network-specific information to the mobile nodes
   (MNs).

Status of This Memo

   This is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Further information on
   Internet Standards is available in Section 2 of RFC 5741.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   http://www.rfc-editor.org/info/rfc6153.

Copyright Notice

   Copyright (c) 2011 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
   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. Introduction ....................................................2
      1.1. Conventions Used in This Document ..........................3
      1.2. Terminology and Abbreviations Used in This Document ........3
   2. ANDSF IPv4 Address Option for DHCPv4 ............................3
   3. ANDSF IPv6 Address Option for DHCPv6 ............................4
   4. Option Usage ....................................................4
      4.1. Usage of ANDSF Options for DHCPv4 ..........................4
           4.1.1. Mobile Node Behavior ................................4
      4.2. Usage of ANDSF Options for DHCPv6 ..........................5
           4.2.1. Mobile Node Behavior ................................5
   5. Security Considerations .........................................5
   6. IANA Considerations .............................................5
   7. Acknowledgments .................................................6
   8. References ......................................................6
      8.1. Normative References .......................................6
      8.2. Informative References .....................................6

1.  Introduction

   Access Network Discovery and Selection Function (ANDSF) is being
   defined in 3GPP [3GPPTS23.402] to provide necessary network discovery
   and selection assistance data to the mobile nodes for multi-access
   network scenarios where 3GPP access-network level solutions are not
   sufficient for the mobile nodes to perform network discovery and
   selection of non-3GPP networks.

   The information provided by ANDSF contains inter-system mobility
   policies and access-network-specific data to assist the mobile node
   with performing the inter-system handover.  This set of information
   can either be provisioned in the mobile node by the home operator or
   provided to the mobile node (MN) dynamically by the ANDSF over the
   S14 reference point as defined in [3GPPTS23.402] and [3GPPTS24.302].

   In 3GPP, the ANDSF is located either in the subscriber's home
   operator or visited network and needs to be known to the MN or
   discovered by the MN.  According to [3GPPTS23.402] and
   [3GPPTS24.302], the ANDSF is discovered through interaction with the
   Domain Name Service function or the DHCP server function.

   This document defines new DHCPv4 and DHCPv6 options called the ANDSF
   IP Address Options, which allow the MN to locate an ANDSF server.

1.1.  Conventions Used in This Document

   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 [RFC2119].

1.2.  Terminology and Abbreviations Used in This Document

   ANDSF (Access Network Discovery and Selection Function): An entity
   that provides network discovery and selection assistance data to the
   user entity (UE) as per operator policy [3GPPTS23.402].

   Access Network: A network that is accessed by the UE.

   3GPP Network: A radio access network specified by Third Generation
   Partnership Project

   Non-3GPP Network: A radio access network specified outside 3GPP by
   other projects or standards organizations

2.  ANDSF IPv4 Address Option for DHCPv4

   This section describes the ANDSF IPv4 Address Option for DHCPv4.  The
   option layout is depicted below:

      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
                                     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                                     | Option Code   |    Length     |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                     IP Address                                |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     .                                                               .
     +---------------------------------------------------------------+

   Option Code
      OPTION-IPv4_Address-ANDSF (142)

   Length
      Length (in bytes) of the option excluding the 'Option Code' and
      the 'Length' fields; 'Length' field is set to 4N, where N is the
      number of IPv4 addresses carried in the option

   IP Address
      IPv4 address(es) of ANDSF server(s)

   ANDSF servers MUST be listed in order of preference, and the client
   SHOULD process them in decreasing order of preference.

3.  ANDSF IPv6 Address Option for DHCPv6

   This section describes the ANDSF IPv6 Address Option for DHCPv6.  All
   values in the option are represented in network byte order.  The
   option layout is depicted below:

      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |      Option Code              |         Length                |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                         IP Address                            |
     .                                                               .
     +---------------------------------------------------------------+

   Option Code
      OPTION-IPv6_Address-ANDSF (143)

   Length
      Length (in bytes) of the option excluding the 'Option Code' and
      the 'Length' fields; 'Length' field is set to 16N, where N is the
      number of IPv6 addresses carried in the option

   IP Address
      IPv6 address(es) of ANDSF server(s)

   ANDSF servers MUST be listed in order of preference, and the client
   SHOULD process them in decreasing order of preference.

4.  Option Usage

4.1.  Usage of ANDSF Options for DHCPv4

   The requesting and sending of the proposed DHCPv4 options follow the
   rules for DHCP options in [RFC2131].

4.1.1.  Mobile Node Behavior

   The mobile node MAY request the IP address of an ANDSF server either
   during initial association with a network or when the policy and
   access network information is required from ANDSF.  It MAY also
   request the IP address of an ANDSF server when the network
   information is outdated or the mobile node does not have any ANDSF
   information.

   In order to request an address of a ANDSF server, the mobile node
   (DHCP client) MUST include an ANDSF IPv4 Address Option in the
   Parameter Request List (PRL) in the respective DHCP messages as
   defined in [RFC2131] and [RFC2132].  The DHCP client MAY initiate a
   new DHCP exchange or piggyback on other DHCP message exchanges.  DHCP
   client-handling PRL options are specified in [RFC2131], Section 4.4.

4.2.  Usage of ANDSF Options for DHCPv6

   The requesting and sending of the proposed DHCPv6 options follow the
   rules for DHCP options in [RFC3315].

4.2.1.  Mobile Node Behavior

   The mobile node MAY request the IP address of an ANDSF server
   according to the scenarios described in Section 4.1.1.

   In order to discover the address of an ANDSF server, the mobile node
   (DHCP client) MUST include an ANDSF IPv6 Address Option in the Option
   Request Option (ORO) in the respective DHCP messages as defined in
   [RFC3315].  The DHCP client MAY initiate a new DHCP exchange or
   piggyback on other DHCP message exchanges.  DHCP client-handling ORO
   options are specified in [RFC3315], Sections 17.1 and 18.1.

5.  Security Considerations

   If an adversary manages to modify the response from a DHCP server or
   insert its own response, an MN could be led to contact a rogue ANDSF
   server.  A modified response could also be used to mount an
   amplification attack.

   The DHCP authentication option described in [RFC3118] and [RFC3315]
   MAY be used to mitigate the above attacks.  In deployments where DHCP
   authentication is not available, 3GPP-specific lower-layer security
   services can be used to protect DHCP messages [3GPPTS33.402].  The
   3GPP ANDSF framework also provides additional mechanisms that can be
   used to mitigate the above attacks and to protect message exchanges
   between an ANDSF client and server at the higher layer
   [3GPPTS33.402].

6.  IANA Considerations

   This document defines two new DHCP options as described in Sections 2
   and 3:

   ANDSF IPv4 Address Option for DHCPv4 (OPTION-IPv4_Address-ANDSF) 142

   ANDSF IPv6 Address Option for DHCPv6 (OPTION-IPv6_Address-ANDSF) 143

7.  Acknowledgments

   The authors would like to acknowledge the following individuals for
   their valuable comments: Patrick Stuper, Vijay Devarapalli, Jouni
   Korhonen, Jari Arkko, Ted Lemon, and Ralph Droms.

8.  References

8.1.  Normative References

   [RFC2119]      Bradner, S., "Key words for use in RFCs to Indicate
                  Requirement Levels", BCP 14, RFC 2119, March 1997.

   [RFC2131]      Droms, R., "Dynamic Host Configuration Protocol", RFC
                  2131, March 1997.

   [RFC2132]      Alexander, S. and R. Droms, "DHCP Options and BOOTP
                  Vendor Extensions", RFC 2132, March 1997.

   [RFC3315]      Droms, R., Ed., Bound, J., Volz, B., Lemon, T.,
                  Perkins, C., and M. Carney, "Dynamic Host
                  Configuration Protocol for IPv6 (DHCPv6)", RFC 3315,
                  July 2003.

   [RFC3118]      Droms, R., Ed., and W. Arbaugh, Ed., "Authentication
                  for DHCP Messages", RFC 3118, June 2001.

8.2.  Informative References

   [3GPPTS23.402] 3GPP TS 23.402, v8.8.0 (2009-12): Architecture
                  enhancements for non-3GPP accesses,
                  http://www.3gpp.org/ftp/Specs/html-info/23402.htm.

   [3GPPTS24.302] 3GPP TS 24.302, v8.4.1 (2009-12): Access to the 3GPP
                  Evolved Packet Core (EPC) via non-3GPP access
                  networks; Stage 3, http://www.3gpp.org/ftp/Specs/html-
                  info/24302.htm.

   [3GPPTS33.402] 3GPP TS 33.402, v8.6.0 (2009-12): 3GPP System
                  Architecture Evolution (SAE); Security aspects of
                  non-3GPP accesses, http://www.3gpp.org/ftp/Specs/html-
                  info/33402.htm.

Authors' Addresses

   Subir Das
   Telcordia Technologies Inc.
   EMail: subir@research.telcordia.com


   Gabor Bajko
   Nokia
   EMail: gabor@bajko.nokia.com

AI ELI5

On this page
PROBLEMMobile devices need to discover the ANDSF server that provides information about which network they should connect to and what policies apply, but there was no standard way to find it using DHCP.
MECHANISMTwo new DHCP options are defined: one for DHCPv4 (option 142) and one for DHCPv6 (option 143). Devices can request these options when joining a network, and the DHCP server responds with one or more IP addresses of ANDSF servers.
DYNAMIC SERVER DISCOVERYMobile devices can now dynamically discover ANDSF servers when they connect to a network, enabling automatic selection of the best access network.

§1What Is ANDSF?

ANDSF stands for Access Network Discovery and Selection Function. It is a 3GPP (cellular standards) concept for a server that tells mobile devices which networks are available and which one to use according to the operator's policy.

When a mobile device is in range of multiple networks (for example, its home 3GPP cellular network, a rival carrier's network, and a WiFi hotspot), it needs to know which to connect to. ANDSF provides both network information and the operator's mobility policies. For instance, an operator might say: 'prefer WiFi when available, but fall back to LTE if WiFi is congested.'

To use ANDSF, the device first needs to find an ANDSF server. This RFC defines how devices can use DHCP to discover one.

A phone travels and sees multiple WiFi and cellular networks. A helper server tells it which one the operator prefers. This is how to ask that helper for its address.

§2The DHCPv4 Option

For networks using IPv4 and DHCP, a new option is defined:

OPTION-IPv4_Address-ANDSF (option code 142)

The option carries one or more IPv4 addresses. The mobile device includes option 142 in its DHCP request (in the Parameter Request List) to ask the DHCP server for ANDSF server addresses. The DHCP server responds by including these addresses in the response.

If the server has multiple ANDSF servers, it lists them in order of preference. The mobile device SHOULD process them in the order given, trying the most-preferred one first.

For old-style internet (IPv4), a phone asks its internet setup tool: 'Where is the helper?' and gets back a numbered list of helpers to try.

§3The DHCPv6 Option

For networks using IPv6 and DHCPv6, a parallel option is defined:

OPTION-IPv6_Address-ANDSF (option code 143)

This option works the same way as the IPv4 version but carries IPv6 addresses instead. The mobile device includes option 143 in its DHCPv6 Option Request Option (ORO) to ask for ANDSF server IPv6 addresses.

Again, if multiple ANDSF servers are provided, they are listed in preference order, and the client SHOULD try them in that order.

For newer internet (IPv6), it's the same idea but with modern-style addresses.

§4How Mobile Devices Use These Options

A mobile device MAY request ANDSF addresses in several scenarios: during initial network setup, when its cached ANDSF information becomes outdated, or when the device needs fresh policy information.

The device includes the ANDSF option in its DHCP request. It can do this during a new DHCP exchange or piggyback the request onto an existing DHCP transaction (for example, asking for other network configuration alongside the ANDSF addresses).

Once the device learns the ANDSF server addresses from DHCP, it can contact those servers to obtain mobility policies and network information. The ANDSF server itself is reached by establishing a separate connection to the IP addresses provided by DHCP.

The phone either asks a new question or tags the question onto something else it's asking its network. Once it gets the address, it phones the helper server.

§5Security

If an attacker modifies a DHCP response or injects a fake one, a mobile device could be directed to a rogue ANDSF server. This could cause the device to connect to the wrong network or follow malicious policies.

To protect against this, DHCP authentication (specified in RFC 3118 and RFC 3315) MAY be used. Additionally, 3GPP defines additional security mechanisms at the ANDSF protocol level itself. When deploying ANDSF in an untrusted network, these protections should be applied to ensure devices connect to the legitimate ANDSF server.

Make sure the answer really comes from the helper and not from someone pretending to be the helper.

§6IANA Registration

This RFC defines two new DHCP options that are registered with IANA (Internet Assigned Numbers Authority):

Option 142: ANDSF IPv4 Address Option for DHCPv4

Option 143: ANDSF IPv6 Address Option for DHCPv6

These numbers are now the official identifiers for these options and are used in all DHCP implementations and network configurations.

These option numbers are officially registered so everyone uses the same numbers.

§7References