DMM Working Group S. Matsushima
Internet-Draft SoftBank
Intended status: Standards Track C. Filsfils
Expires: September 12, 2019 M. Kohno
P. Camarillo
Cisco Systems, Inc.
D. Voyer
Bell Canada
C. Perkins
Futurewei
March 11, 2019

Segment Routing IPv6 for Mobile User Plane
draft-ietf-dmm-srv6-mobile-uplane-04

Abstract

This document shows the applicability of SRv6 (Segment Routing IPv6) to the user-plane of mobile networks. The network programming nature of SRv6 accomplish mobile user-plane functions in a simple manner. The statelessness of SRv6 and its ability to control both service layer path and underlying transport can be beneficial to the mobile user-plane, providing flexibility and SLA control for various applications. This document describes the SRv6 mobile user plane behavior and defines the SID functions for that.

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 https://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 12, 2019.

Copyright Notice

Copyright (c) 2019 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 (https://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

In mobile networks, mobility management systems provide connectivity while mobile nodes move. While the control-plane of the system signals movements of a mobile node, the user-plane establishes a tunnel between the mobile node and its anchor node over IP-based backhaul and core networks.

This document shows the applicability of SRv6 (Segment Routing IPv6) to those mobile networks. SRv6 provides source routing to networks so that operators can explicitly indicate a route for the packets to and from the mobile node. SRv6 endpoint nodes serve as the anchors of mobile user-plane.

2. Conventions and Terminology

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

2.1. Terminology

2.2. Conventions

2.3. Predefined SRv6 Functions

The following functions are defined in [I-D.filsfils-spring-srv6-network-programming]. Section 6 to support the needs of the mobile user plane.

New SRv6 functions are defined in

3. Motivation

Mobility networks are becoming more challenging to operate. On one hand, traffic is constantly growing, and latency requirements are more strict; on the other-hand, there are new use-cases like NFV that are also challenging network management.

The current architecture of mobile networks does not take into account the underlying transport. The user-plane is rigidly fragmented into radio access, core and service networks, connected by tunneling according to user-plane roles such as access and anchor nodes. These factors have made it difficult for the operator to optimize and operate the data-path.

In the meantime, applications have shifted to use IPv6, and network operators have started adopting IPv6 as their IP transport. SRv6, the IPv6 dataplane instantiation of Segment Routing [RFC8402], integrates both the application data-path and the underlying transport layer into a single protocol, allowing operators to optimize the network in a simplified manner and removing forwarding state from the network. It is also suitable for virtualized environments, VNF/CNF to VNF/CNF networking.

SRv6 specifies network-programming (see [I-D.filsfils-spring-srv6-network-programming]). Applied to mobility, SRv6 can provide the user-plane functions needed for mobility management. SRv6 takes advantage of underlying transport awareness and flexibility to improve mobility user-plane functions.

The use-cases for SRv6 mobility are discussed in [I-D.camarilloelmalky-springdmm-srv6-mob-usecases].

4. A 3GPP Reference Architecture

This section presents a reference architecture and possible deployment scenarios.

Figure 1 shows a reference diagram from the 5G packet core architecture [TS.23501].

The user plane described in this document does not depend on any specific architecture. The 5G packet core architecture as shown is based on the latest 3GPP standards at the time of writing this draft. Other architectures can be seen in [I-D.gundavelli-dmm-mfa] and [WHITEPAPER-5G-UP].

                               +-----+
                               | AMF |
                               +-----+
                              /    | [N11]
                       [N2]  /  +-----+
                     +------/   | SMF |
                    /           +-----+
                   /              / \  
                  /              /   \  [N4]
                 /              /     \                    ________
                /              /       \                  /        \
+--+      +-----+ [N3] +------+  [N9]  +------+  [N6]    /          \
|UE|------| gNB |------| UPF1 |--------| UPF2 |--------- \    DN    /
+--+      +-----+      +------+        +------+           \________/
            

Figure 1: 3GPP 5G Reference Architecture

This reference diagram does not depict a UPF that is only connected to N9 interfaces, although the description in this document also work for such UPFs.

Each session from an UE gets assigned to a UPF. Sometimes multiple UPFs may be used, providing richer service functions. A UE gets its IP address from the DHCP block of its UPF. The UPF advertises that IP address block toward the Internet, ensuring that return traffic is routed to the right UPF.

5. User-plane behaviors

This section describes some mobile user-plane behaviors using SRv6.

In order to simplify the adoption of SRv6, we present two different "modes" that vary with respect to the use of SRv6. The first one is the "Traditional mode", which inherits the current 3GPP mobile user-plane. In this mode there is no change to mobility networks architecture, except that GTP-U is replaced by SRv6.

The second mode is the "Enhanced mode". In this mode the SR policy contains SIDs for Traffic Engineering and VNFs, which results in effective end-to-end network slices.

In both, the Traditional and the Enhanced modes, we assume that the gNB as well as the UPFs are SR-aware (N3, N9 and -potentially- N6 interfaces are SRv6).

We introduce two mechanisms for interworking with legacy access networks (N3 interface is unmodified). In these document we introduce them applied to the Enhanced mode, although they could be used in combination with the Traditional mode as well.

One of these mechanisms is designed to interwork with legacy gNBs using GTP/IPv4. The second method is designed to interwork with legacy gNBs using GTP/IPv6.

This document uses SRv6 functions defined in [I-D.filsfils-spring-srv6-network-programming] as well as new SRv6 functions designed for the mobile user plane. The new SRv6 functions are detailed in Section 6.

5.1. Traditional mode

In the traditional mode, the existing mobile UPFs remain unchanged except for the use of SRv6 as the data plane instead of GTP-U. There is no impact to the rest of mobile system.

In existing 3GPP mobile networks, an UE session is mapped 1-for-1 with a specific GTP tunnel (TEID). This 1-for-1 mapping is mirrored here to replace GTP encapsulation with the SRv6 encapsulation, while not changing anything else. There will be a unique SRv6 SID associated with each UE session.

The traditional mode minimizes the changes required to the mobile system; it is a good starting point for forming a common basis.

Our example topology is shown in Figure 2. In traditional mode the gNB and the UPFs are SR-aware. In the descriptions of the uplink and downlink packet flow, A is an IPv6 address of the UE, and Z is an IPv6 address reachable within the Data Network DN. A new SRv6 function End.MAP, defined in Section 6.2, is used.

    
                                                           ________
                  SRv6           SRv6                     /        \
+--+      +-----+ [N3] +------+  [N9]  +------+  [N6]    /          \
|UE|------| gNB |------| UPF1 |--------| UPF2 |--------- \    DN    /
+--+      +-----+      +------+        +------+           \________/
         SRv6 node     SRv6 node       SRv6 node
                

Figure 2: Traditional mode - example topology

5.1.1. Packet flow - Uplink

The uplink packet flow is as follows:

UE_out  : (A,Z)
gNB_out : (gNB, U1::1) (A,Z)     -> T.Encaps.Red <U1::1>
UPF1_out: (gNB, U2::1) (A,Z)     -> End.MAP
UPF2_out: (A,Z)                  -> End.DT4 or End.DT6

When the UE packet arrives at the gNB, the gNB performs a T.Encaps.Red operation. Since there is only one SID, there is no need to push an SRH. gNB only adds an outer IPv6 header with IPv6 DA U1::1. U1::1 represents an anchoring SID specific for that session at UPF1. gNB obtains the SID U1::1 from the existing control plane (N2 interface).

When the packet arrives at UPF1, the SID U1::1 identifies a local End.MAP function. End.MAP replaces U1::1 by U2::1, that belongs to the next UPF (U2).

When the packet arrives at UPF2, the SID U2::1 corresponds to an End.DT function. UPF2 decapsulates the packet, performs a lookup in a specific table associated with that mobile network and forwards the packet toward the data network (DN).

5.1.2. Packet flow - Downlink

The downlink packet flow is as follows:

UPF2_in : (Z,A)
UPF2_out: (U2::, U1::1) (Z,A)    -> T.Encaps.Red <U1::1>
UPF1_out: (U2::, gNB::1) (Z,A)   -> End.MAP
gNB_out : (Z,A)                  -> End.DX4 or End.DX6
            

When the packet arrives at the UPF2, the UPF2 maps that flow into a UE session. This UE session is associated with the segment endpoint <U1::1>. UPF2 performs a T.Encaps.Red operation, encapsulating the packet into a new IPv6 header with no SRH since there is only one SID.

Upon packet arrival on UPF1, the SID U1::1 is a local End.MAP function. This function maps the SID to the next anchoring point and replaces U1::1 by gNB::1, that belongs to the next hop.

Upon packet arrival on gNB, the SID gNB::1 corresponds to an End.DX4 or End.DX6 function. The gNB decapsulates the packet, removing the IPv6 header and all its extensions headers, and forwards the traffic toward the UE.

5.1.3. IPv6 user-traffic

For IPv6 user-traffic it is RECOMMENDED to perform encapsulation. However based on local policy, a service provider MAY choose to do SRH insertion [I-D.voyer-6man-extension-header-insertion] . The main benefit is a lower overhead (40B less). In such case, the functions used are T.Insert.Red at gNB, End.MAP at UPF1 and End.T at UPF2 on Uplink, T.Insert.Red at UPF2, End.MAP at UPF1 and End.X at gNB on Downlink.

5.2. Enhanced Mode

Enhanced mode improves scalability, traffic steering and service programming [I-D.xuclad-spring-sr-service-programming], thanks to the use of multiple SIDs, instead of a single SID as done in the Traditional mode.

The main difference is that the SR policy MAY include SIDs for traffic engineering and service programming in addition to the UPFs SIDs.

The gNB control-plane (N2 interface) is unchanged, specifically a single IPv6 address is given to the gNB.

Note that the SIDs MAY use the arguments Args.Mob.Session if required by the UPFs.

Figure 3 shows an Enhanced mode topology. In the Enhanced mode, the gNB and the UPF are SR-aware. The Figure shows two service segments, S1 and C1. S1 represents a VNF in the network, and C1 represents a constraint path on a router requiring Traffic Engineering. S1 and C1 belong to the underlay and don't have an N4 interface, so they are not considered UPFs.

    
                                 +----+  SRv6               _______
                 SRv6          --| C1 |--[N3]              /       \
+--+    +-----+  [N3]         /  +----+  \  +------+ [N6] /         \
|UE|----| gNB |--       SRv6 /    SRv6    --| UPF2 |------\   DN    /
+--+    +-----+  \      [N3]/      TE       +------+       \_______/
       SRv6 node  \ +----+ /               SRv6 node
                   -| S1 |-
                    +----+
                   SRv6 node
                     CNF
                

Figure 3: Enhanced mode - Example topology

5.2.1. Packet flow - Uplink

The uplink packet flow is as follows:

UE_out  : (A,Z)
gNB_out : (gNB, S1)(U2::1, C1; SL=2)(A,Z)-> T.Encaps.Red<S1,C1,U2::1>
S1_out  : (gNB, C1)(U2::1, C1; SL=1 (A,Z)
C1_out  : (gNB, U2::1)(A,Z)              -> PSP
UPF2_out: (A,Z)                          -> End.DT4 or End.DT6
            

UE sends its packet (A,Z) on a specific bearer to its gNB. gNB's control plane associates that session from the UE(A) with the IPv6 address B and GTP TEID T. gNB's control plane does a lookup on B to find the related SID list <S1, C1, U2::1>.

When gNB transmits the packet, it contains all the segments of the SR policy. The SR policy can include segments for traffic engineering (C1) and for service programming (S1).

Nodes S1 and C1 perform their related Endpoint functionality and forward the packet.

When the packet arrives at UPF2, the active segment (U2::1) is an End.DT4/6 which performs the decapsulation (removing the IPv6 header with all its extension headers) and forwards toward the data network.

5.2.2. Packet flow - Downlink

The downlink packet flow is as follows:

UPF2_in : (Z,A)                              -> UPF2 maps the flow w/
                                                SID list <C1,S1, gNB>
UPF2_out: (U2::1, C1)(gNB, S1; SL=2)(Z,A)    -> T.Encaps.Red
C1_out  : (U2::1, S1)(gNB, S1; SL=1)(Z,A)
S1_out  : (U2::1, gNB)(Z,A)                  -> PSP
gNB_out : (Z,A)                              -> End.DX4 or End.DX6
            

When the packet arrives at the UPF2, the UPF2 maps that particular flow into a UE session. This UE session is associated with the policy <C1, S1, gNB>. The UPF2 performs a T.Encaps.Red operation, encapsulating the packet into a new IPv6 header with its corresponding SRH.

The nodes C1 and S1 perform their related Endpoint processing.

Once the packet arrives at the gNB, the IPv6 DA corresponds to an End.DX4 or End.DX6 (depending on the underlying traffic). The gNB decapsulates the packet, removing the IPv6 header and all its extensions headers and forwards the traffic toward the UE.

5.2.3. IPv6 user-traffic

For IPv6 user-traffic it is RECOMMENDED to perform encapsulation. However based on local policy, a service provider MAY choose to do SRH insertion. The main benefit is a lower overhead. In such case, the functions used are T.Insert.Red at gNB and End.T at UPF2 on Uplink, T.Insert.Red at UPF2 and End.X at gNB on Downlink.

5.3. Enhanced mode with unchanged gNB GTP behavior

This section describes two mechanisms for interworking with legacy gNBs that still use GTP: one for IPv4, the other for IPv6.

In the interworking scenarios as illustrated in Figure 4, gNB does not support SRv6. gNB supports GTP encapsulation over IPv4 or IPv6. To achieve interworking, a SR Gateway (SRGW-UPF1) entity is added. The SRGW maps the GTP traffic into SRv6.

The SRGW is not an anchor point, and maintains very little state. For this reason, both IPv4 and IPv6 methods scale to millions of UEs.

                                                          _______
                 IP GTP          SRv6                    /       \
+--+      +-----+ [N3] +------+  [N9]  +------+  [N6]   /         \
|UE|------| gNB |------| UPF1 |--------| UPF2 |---------\   DN    /
+--+      +-----+      +------+        +------+          \_______/
                      SR Gateway       SRv6 node
              

Figure 4: Example topology for interworking

5.3.1. Interworking with IPv6 GTP

In this interworking mode the gNB uses GTP over IPv6 via the N3 interface

Key points:

An example topology is shown in Figure 5. In this mode the gNB is an unmodified gNB using IPv6/GTP. The UPFs are SR-aware. As before, the SRGW maps IPv6/GTP traffic to SRv6.

S1 and C1 are two service segments. S1 represents a VNF in the network, and C1 represents a router configured for Traffic Engineering.

    
                               +----+
             IPv6/GTP         -| S1 |-                            ___
+--+  +-----+ [N3]           / +----+ \                          /   
|UE|--| gNB |-         SRv6 /   SRv6   \ +----+   +------+ [N6] /    
+--+  +-----+ \        [N9]/     VNF    -| C1 |---| UPF2 |------\  DN
        GTP    \ +------+ /              +----+   +------+       \___
                -| UPF1 |-                SRv6      SRv6
                 +------+                  TE       
                SR Gateway
                

Figure 5: Enhanced mode with unchanged gNB IPv6/GTP behavior

5.3.1.1. Packet flow - Uplink

The uplink packet flow is as follows:

UE_out  : (A,Z)
gNB_out : (gNB, B)(GTP: TEID T)(A,Z)       -> Interface N3 unmodified
                                              (IPv6/GTP)
SRGW_out: (SRGW, S1)(U2::1, C1; SL=2)(A,Z) -> B is an End.M.GTP6.D
                                              SID at the SRGW
S1_out  : (SRGW, C1)(U2::1, C1; SL=1)(A,Z)
C1_out  : (SRGW, U2::1)(A,Z)               -> PSP
UPF2_out: (A,Z)                            -> End.DT4 or End.DT6 
              

The UE sends a packet destined to Z toward the gNB on a specific bearer for that session. The gNB, which is unmodified, encapsulates the packet into IPv6, UDP and GTP headers. The IPv6 DA B, and the GTP TEID T are the ones received in the N2 interface.

The IPv6 address that was signalled over the N2 interface for that UE session, B, is now the IPv6 DA. B is an SRv6 Binding SID at the SRGW. Hence the packet is routed to the SRGW.

When the packet arrives at the SRGW, the SRGW identifies B as an End.M.GTP6.D Binding SID (see Section 6.3). Hence, the SRGW removes the IPv6, UDP and GTP headers, and pushes an IPv6 header with its own SRH containing the SIDs bound to the SR policy associated with this BindingSID. There is one instance of the End.M.GTP6.D SID per PDU type.

S1 and C1 perform their related Endpoint functionality and forward the packet.

When the packet arrives at UPF2, the active segment is (U2::1) which is bound to End.DT4/6. UPF2 then decapsulates (removing the outer IPv6 header with all its extension headers) and forwards the packet toward the data network.

5.3.1.2. Packet flow - Downlink

The downlink packet flow is as follows:

UPF2_in : (Z,A)                           -> UPF2 maps the flow with
                                             <C1, S1, SRGW::TEID,gNB>
UPF2_out: (U2::1, C1)(gNB, SRGW::TEID, S1; SL=3)(Z,A) -> T.Encaps.Red
C1_out  : (U2::1, S1)(gNB, S1; SL=2)(Z,A)
S1_out  : (U2::1, SRGW::TEID)(gNB, SRGW::TEID, S1, SL=1)(Z,A)
SRGW_out: (SRGW, gNB)(GTP: TEID=T)(Z,A)   -> SRGW/96 is End.M.GTP6.E
gNB_out : (Z,A)
              

When a packet destined to A arrives at the UPF2, the UPF2 performs a lookup in the table associated to A and finds the SID list <C1, S1, SRGW::TEID, gNB>. The UPF2 performs a T.Encaps.Red operation, encapsulating the packet into a new IPv6 header with its corresponding SRH.

C1 and S1 perform their related Endpoint processing.

Once the packet arrives at the SRGW, the SRGW identifies the active SID as an End.M.GTP6.E function. The SRGW removes the IPv6 header and all its extensions headers. The SRGW generates new IPv6, UDP and GTP headers. The new IPv6 DA is the gNB which is the last SID in the received SRH. The TEID in the generated GTP header is an argument of the received End.M.GTP6.E SID. The SRGW pushes the headers to the packet and forwards the packet toward the gNB. There is one instance of the End.M.GTP6.E SID per PDU type.

Once the packet arrives at the gNB, the packet is a regular IPv6/GTP packet. The gNB looks for the specific radio bearer for that TEID and forward it on the bearer. This gNB behavior is not modified from current and previous generations.

5.3.1.3. Scalability

For the downlink traffic, the SRGW is stateless. All the state is in the SRH inserted by the UPF2. The UPF2 must have the UE states since it is the UE's session anchor point.

For the uplink traffic, the state at the SRGW does not necessarily need to be unique per UE session; the state state can be shared among UEs. This enables much more scalable SRGW deployments compared to a solution holding millions of states, one or more per UE.

5.3.1.4. IPv6 user-traffic

For IPv6 user-traffic it is RECOMMENDED to perform encapsulation. However based on local policy, a service provider MAY choose to do SRH insertion. The main benefit is lower overhead.

5.3.2. Interworking with IPv4 GTP

In this interworking mode the gNB uses GTP over IPv4 in the N3 interface

Key points:

An example topology is shown in Figure 6. In this mode the gNB is an unmodified gNB using IPv4/GTP. The UPFs are SR-aware. As before, the SRGW maps the IPv4/GTP traffic to SRv6.

S1 and C1 are two service segment endpoints. S1 represents a VNF in the network, and C1 represents a router configured for Traffic Engineering.

    
                               +----+
             IPv4/GTP         -| S1 |-                            ___
+--+  +-----+ [N3]           / +----+ \                          /   
|UE|--| gNB |-         SRv6 /   SRv6   \ +----+   +------+ [N6] /    
+--+  +-----+ \        [N9]/     VNF    -| C1 |---| UPF2 |------\  DN
        GTP    \ +------+ /              +----+   +------+       \___
                -| UPF1 |-                SRv6      SRv6
                 +------+                  TE       
                SR Gateway
                

Figure 6: Enhanced mode with unchanged gNB IPv4/GTP behavior

5.3.2.1. Packet flow - Uplink

The uplink packet flow is as follows:

gNB_out : (gNB, B)(GTP: TEID T)(A,Z)          -> Interface N3
                                                 unchanged IPv4/GTP
SRGW_out: (SRGW, S1)(U2::1, C1; SL=2)(A,Z)    -> T.M.Tmap function
S1_out  : (SRGW, C1)(U2::1, C1; SL=1)(A,Z)
C1_out  : (SRGW, U2::1) (A,Z)                 -> PSP
UPF2_out: (A,Z)                               -> End.DT4 or End.DT6
              

The UE sends a packet destined to Z toward the gNB on a specific bearer for that session. The gNB, which is unmodified, encapsulates the packet into a new IPv4, UDP and GTP headers. The IPv4 DA, B, and the GTP TEID are the ones received at the N2 interface.

When the packet arrives at the SRGW for UPF1, the SRGW has an Uplink Classifier rule for incoming traffic from the gNB, that steers the traffic into an SR policy by using the function T.M.TMap. The SRGW removes the IPv4, UDP and GTP headers and pushes an IPv6 header with its own SRH containing the SIDs related to the SR policy associated with this traffic. The SRGW forwards according to the new IPv6 DA.

S1 and C1 perform their related Endpoint functionality and forward the packet.

When the packet arrives at UPF2, the active segment is (U2::1) which is bound to End.DT4/6 which performs the decapsulation (removing the outer IPv6 header with all its extension headers) and forwards toward the data network.

5.3.2.2. Packet flow - Downlink

The downlink packet flow is as follows:

UPF2_in : (Z,A)                            -> UPF2 maps flow with SID
                                            <C1, S1,SRGW::SA:DA:TEID>
UPF2_out: (U2::1, C1)(SRGW::SA:DA:TEID, S1; SL=2)(Z,A) ->T.Encaps.Red
C1_out  : (U2::1, S1)(SRGW::SA:DA:TEID, S1; SL=1)(Z,A)
S1_out  : (U2::1, SRGW::SA:DA:TEID)(Z,A)
SRGW_out: (SA, DA)(GTP: TEID=T)(Z,A)       -> End.M.GTP4.E
gNB_out : (Z,A)
              

When a packet destined to A arrives at the UPF2, the UPF2 performs a lookup in the table associated to A and finds the SID list <C1, S1, SRGW::SA:DA:TEID>. The UPF2 performs a T.Encaps.Red operation, encapsulating the packet into a new IPv6 header with its corresponding SRH.

The nodes C1 and S1 perform their related Endpoint processing.

Once the packet arrives at the SRGW, the SRGW identifies the active SID as an End.M.GTP4.E function. The SRGW removes the IPv6 header and all its extensions headers. The SRGW generates an IPv4, UDP and GTP headers. The IPv4 SA and DA are received as SID arguments. The TEID in the generated GTP header is also the arguments of the received End.M.GTP4.E SID. The SRGW pushes the headers to the packet and forwards the packet toward the gNB.

When the packet arrives at the gNB, the packet is a regular IPv4/GTP packet. The gNB looks for the specific radio bearer for that TEID and forward it on the bearer. This gNB behavior is not modified from current and previous generations.

5.3.2.3. Scalability

For the downlink traffic, the SRGW is stateless. All the state is in the SRH inserted by the UPF. The UPF must have this UE-base state anyway (since it is its anchor point).

For the uplink traffic, the state at the SRGW is dedicated on a per UE/session basis according to an Uplink Classifier. There is state for steering the different sessions on a SR policies. However, SR policies are shared among several UE/sessions.

5.3.2.4. IPv6 user-traffic

For IPv6 user-traffic it is RECOMMENDED to perform encapsulation. Based on local policy, a service provider MAY choose to do SRH insertion. The main benefit is a lower overhead.

5.3.3. Extensions to the interworking mechanisms

In this section we presented two mechanisms for interworking with gNBs that do not support SRv6. These mechanism are done to support GTP over IPv4 and GTP over IPv6.

Even though we have presented these methods as an extension to the "Enhanced mode", it is straightforward in its applicability to the "Traditional mode".

Furthermore, although these mechanisms are designed for interworking with legacy RAN at the N3 interface, these methods could also be applied for interworking with a non-SRv6 capable UPF at the N9 interface (e.g. L3-anchor is SRv6 capable but L2-anchor is not).

6. SRv6 SID Mobility Functions

6.1. Args.Mob.Session

 0                   1                   2                   3
 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   QFI     |R|U|                PDU Session ID                 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|PDU Sess(cont')|
+-+-+-+-+-+-+-+-+
          

Args.Mob.Session format

Args.Mob.Session provide per-session information for charging, buffering and lawful intercept (among others) required by some mobile nodes. The Args.Mob.Session argument format is used in combination with End.Map, End.DT and End.DX functions. Note that proposed format is applicable for 5G networks, while similar formats could be proposed for legacy networks.

Since the SRv6 function is likely NOT to be instantiated per PDU session, Args.Mob.Session helps the UPF to perform the functions which require per QFI and/or per PDU Session granularity.

6.2. End.MAP

The "Endpoint function with SID mapping" function (End.MAP for short) is used in several scenarios. Particularly in mobility, End.MAP is used in the UPFs for the PDU Session anchor functionality.

When a SR node N receives a packet destined to S and S is a local End.MAP SID, N does the following:

1.    look up the IPv6 DA in the mapping table 
2.    update the IPv6 DA with the new mapped SID            ;; Note 1
3.    IF segment_list > 1
4.       insert a new SRH
5.    forward according to the new mapped SID
6. ELSE                                          
7.    Drop the packet                            
          

Note 1: The SID in the SRH is NOT modified.

6.3. End.M.GTP6.D

The "Endpoint function with IPv6/GTP decapsulation into SR policy" function (End.M.GTP6.D for short) is used in interworking scenario for the uplink toward from the legacy gNB using IPv6/GTP. Suppose, for example, this SID is associated with an SR policy <S1, S2, S3> and an IPv6 Source Address A.

When the SR Gateway node N receives a packet destined to S and S is a local End.M.GTP6.D SID, N does:

1. IF NH=UDP & UDP_PORT = GTP THEN            
2.    pop the IPv6, UDP and GTP headers
3.    push a new IPv6 header with its own SRH <S2, S3>
4.    set the outer IPv6 SA to A
5.    set the outer IPv6 DA to S1
6.    forward according to the S1 segment of the SRv6 Policy
7. ELSE                                          
8.    Drop the packet                            
          

6.4. End.M.GTP6.E

The "Endpoint function with encapsulation for IPv6/GTP tunnel" function (End.M.GTP6.E for short) is used in interworking scenario for the downlink toward the legacy gNB using IPv6/GTP.

The End.M.GTP6.E function has a 32-bit argument space which is used to provide the GTP TEID.

When the SR Gateway node N receives a packet destined to S, and S is a local End.M.GTP6.E SID, N does the following:

 1. IF NH=SRH & SL = 1  THEN                                ;; Note 1
 2.    decrement SL                               
 3.    store SRH[SL] in variable new_DA
 4.    store TEID in variable new_TEID                      ;; Note 2
 5.    pop IP header and all its extension headers   
 6.    push new IPv6 header and GTP-U header
 7.    set IPv6 DA to new_DA
 8.    set GTP_TEID to new_TEID
 9.    lookup the new_DA and forward the packet accordingly
10. ELSE                                          
11.    Drop the packet                            
          

Note 1: An End.M.GTP6.E SID MUST always be the penultimate SID.

Note 2: TEID is extracted from the argument space of the current SID.

6.5. End.M.GTP4.E

The "Endpoint function with encapsulation for IPv4/GTP tunnel" function (End.M.GTP4.E for short) is used in the downlink when doing interworking with legacy gNB using IPv4/GTP.

When the SR Gateway node N receives a packet destined to S and S is a local End.M.GTP4.E SID, N does:

1. IF NH=SRH & SL = 0 THEN
2.    store SRH[0] in buffer S                   
3.    pop the IPv6 header and its extension headers
4.    push UDP/GTP headers with GTP TEID from S
5.    push outer IPv4 header with SA, DA from S  
6. ELSE                                          
7.    Drop the packet                            
          

S has the following format:

+----------------------+-------+-------+-------+
|  SRGW-IPv6-LOC-FUNC  |IPv4DA |IPv4SA |TUN-ID |
+----------------------+-------+-------+-------+
        128-a-b-c          a      b       c
          

End.M.GTP4.E SID Encoding

6.6. T.M.Tmap

The "Transit with tunnel decapsulation and map to an SRv6 policy" function (T.M.Tmap for short) is used in the direction from legacy user-plane to SRv6 user-plane network.

When the SR Gateway node N receives a packet destined to a IW-IPv4-Prefix, N does:

1. IF Payload == UDP/GTP THEN
2.    pop the outer IPv4 header and UDP/GTP headers                   
3.    copy IPv4 DA, SA, TUN-ID to form SID B   
4.    encapsulate the packet into a new IPv6 header
5.    set the IPv6 DA = B                                            
6.    forward along the shortest path to B                           
7. ELSE                                                              
8.    Drop the packet                                                
          

B has the following format:

+----------------------+-------+-------+-------+
|  SRGW-IPv6-LOC-FUNC  |IPv4DA |IPv4SA |TUN-ID |
+----------------------+-------+-------+-------+
        128-a-b-c          a      b       c
          

End.M.GTP4.E SID Encoding

The SID B is an SRv6 BindingSID instantiated at the first UPF (U1). A static format is used for this Binding SIDs in order to remove state from the SRGW.

6.7. End.Limit: Rate Limiting function

The mobile user-plane requires a rate-limit feature. For this purpose, we define a new function "End.Limit". The "End.Limit" function encodes in its arguments the rate limiting parameter that should be applied to this packet. Multiple flows of packets should have the same group identifier in the SID when those flows are in an same AMBR group. The encoding format of the rate limit segment SID is as follows:

+----------------------+----------+-----------+
| LOC+FUNC rate-limit  | group-id | limit-rate|
+----------------------+----------+-----------+
      128-i-j                i          j
              

End.Limit: Rate limiting function argument format

If the limit-rate bits are set to zero, the node should not do rate limiting unless static configuration or control-plane sets the limit rate associated to the SID.

7. SRv6 supported 3GPP PDU session types

The 3GPP [TS.23501] defines the following PDU session types:

SRv6 supports all the 3GPP PDU session types without any protocol overhead by using the corresponding SRv6 functions (End.DX4, End.DT4 for IPv4 PDU sessions; End.DX6, End.DT6, End.T for IPv6 PDU sessions; End.DT46 for IPv4v6 PDU sessions; End.DX2 for L2 PDU sessions; End.DX2 for Unstructured PDU sessions).

8. Network Slicing Considerations

A mobile network may be required to implement "network slices", which logically separate network resources. User-plane functions represented as SRv6 segments would be part of a slice.

[I-D.filsfils-spring-segment-routing-policy] describes a solution to build basic network slices with SR. Depending on the requirements, these slices can be further refined by adopting the mechanisms from:

Furthermore, these can be combined with ODN/AS [I-D.filsfils-spring-segment-routing-policy] for automated slice provisioning and traffic steering.

Further details on how these tools can be used to create end to end network slices are documented in [I-D.ali-spring-network-slicing-building-blocks].

9. Control Plane Considerations

This document focuses on user-plane behavior and its independence from the control plane.

The control plane could be the current 3GPP-defined control plane with slight modifications to the N4 interface [TS.29244].

Alternatively, SRv6 could be used in conjunction with a new mobility control plane as described in LISP [I-D.rodrigueznatal-lisp-srv6], hICN [I-D.auge-dmm-hicn-mobility-deployment-options], MFA [I-D.gundavelli-dmm-mfa] or in conjunction with FPC [I-D.ietf-dmm-fpc-cpdp]. The analysis of new mobility control-planes and its applicability to SRv6 is out of the scope of this document.

Section 11 allocates SRv6 endpoint function types for the new functions defined in this document. Control-plane protocols are expected to use these function type codes to signal each function.

SRv6's network programming nature allows a flexible and dynamic UPF placement.

10. Security Considerations

TBD

11. IANA Considerations

IANA is requested to allocate, within the "SRv6 Endpoint Types" sub-registry belonging to the top-level "Segment-routing with IPv6 dataplane (SRv6) Parameters" registry [I-D.filsfils-spring-srv6-network-programming], the following values:

SRv6 Mobile User-plane Endpoint Types
Value/Range Hex Endpoint function Reference
TBA TBA End.MAP [This.ID]
TBA TBA End.M.GTP6.D [This.ID]
TBA TBA End.M.GTP6.E [This.ID]
TBA TBA End.M.GTP4.E [This.ID]
TBA TBA End.Limit [This.ID]

12. Acknowledgements

The authors would like to thank Daisuke Yokota, Bart Peirens, Ryokichi Onishi, Kentaro Ebisawa, Peter Bosch, Darren Dukes, Francois Clad, Sri Gundavelli, Sridhar Bhaskaran, Arashmid Akhavain, Ravi Shekhar and Aeneas Dodd-Noble for their useful comments of this work.

13. Contributors

Kentaro Ebisawa
Ponto Networks
Japan

Email: ebiken@pontonetworks.com

14. References

14.1. Normative References

[I-D.filsfils-spring-segment-routing-policy] Filsfils, C., Sivabalan, S., Hegde, S., daniel.voyer@bell.ca, d., Lin, S., bogdanov@google.com, b., Krol, P., Horneffer, M., Steinberg, D., Decraene, B., Litkowski, S., Mattes, P., Ali, Z., Talaulikar, K., Liste, J., Clad, F. and K. Raza, "Segment Routing Policy Architecture", Internet-Draft draft-filsfils-spring-segment-routing-policy-06, May 2018.
[I-D.filsfils-spring-srv6-network-programming] Filsfils, C., Camarillo, P., Leddy, J., daniel.voyer@bell.ca, d., Matsushima, S. and Z. Li, "SRv6 Network Programming", Internet-Draft draft-filsfils-spring-srv6-network-programming-07, February 2019.
[I-D.ietf-6man-segment-routing-header] Filsfils, C., Previdi, S., Leddy, J., Matsushima, S. and d. daniel.voyer@bell.ca, "IPv6 Segment Routing Header (SRH)", Internet-Draft draft-ietf-6man-segment-routing-header-16, February 2019.
[I-D.voyer-6man-extension-header-insertion] daniel.voyer@bell.ca, d., Leddy, J., Filsfils, C., Dukes, D., Previdi, S. and S. Matsushima, "Insertion of IPv6 Segment Routing Headers in a Controlled Domain", Internet-Draft draft-voyer-6man-extension-header-insertion-05, January 2019.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997.
[RFC8402] Filsfils, C., Previdi, S., Ginsberg, L., Decraene, B., Litkowski, S. and R. Shakir, "Segment Routing Architecture", RFC 8402, DOI 10.17487/RFC8402, July 2018.

14.2. Informative References

[I-D.ali-spring-network-slicing-building-blocks] Ali, Z., Filsfils, C., Camarillo, P. and d. daniel.voyer@bell.ca, "Building blocks for Slicing in Segment Routing Network", Internet-Draft draft-ali-spring-network-slicing-building-blocks-01, March 2019.
[I-D.auge-dmm-hicn-mobility-deployment-options] Auge, J., Carofiglio, G., Muscariello, L. and M. Papalini, "Anchorless mobility management through hICN (hICN-AMM): Deployment options", Internet-Draft draft-auge-dmm-hicn-mobility-deployment-options-01, December 2018.
[I-D.camarillo-dmm-srv6-mobile-pocs] Camarillo, P., Filsfils, C., Bertz, L., Akhavain, A., Matsushima, S. and d. daniel.voyer@bell.ca, "Segment Routing IPv6 for mobile user-plane PoCs", Internet-Draft draft-camarillo-dmm-srv6-mobile-pocs-01, October 2018.
[I-D.camarilloelmalky-springdmm-srv6-mob-usecases] Camarillo, P., Filsfils, C., Elmalky, H., Matsushima, S., daniel.voyer@bell.ca, d., Cui, A. and B. Peirens, "SRv6 Mobility Use-Cases", Internet-Draft draft-camarilloelmalky-springdmm-srv6-mob-usecases-01, January 2019.
[I-D.gundavelli-dmm-mfa] Gundavelli, S., Liebsch, M. and S. Matsushima, "Mobility-aware Floating Anchor (MFA)", Internet-Draft draft-gundavelli-dmm-mfa-01, September 2018.
[I-D.hegdeppsenak-isis-sr-flex-algo] Psenak, P., Hegde, S., Filsfils, C. and A. Gulko, "ISIS Segment Routing Flexible Algorithm", Internet-Draft draft-hegdeppsenak-isis-sr-flex-algo-02, February 2018.
[I-D.ietf-dmm-fpc-cpdp] Matsushima, S., Bertz, L., Liebsch, M., Gundavelli, S., Moses, D. and C. Perkins, "Protocol for Forwarding Policy Configuration (FPC) in DMM", Internet-Draft draft-ietf-dmm-fpc-cpdp-12, June 2018.
[I-D.ietf-spring-segment-routing-central-epe] Filsfils, C., Previdi, S., Dawra, G., Aries, E. and D. Afanasiev, "Segment Routing Centralized BGP Egress Peer Engineering", Internet-Draft draft-ietf-spring-segment-routing-central-epe-10, December 2017.
[I-D.rodrigueznatal-lisp-srv6] Rodriguez-Natal, A., Ermagan, V., Maino, F., Dukes, D., Camarillo, P. and C. Filsfils, "LISP Control Plane for SRv6 Endpoint Mobility", Internet-Draft draft-rodrigueznatal-lisp-srv6-01, January 2019.
[I-D.xuclad-spring-sr-service-programming] Clad, F., Xu, X., Filsfils, C., daniel.bernier@bell.ca, d., Li, C., Decraene, B., Ma, S., Yadlapalli, C., Henderickx, W. and S. Salsano, "Service Programming with Segment Routing", Internet-Draft draft-xuclad-spring-sr-service-programming-01, October 2018.
[TS.23501] 3GPP, "System Architecture for the 5G System", 3GPP TS 23.501 15.0.0, November 2017.
[TS.29244] 3GPP, "Interface between the Control Plane and the User Plane Nodes", 3GPP TS 29.244 15.0.0, December 2017.
[TS.29281] 3GPP, "General Packet Radio System (GPRS) Tunnelling Protocol User Plane (GTPv1-U)", 3GPP TS 29.281 15.1.0, December 2017.
[TS.38415] 3GPP, "Draft Specification for 5GS container (TS 38.415)", 3GPP R3-174510 0.0.0, August 2017.

Appendix A. Implementations

This document introduces new SRv6 functions. These functions have an open-source P4 implementation available in <https://github.com/ebiken/p4srv6>.

There are also implementations in M-CORD NGIC and Open Air Interface (OAI). Further details can be found in [I-D.camarillo-dmm-srv6-mobile-pocs].

Appendix B. Changes from revision 02 to revision 03

This section lists the changes between draft-ietf-dmm-srv6-mobile-uplane revisions ...-02 and ...-03.

Authors' Addresses

Satoru Matsushima SoftBank Tokyo, Japan EMail: satoru.matsushima@g.softbank.co.jp
Clarence Filsfils Cisco Systems, Inc. Belgium EMail: cf@cisco.com
Miya Kohno Cisco Systems, Inc. Japan EMail: mkohno@cisco.com
Pablo Camarillo Garvia Cisco Systems, Inc. Spain EMail: pcamaril@cisco.com
Daniel Voyer Bell Canada Canada EMail: daniel.voyer@bell.ca
Charles E. Perkins Futurewei Inc. 2330 Central Expressway Santa Clara, CA 95050 USA Phone: +1-408-330-4586 EMail: charliep@computer.org