<?xml version="1.0" encoding="UTF-8"?>
<!--  Edited by Dino Farinacci farinacci@gmail.com -->

<!DOCTYPE rfc SYSTEM "rfc2629.dtd">

<rfc category="exp" 
     ipr="trust200902" docName="draft-farinacci-lisp-mobile-network-16">

<?rfc toc="yes" ?>
<?rfc symrefs="yes" ?>
<?rfc sortrefs="yes"?>
<?rfc iprnotified="no" ?>
<?rfc strict="yes" ?>

<front>
  <title abbrev="LISP for the Mobile Network">
    LISP for the Mobile Network</title>

  <author initials='D' surname="Farinacci" fullname='Dino Farinacci'>
    <organization>lispers.net</organization>
    <address><postal>
      <street></street>
      <city>San Jose</city> <region>CA</region>
      <code></code>
      <country>USA</country>
    </postal>
    <email>farinacci@gmail.com</email></address>
  </author>

  <author initials='P' surname="Pillay-Esnault" 
    fullname='Padma Pillay-Esnault'>
    <organization>Independent</organization>
    <address><postal>
      <street></street>
      <city>Santa Clara</city> <region>CA</region>
      <code></code>
      <country>USA</country>
    </postal>
    <email>padma.ietf@gmail.com</email></address>
  </author>

  <author initials='U' surname="Chunduri" fullname='Uma Chunduri'>
    <organization>Intel Corporation</organization>
    <address><postal>
      <street></street>
      <city>Santa Clara</city> <region>CA</region>
      <code></code>
      <country>USA</country>
    </postal>
    <email>umac.ietf@gmail.com</email></address>
  </author>

  <date></date>

  <abstract>
    <t>This specification describes how the LISP architecture and
    protocols can be used in a LTE/5G mobile network to support
    session survivable EID mobility. A recommendation is provided to
    SDOs on how to integrate LISP into the mobile network.</t>
  </abstract>
</front>

<middle>
  <section title="Introduction">
    <t>The LISP architecture and protocols <xref target="RFC9300"/>
    introduces two new numbering spaces, Endpoint Identifiers (EIDs)
    and Routing Locators (RLOCs) which provide an architecture to
    build overlays on top of the underlying Internet. Mapping EIDs to
    RLOC-sets is accomplished with a Mapping Database System. By using
    a level of indirection for routing and addressing, separating an
    address identifier from its location can allow flexible
    and scalable mobility. By assigning EIDs to mobile devices and
    RLOCs to the network nodes that support such mobile devices, LISP
    can provide seamless mobility.</t>

    <t>For a reading audience unfamiliar with LISP, a brief tutorial level
    document is available at <xref target="RFC9299"/>.</t>

    <t>This specification will describe how LISP can be used to
    provide layer-3 mobility within and across an LTE <xref
    target="LTE401-3GPP"/> <xref target="LTE402-3GPP"/> and 5G <xref
    target="ARCH5G-3GPP"/> <xref target="PROC5G-3GPP"/> mobile
    network.</t>

    <t>The following are the design requirements:</t>
    <t><list style="numbers">
      <t>Layer-3 address mobility is provided within a mobile network
      RAN supported by a UPF/pGW region (intra-UPF/pGW) as well as
      across UPF/pGW regions (inter-UPF/pGW).</t>

      <t>UE nodes can get layer-3 address mobility when roaming off the mobile
      network to support Fixed Mobile Convergence <xref target="FMC"/>.</t>
      
      <t>Transport layer session survivability exists while roaming within, 
      across, and off of the mobile network.</t>

      <t>No address management is required when UEs roam. EID addresses are
      assigned to UEs at subscription time. EIDs can be reassigned when
      UE ownership changes.</t>

      <t>The design will make efficient use of radio resources thereby not
      adding extra headers to packets that traverse the RAN.</t>

      <t>The design can support IPv4 unicast and multicast packet delivery
      and will support IPv6 unicast and multicast packet delivery.</t>

      <t>The design will allow use of both the GTP <xref
      target="GTPv1-3GPP"/> <xref target="GTPv2-3GPP"/> and LISP <xref
      target="RFC9300"/> data-planes while using the LISP
      control-plane and mapping system.</t>

      <t>The design can be used for either 4G/LTE and 5G mobile
      networks and may be able to support interworking between the
      different mobile networks.</t>

      <t>The LISP architecture provides a level of indirection for
      routing and addressing. From a mobile operator's perspective,
      these mechanisms provide advantages and efficiencies for the
      URLLC, FMC, and mMTC use cases. See <xref target="glossary"/> for
      definitions and references of these use cases.</t>
    </list></t>

    <t>The goal of this specification is take advantage of LISP's
    non-disruptive incremental deployment benefits. This can be
    achieved by changing the fewest number of components in the mobile
    network. The proposal suggests adding LISP functionality only to
    gNB/eNodeB and UPF/pGW nodes. There are no hardware or software changes to
    the UE devices or the RF-based RAN to realize this architecture.
    The LISP mapping database system is deployed as an addition to the
    mobile network and does not require any coordination with existing
    management and provisioning systems.</t>

    <t>Similar ID Oriented Networking (ION) mechanisms for the 5G
    <xref target="ARCH5G-3GPP"/> <xref target="PROC5G-3GPP"/> mobile
    network are also being considered in other standards organizations
    such as ETSI <xref target="ETSI-NGP"/> and ITU <xref
    target="ITU-IMT2020"/>. The NGMN Alliance describes Locator/ID
    separation as an enabler to meet Key Performance Indicator
    Requirements <xref target="NGMN"/>.</t>
  </section>

  <section title="Definition of Terms" anchor="glossary">
    <t><list style="hanging">
      <t hangText="xTR:">Is a LISP node in the network that runs the
      LISP control-plane and data-plane protocols according to <xref
      target="RFC9300"/> and <xref
      target="RFC9301"/>. A formal definition of an
      xTR can be found in <xref
      target="RFC9300"/>. In this specification, a
      LISP xTR is a node that runs the LISP control-plane with the GTP
      data-plane.</t>

      <t hangText="EID:">Is an Endpoint Identifier. EIDs are assigned
      to UEs and other Internet nodes in LISP sites. A formal
      definition of an EID can be found in <xref
      target="RFC9300"/>.</t>

      <t hangText="UE EID:">A UE can be assigned an IPv4 and/or an
      IPv6 address either statically, or dynamically as is the
      procedure in the mobile network today.  These IP addresses are
      known as LISP EIDs and are registered to the LISP mapping
      system. These EIDs are used as the source address in packets that
      the UE originates.</t>

      <t hangText="RLOC:">Is an Routing Locator. RLOCs are assigned to
      gNB/eNodeBs and UPF/pGWs and other LISP xTRs in LISP sites. A
      formal definition of an RLOC can be found in <xref
      target="RFC9300"/>.</t>

      <t hangText="Mapping System:">Is the LISP mapping database
      system that stores EID-to-RLOC mappings. The mapping system is
      centralized for use and distributed to scale and secure
      deployment. LISP Map-Register messages are used to publish
      mappings and LISP Map-Requests messages are used to lookup
      mappings. LISP Map-Reply messages are used to return
      mappings. EID-records are used as lookup keys, and RLOC-records
      are returned as a result of the lookup.  Details can be found in
      <xref target="RFC9301"/>.</t>

      <t hangText="LISP Control-Plane:">In this specification, a LISP
      xTR runs the LISP control-plane which originates, consumes, and
      processes Map-Request, Map-Register, Map-Reply, and Map-Notify
      messages.</t>

      <t hangText="RAN:">Radio Access Network where UE nodes connect to
      gNB/eNodeB nodes via radios to get access to the Internet.</t>

      <t hangText="EPC:">Evolved Packet Core <xref target="EPS-3GPP"/> system
      is the part of the mobile network that allows the RAN to connect
      to a data packet network. The EPC is a term used for the 4G/LTE
      mobile network.</t>

      <t hangText="NGC:">Next Generation Core <xref
      target="EPS-3GPP"/> system is the part of the 5G mobile network
      that allows the RAN to connect to a data packet network. The NGC
      is roughly equivalent to the 4G EPC.</t>

      <t hangText="GTP:">GTP <xref target="GTPv1-3GPP"/> <xref
      target="GTPv2-3GPP"/> is the UDP tunneling mechanism used in the
      LTE/4G and 5G mobile network.</t>

      <t hangText="UE:">User Equipment as defined by <xref target="GPRS-3GPP"/>
      which is typically a mobile phone. The UE is connected to the network
      across the RAN to gNB/eNodeB nodes.</t>
      
      <t hangText="eNodeB:">Is the device defined by <xref
      target="GPRS-3GPP"/> which borders the RAN and connects UEs to
      the EPC in a 4G/LTE mobile network. The eNodeB nodes are
      termination point for a GTP tunnel and are LISP xTRs. The
      equivalent term in the 5G mobile network is "(R)AN" and
      "5G-NR", or simply "gNB". In this document, the two terms are used
      interchangeably.</t>

      <t hangText="pGW:">Is the PDN-Gateway as defined by <xref
      target="GPRS-3GPP"/> which connects the EPC in a 4G/LTE mobile network
      to the Internet. The pGW nodes are termination point for a GTP
      tunnel and is a LISP xTR. The equivalent user/data-plane term in
      the 5G mobile network is the "UPF", which also has the
      capability to chain network functions. In this document, the two
      terms are used interchangeably to mean the border point from the
      EPC/NGC to the Internet.</t>

      <t hangText="URLLC:">Ultra-Reliable and Low-Latency provided by
      the 5G mobile network for the shortest path between UEs <xref
      target="NGMN"/>.</t>

      <t hangText="FMC:">Fixed Mobile Convergence <xref target="FMC"/>
      is a term used that allows a UE device to move to and from the
      mobile network. By assigning a fixed EID to a UE device, LISP
      supports transport layer continuity between the mobile
      network and a fixed infrastructure such as a WiFi network.</t>

      <t hangText="mMTC:">Massive Machine-Type Services <xref target="mMTC"/>
      is a term used to refer to using the mobile network for large-scale
      deployment of Internet of Things (IoT) applications.</t>
    </list></t>
  </section>

  <section title="Design Overview">
    <t>LISP will provide layer-3 address mobility based on the
    procedures in <xref target="I-D.ietf-lisp-eid-mobility"/> where
    the EID and RLOCs are not co-located. In this design, the EID is
    assigned to the UE device and the RLOC(s) are assigned to
    gNB/eNodeB nodes. So any packets going to a UE are always
    encapsulated to the gNB/eNodeB that associates with the UE.  For
    data flow from the UE to any EIDs (or destinations to non-LISP
    sites) that are outside of the NGC/EPC, use the RLOCs of the UPF/pGW
    nodes so the UPF/pGW can send packets into the Internet core
    (unencapsulated).</t>

    <t>The following procedures are used to incorporate LISP in the
    NGC/EPC:</t>
    <t><list style="symbols"> 
      <t>UEs are assigned EIDs. They usually never change. They
      identify the mobile device and are used for transport
      connections. If privacy for EIDs is desired, refer to details in
      <xref target="I-D.ietf-lisp-eid-anonymity"/>.</t>

      <t>gNB/eNodeB nodes are LISP xTRs. They have GTP, and optionally
      LISP, tunnels to the UPF/pGW nodes. The gNB/eNodeB is the RLOC for
      all EIDs assigned to UE devices that are attached to the
      gNB/eNodeB.</t>

      <t>UPF/pGW nodes are LISP xTRs. They have GTP, and optionally
      LISP, tunnels to the gNB/eNodeB nodes. The UPF/pGW is the RLOC
      for all traffic destined for the Internet.</t>

      <t>The LISP mapping system runs in the NGC/EPC. It maps EIDs to
      RLOC-sets.</t>

      <t>Traffic from a UE to UE within a UPF/pGW region can be
      encapsulated from gNB/eNodeB to another gNB/eNodeB or via the
      UPF/pGW, acting as an RTR <xref
      target="RFC9300"/>, to provide data-plane
      policy.</t>

      <t>Traffic from a UE to UE across a UPF/pGW region have these options
      for data flow:
    
      <list style="numbers">
	    <t>Encapsulation by a gNB/eNodeB in one region to a gNB/eNodeB in
	    another region.</t>

	    <t>Encapsulation by a gNB/eNodeB in one region to a UPF/pGW in the
	    same region and then the UPF/pGW reencapsulates to a gNB/eNodeB in
	    another region.</t>

	    <t>Encapsulation by a gNB/eNodeB in one region to a UPF/pGW in another
	    region and then the UPF/pGW reencapsulates to a gNB/eNodeB in its same
	    region</t>

        <t>Encapsulation by the gNB/eNodeB to a LISP xTR outside of the
        mobile network. An xTR outside of the mobile network could be
        a router in a data-center, a router at the edge of a WAN at a
        remote branch, or a WiFi access-point, and even a gNB/eNodeB in
        another carrier's mobile network. All these deployment options
        are to be considered for future architectures.</t>
      </list></t>

      <t>Note when encapsulation happens between a gNB/eNodeB and a UPF/pGW,
      GTP is used as the data-plane and when encapsulation between two
      gNB/eNodeBs occur, LISP can be used as the data-plane when there is no
      X2 interface <xref target="X2-3GPP"/> between the gNB/eNodeB nodes.</t>

      <t>The UPF/pGW nodes register their RLOCs for a default EID-prefix
      to the LISP mapping system. This is done so gNB/eNodeB nodes can find
      UPF/pGW nodes to encapsulate to.</t>

      <t>The gNB/eNodeB nodes register EIDs to the mapping system for the
      UE nodes. The registration occurs when gNB/eNodeB nodes discover the
      layer-3 addresses of the UEs that connect to them. The gNB/eNodeB nodes
      register multiple RLOCs associated with the EIDs to get multi-homing
      and path diversity benefits from the NGC/EPC network.</t>

      <t>When a UE moves off a gNB/eNodeB, the gNB/eNodeB node
      deregisters itself as an RLOC for the EID associated with the
      UE.</t>

      <t>Optionally, and for further study for future architectures,
      the gNB/eNodeB or UPF/pGW could encapsulate to an xTR that is
      outside of the NGC/EPC network. They could encapsulate to a LISP
      CPE router at a branch office, a LISP top-of-rack router in a
      data center, a LISP wifi access-point, LISP border routers at a
      hub site, and even a LISP router running in a VM or container on
      a server.</t>
    </list></t>

    <t>The following diagram illustrates the LTE mobile network
    topology and structure <xref target="LTE401-3GPP"/> <xref
    target="LTE402-3GPP"/>:</t>

    <figure align="center" title="LTE/5G Mobile Network Architecture"> 
      <artwork><![CDATA[

             (--------------------------------------------)
             (                                            )
             (                  Internet                  )
             (                                            )
             (--------------------------------------------)
                       |                         |
                       |                         |
             (---------|---------)     (---------|---------)
             (      UPF-pGW      )     (      UPF-pGW      )
             (                   )     (                   )
             (      NGC/EPC      )     (     NGC/EPC       )
             (                   )     (                   )
             ( gNB-eNB  gNB-eNB  )     ( gNB-eNB  gNB-eNB  )
             (---/--\-----/--\---)     (---/--\-----/--\---)
                /    \   /    \           /    \   /    \
               /      \ /      \         /      \ /      \
              /                 \       /                 \
             /        RAN        \     /        RAN        \
            /                     \   /                     \
           (   UE      UE      UE  ) (  UE       UE      UE  )

       ]]></artwork>
    </figure>

    <t>The following diagram illustrates how LISP is used on the mobile
    network:</t>

    <figure align="center" title="Mobile Network with EID/RLOC Assignment">
      <artwork><![CDATA[
(1) IPv6 EIDs are assigned to UEs.
(2) RLOCs assigned to gNB/eNodeB nodes are [a1,a2], [b1,b2], [c1,c2], [d1,d2] 
    on their uplink interfaces.
(3) RLOCs assigned to UPF/pGW nodes are [p1,p2], [p3,p4].
(4) RLOCs can be IPv4 or IPv6 addresses or mixed RLOC-sets.

             (--------------------------------------------)
             (                                            )
             (                  Internet                  )
             (                                            )
             (--------------------------------------------)
                       |                         |
                       |                         |
             (---------|---------)     (---------|---------)
             (      UPF-pGW      )     (      UPF-pGW      )
             (       p1 p2       )     (       p3 p4       )
             (                   )     (                   )
             (      NGC/EPC      )     (     NGC/EPC       )
             (                   )     (                   )
             (  a1  a2   b1  b2  )     (  c1  c2   d1  d2  )
             ( gNB-eNB  gNB-eNB  )     ( gNB-eNB  gNB-eNB  )
             (---/--\-----/--\---)     (---/--\-----/--\---)
                /    \   /    \           /    \   /    \
               /      \ /      \         /      \ /      \
              /                 \       /                 \
             /        RAN        \     /        RAN        \
            /                     \   /                     \
           (   UE      UE      UE  ) (  UE       UE      UE  )
    EIDs:     a::1    b::1    c::1     x::1     y::1    z::1
       ]]></artwork>
    </figure>

    <figure align="center">
      <artwork><![CDATA[
The following table lists the EID-to-RLOC entries that reside in the
LISP Mapping System when the above UEs are are attached to the 4 
gNB/eNodeBs:

EID-Record  RLOC-Record       Commentary
0::/0       [p1,p2,p3 p4]     gNB/eNodeBs encap to p1-p4 for Internet
                              destinations which are non-EIDs (1)

a::1/128    [a1,a2]           UPF/pGWs load-split traffic to [a1,a2] 
                              for UE a::1 and it can move to [b1,b2] (2)

b::1/128    [a1,a2]           gNB/eNodeB tracks both UEs a::1 and b::1,
                              it can do local routing between the 
                              UEs (3)

c::1/128    [b1,b2]           UE c::1 can roam to [c1,c2] or [d1,d2],
                              may use UPF/pGW [p1,p2] after move (4)

x::1/128    [c1,c2]           UE x::1 can talk directly to UE y::1,
                              gNB/eNodeBs encap to each other (5)

y::1/128    [d1,d2]           UE can talk to Internet when [d1,d2],
                              encap to UPF/pGW [p3,p4] or use backup 
                              [p1,p2] (6)

z::1/128    [d1,d2]           UE z::1 can talk to a::1 directly where 
                              [d1,d2] encaps to [a1,a2] (7)
       ]]></artwork>
    </figure>

    <t>(1) For packets that flow from UE nodes to destinations that
    are not in LISP sites, the gNB/eNodeB node uses one of the RLOCs
    p1, p2, p3, or p4 as the destination address in the outer
    encapsulated header. Encapsulated packets are then routed by the
    NGC/EPC core to the UPF/pGW nodes. In turn, the UPF/pGW nodes,
    then route packets into the Internet core.</t>

    <t>(2) Packets that arrive to UPF/pGW nodes from the Internet
    destined to UE nodes are encapsulated to one of the gNB/eNodeB
    RLOCs a1, a2, b1, b2.  When UE, with EID a::1 is attached to the
    leftmost gNB/eNodeB, the EID a::1 is registered to the mapping
    system with RLOCs a1 and a2. When UE with EID c::1 is attached to
    the rightmost gNB/eNodeB (in the left region), the EID c::1 is
    registered to the mapping system with RLOCs b1 and b2.</t>

    <t>(3) If UE with EID a::1 and UE with EID b::1 are attached to
    the same gNB/eNodeB node, the gNB/eNodeB node tracks what radio
    interface to use to route packets from one UE to the other.</t>

    <t>(4) If UE with EID c::1 roams away from gNB/eNodeB with RLOCs
    b1 and b2, to the gNB/eNodeB with RLOCs c1 and c2 (in the
    rightmost region), packets destined toward the Internet, can use
    any UPF/pGW. Any packets that flow back from the Internet can use
    any UPF/pGW. In either case, the UPF/pGW is informed by the
    mapping system that the UE with EID c::1 has new RLOCs and should
    now encapsulate to either RLOC c1 or c2.</t>

    <t>(5) When UE with EID x::1 is attached to gNB/eNodeB with RLOCs
    c1 and c2 and UE with EID y::1 is attached to gNB/eNodeB with
    RLOCs d1 and d2, they can talk directly, on the shortest path to
    each gNB/eNodeB, when each encapsulates packets to each other's
    RLOCs.</t>

    <t>(6) When packets from UE with EID y::1 are destined for the
    Internet, the gNB/eNodeB with RLOCs d1 and d2 that the UE is
    attached to can use any exit UPF/pGWs RLOCs p1, p2, p3, or p4.</t>

    <t>(7) UE with EID z::1 can talk directory to UE with EID a::1 by
    each gNB/eNodeB they are attached to encapsulsates to each other's
    RLOCs. In case (5), the two gNB/eNodeB's were in the same
    region. In this case, the gNB/eNodeBs are in different
    regions.</t>

    <t>The following abbreviated diagram shows a topology that illustrates
    how a UE roams with LISP across UPF/pGW regions:</t>
    <figure align="center" title="UE EID Mobility">
      <artwork><![CDATA[


             (--------------------------------------------)
             (                                            )
             (                  Internet                  )
             (                                            )
             (--------------------------------------------)
                       |                         |
                       |                         |
             (---------|---------)     (---------|---------)
             (      UPF-pGW      )     (      UPF-pGW      )
             (       p1 p2       )     (       p3 p4       )
             (                   )     (                   )
             (      NGC/EPC      )     (      NGC/EPC      )
             (                   )     (                   )
             (  a1  a2   b1  b2  )     (  c1  c2   d1  d2  )
             ( gNB-eNB  gNB-eNB  )     ( gNB-eNB  gNB-eNB  )
             (---/--\-----/--\---)     (---/--\-----/--\---)
                /    \   /    \           /    \   /    \
               /      \ /      \         /      \ /      \
              /                 \       /                 \
             /        RAN        \     /        RAN        \
            /                     \   /                     \
           (   UE    ------------------------------>  UE     )
              a::1                                   a::1
       ]]></artwork>
    </figure>

    <figure align="center">
      <artwork><![CDATA[
The contents of the LISP mapping database before UE moves:

EID-Record  RLOC-Record       Commentary
0::/0       [p1,p2,p3,p4]     gNB/eNodeB [a1,a2] encaps to p1-p4 for 
                              Internet destinations when a::1 on 
                              gNB/eNodeB [a1,a2]

a::1/128    [a1,a2]           Before UE moves to other UPF/pGW region

The contents of the LISP mapping database after UE moves:

EID-Record  RLOC-Record       Commentary
0::/0       [p1,p2,p3,p4]     gNB/eNodeB [d1,d2] encaps to p1-p4 for
                              Internet destinations when a::1 moves to
                              gNB/eNodeB [d1,d2]

a::1/128    [d1,d2]           After UE moves to new UPF/pGW region
       ]]></artwork>
    </figure>
  </section>

  <section title="Addressing and Routing">
    <t>UE based EID addresses will be IPv6 addresses. It will be
    determined at a future time what length the IPv6 prefix will be to
    cover all UEs in a mobile network. This coarse IPv6 prefix is
    called an EID-prefix where more-specific EID-prefixes will be
    allocated out of it for each UPF/pGW node. Each UPF/pGW node is responsible
    for advertising the more-specific EID-prefix into the Internet
    routing system so they can attract packets from non-EIDs nodes to 
    UE EIDs.</t>

    <t>An RLOC address will either be an IPv4 or IPv6 address
    depending on the support for single or dual-stack address-family 
    in the NGC/EPC network. An RLOC-set in the mapping system can have a
    mixed address-family locator set. There is no requirement for the
    NGC/EPC to change to support one address-family or the other. And
    there is no requirement for the NGC/EPC network to support IPv4
    multicast or IPv6 multicast. The LISP overlay will support both.</t>

    <t>The only requirement for RLOC addresses is that they are
    routable in the NGC/EPC and the Internet.</t>

    <t>The requirements of the LISP and GTP data-plane overlay is to
    support a layer-3 overlay network only. There is no architectural
    requirement to support layer-2 overlays. However, operators may
    want to provide a layer-2 LAN service over their mobile network.
    Details about how LISP supports layer-2 overlays can be
    found in <xref target="I-D.ietf-lisp-eid-mobility"/>.</t>
  </section>

  <section title="gNB/eNodeB LISP Functionality">
    <t>The gNB/eNodeB node runs as a LISP xTR for control-plane
    functionality and runs GTP for data-plane
    functionality. Optionally, the LISP data-plane can be used to
    establish dynamic tunnels from one gNB/eNodeB node to another
    gNB/eNodeB node.</t>

    <t>The gNB/eNodeB LISP xTR will follow the procedures of <xref
    target="I-D.ietf-lisp-eid-mobility"/> to discover UE based EIDs,
    track them by monitoring liveness, registering them when appear,
    and deregistering them when they move away. Since the gNB/eNodeB
    node is an xTR, it is acting as a layer-3 router and the GTP
    tunnel from the gNB/eNodeB node to the UPF/pGW node is realizing a
    layer-3 overlay. This will provide scaling benefits since
    broadcast and link-local multicast packets won't have to travel
    across the NGC/EPC to the UPF/pGW node.</t>

    <t>A day in the life of a UE originated packet:</t>

    <t><list style="numbers">
      <t>The UE node originates an IP packet over the RAN.</t>

      <t anchor="LEARN">The gNB/eNodeB receives an IPv4/IPv6 packet,
      it extracts the source address from the packet, learns the UE
      based EID, stores its RAN location locally and registers the EID
      to the mapping system.</t>

      <t>The gNB/eNodeB extracts the destination address, looks up the
      address in the mapping system. The lookup returns the RLOC of a
      UPF/pGW node if the destination is not an EID or an RLOC gNB/eNodeB node
      if the destination is a UE based EID.</t>

      <t>The gNB/eNodeB node encapsulates the packet to the RLOC using GTP
      or optionally the LISP data-plane.</t>
    </list></t>
    
    <t>It is important to note that in <xref
    target="I-D.ietf-lisp-eid-mobility"/>, EID discovery occurs when a
    LISP xTR receives an IP or ARP/ND packet. However, if there are
    other methods to discover the EID of a device, like in UE call setup,
    the learning and registration referenced in <xref target="LEARN"/>
    can happen before any packet is sent.</t>
  </section>

  <section title="UPF/pGW LISP Functionality">
    <t>The UPF/pGW node runs as a LISP xTR for control-plane functionality
    and runs GTP for data-plane functionality. Optionally, the LISP data-plane
    can be used to establish dynamic tunnels from one UPF/pGW node to another
    UPF/pGW or gNB/eNodeB node.</t>

    <t>The UPF/pGW LISP xTR does not follow the EID mobility
    procedures of <xref target="I-D.ietf-lisp-eid-mobility"/> since it
    is not responsible for discovering UE based EIDs. A UPF/pGW LISP
    xTR simply follows the procedures of a PxTR in <xref
    target="RFC9300"/> and for interworking to
    non-EID sites in <xref target="RFC6832"/>.</t>

    <t>A day in the life of a UPF/pGW received packet:</t>
      <t><list style="numbers">
	    <t>The UPF/pGW node receives a IP packet from the Internet core.</t>

	    <t>The UPF/pGW node extracts the destination address from the
	    packet and looks it up in the LISP mapping system. The lookup
	    returns an RLOC of a gNB/eNodeB node. Optionally, the RLOC
	    could be another UPF/pGW node.</t>

	    <t>The UPF/pGW node encapsulates the packet to the RLOC using
	    GTP or optionally the LISP data-plane.</t>
      </list></t>
  </section>

  <section title="Compatible Data-Plane using GTP">
    <t>Since GTP is a UDP based encapsulating tunnel protocol, it has the
    same benefits as LISP encapsulation. At this time, there appears to be
    no urgent need to not continue to use GTP for tunnels between a gNB/eNodeB
    nodes and between a gNB/eNodeB node and a UPF/pGW node.</t>

    <t>There are differences between GTP tunneling and LISP tunneling.
    GTP tunnels are setup at call initiation time. LISP tunnels are
    dynamically encapsulating, used on demand, and don't need setup or
    teardown. The two tunneling mechanisms are a hard state versus soft
    state tradeoff.</t>

    <t>This specification recommends for early phases of deployment,
    to use GTP as the data-plane so a transition for it to use the LISP
    control-plane can be achieved more easily. At later phases, the LISP
    data-plane may be considered so a more dynamic way of using
    tunnels can be achieved to support URLLC.</t>

    <t>This specification recommends the use of procedures from <xref
    target="I-D.ietf-lisp-eid-mobility"/> and NOT the use of LISP-MN <xref
    target="I-D.ietf-lisp-mn"/>. Using LISP-MN states that a LISP xTR resides
    on the mobile UE. This is to be avoided so extra encapsulation header
    overhead is NOT sent on the RAN. The LISP data-plane or control-plane
    will not run on the UE.</t>
  </section>
  
  <section title="Roaming and Packet Loss">
    <t>Using LISP for the data-plane has some advantages in terms of
    providing near-zero packet loss. In the current mobile network,
    packets are queued on the gNB/eNodeB node the UE is roaming to or
    rerouted on the gNB/eNodeB node the UE has left. In the LISP
    architecture, packets can be sent to multiple "roamed-from" and
    "roamed-to" nodes while the UE is moving or is off the RAN.  See
    mechanisms in <xref target="I-D.ietf-lisp-predictive-rlocs"/>
    for details.</t>
  </section>

  <section title="Mobile Network LISP Mapping System">
    <t>The LISP mapping system stores and maintains EID-to-RLOC
    mappings. There are two mapping database transport systems that
    are available for scale, LISP-ALT <xref target="RFC6836"/> and
    LISP-DDT <xref target="RFC8111"/>.  The mapping system will store
    EIDs assigned to UE nodes and the associated RLOCs assigned to
    gNB/eNodeB nodes and UPF/pGW nodes. The RLOC addresses are
    routable addresses by the NGC/EPC network.</t>

    <t>This specification recommends the use of LISP-DDT.</t>
  </section>

  <section title="LISP Over the 5G N3/N6/N9 Interfaces">
    <t>So far in this specification we have described how LISP runs on
    the gNB and UPF nodes in the mobile network. In the 5G
    architecture <xref target="ARCH5G-3GPP"/> definition, some key
    components are Access and Mobility Management Function (AMF) and
    the Session Management Function (SMF). These two components
    provide control plane functionality to off-load session anchoring
    by distributing state and packet flow among multiple nodes in the
    NGC. These functions control the data-plane anchors deployed in
    Branch Point Uplink Classifier (BP/ULCL) in UPF data-plane nodes.</t>

    <t>Here is an illustration where a BP/ULCL-UPF node would appear in the
    mobile network:</t>

    <figure align="center">
      <artwork><![CDATA[

             (--------------------------------------------)
             (                  Internet                  )
     +->     (--------------------------------------------)
     |                             |              
     N6                            |
     |                   (---------|---------)
     +->                 (        UPF        )         <-+
                     NGC (      [p1,p2]      )           |
                         (                   )           N9
     +->                 (      BP/ULCL      )           |
     |                   (     UPF [p3,p4]   )         <-+
     N3                  (                   )
     |                   (  [a1]      [a2]   )
     +->                 (   gNB      gNB    )
                         (---/--\-----/--\---)
                            /    \   /    \    
                           /                \  
                          /       RAN        \ 
                         /                    \
                        (  UE      UE      UE  )
                          a::1    a::2    a::3
      ]]></artwork>
    </figure>

    <t>The BP/ULCL-UPF node is configured as an LISP RTR and uses the
    Traffic Engineering features of LISP specified in <xref
    target="I-D.ietf-lisp-te"/>. In LISP-TE an Explicit Locator Path
    (ELP) can be stored in the RLOC-record for any given EID thereby
    allowing packet flow from a UE to the Internet to traverse through the
    BP/UCLC-UPF node. A UE originated packet is encapsulated by the
    gNB to the BP/ULCL-UPF which decapsulates and reencapsulates to
    the UPF at the Internet border. This allows LISP to run over the
    5G N3 and N9 interface with one mapping entry. And if the ELP
    contained an xTR outside of the mobile network, LISP could also
    run over the N6 interface.</t>

        <figure align="center">
      <artwork><![CDATA[
The contents of the LISP mapping database:

EID-Record  RLOC-Record       Commentary
0::/0       [ELP{a1,p3,p1},   4 RLOC-records, 2 with paths through the
             ELP{a1,p4,p2},   BP-UPF and 2 directly to the border UPF
             p1, p2]          from UEs connected to gNB with RLOC a1

a::1/128     [a1,a2]          The UPF or BP-UPF can encap directly for
                              UE with EID a::1 to either gNB with 
                              optimized latency

a::2/128     [ELP{p1,p3,a2},  The UPF can encap to either RLOC p3 or p4
              ELP{p1,p4,a2}]  to forward traffic through the BP-UPF on
                              its way toward gNB with RLOC a1

a::3/128     [ELP{p1,p3,a2},  The UPF can encap to the BP-UPF or
              a2]             directly to gNB with RLOC a2 to reach UE
                              with EID a::3
       ]]></artwork>
    </figure>

  </section>

  <section title="Multicast Considerations">
    <t>Since the mobile network runs the LISP control-plane, and the mapping
    system is available to support EIDs for unicast packet flow, it can also
    support multicast packet flow. Support for multicast can be provided
    by the LISP/GTP overlay with no changes to the NGC/EPC network.</t>

    <t>Multicast (S-EID,G) entries can be stored and maintained in the
    same mapping database that is used to store UE based EIDs. Both
    Internet connected nodes, as well as UE nodes, can source
    multicast packets. The protocol procedures from <xref
    target="RFC8378"/> are followed to make multicast delivery
    available. Both multicast packet flow and UE mobility can occur at
    the same time.</t>

    <t>A day in the life of a 1-to-many multicast packet:</t>
    <t><list style="numbers">
      <t>A UE node joins an (S,G) multicast flow by using IGMPv2 or
      IGMPv3.</t>

	  <t>The gNB/eNodeB node records which UE on the RAN should get
	  packets sourced by S and destined for group G.</t>

	  <t>The gNB/eNodeB node registers the (S,G) entry to the mapping
	  system with its RLOC according to the receiver site procedures
	  in <xref target="RFC8378"/>. The gNB/eNodeB does this to show
	  interest in joining the multicast flow.</t>

	  <t>When other UE nodes join the same (S,G), their associated
	  gNB/eNodeB nodes will follow the procedures in steps 1 through
	  3.</t>

	  <t>The (S,G) entry stored in the mapping database has an
	  RLOC-set which contains a replication list of all the gNB/eNodeB
	  RLOCs that registered.</t>
	
	  <t>A multicast packet from source S to destination group G
	  arrives at the UPF/pGW. The UPF/pGW node looks up (S,G), gets
	  returned the replication list of all joined gNB/eNodeB nodes and
	  replicates the multicast packet by encapsulating the packet to
	  each of them.</t>

	  <t>Each gNB/eNodeB node decapsulates the packet and delivers the
	  multicast packet to one or more IGMP-joined UEs on the RAN.</t>
    </list></t>
  </section>

  <section title="Security Considerations">
    <t>For control-plane authentication and authorization procedures,
    this specification recommends the mechanisms in <xref
    target="RFC9301"/>, LISP-SEC <xref target="RFC9303"/> and
    LISP-ECDSA <xref target="I-D.farinacci-lisp-ecdsa-auth"/>.</t>

    <t>For data-plane privacy procedures, this specification
    recommends the mechanisms in <xref target="RFC8061"/> When the
    LISP data-plane is used. Otherwise, the NGC/EPC must provide
    data-plane encryption support.</t>
  </section>

  <section title="IANA Considerations">
    <t>There are no specific requests for IANA.</t>
  </section>

  <section title="SDO Recommendations">
    <t>The authors request other Standards Development Organizations
    to consider LISP as a technology for device mobility. It is
    recommended to start with this specification as a basis for design
    and develop more deployment details in the appropriate Standards
    Organizations. The authors are willing to facilitate this
    activity.</t>
  </section>
</middle>

<back>
  <references title='Normative References'>
    <?rfc include="reference.RFC.9299'?>
    <?rfc include="reference.RFC.9300'?>
    <?rfc include="reference.RFC.9301'?>
    <?rfc include="reference.RFC.9303'?>
    <?rfc include="reference.RFC.8061'?>
    <?rfc include="reference.RFC.6836'?>
    <?rfc include="reference.RFC.8111'?>
    <?rfc include="reference.RFC.8378'?>
    <?rfc include="reference.RFC.6832'?>
  </references>

  <references title='Informative References'>
    <?rfc include='http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-lisp-eid-mobility'?>
    <?rfc include='http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-lisp-mn'?>
    <?rfc include='http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-lisp-predictive-rlocs'?>
    <?rfc include='http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-lisp-eid-anonymity'?>
    <?rfc include='http://xml.resource.org/public/rfc/bibxml3/reference.I-D.farinacci-lisp-ecdsa-auth'?>
    <?rfc include='http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-lisp-te'?>

    <reference anchor="GPRS-3GPP">
      <front>
        <title>General Packet Radio Service (GPRS) for Evolved
        Universal Terrestrial Radio Access Network (E-UTRAN)
        Access</title>
        <author surname="3GPP">
  	<organization />
        </author>
        <date month="January" year="2015"/>
      </front>
      <seriesInfo name="TS23.401 Release 8" 
        value="https://portal.3gpp.org/desktopmodules/specifications/specificationdetails.aspx?specificationid=849"/>
    </reference>
  
    <reference anchor="GTPv2-3GPP">
      <front>
        <title>3GPP Evolved Packet System (EPS); Evolved General
        Packet Radio Service (GPRS) Tunnelling Protocol for Control
        plane (GTPv2-C); Stage 3</title>
        <author surname="3GPP">
  	<organization />
        </author>
        <date month="January" year="2015"/>
      </front>
      <seriesInfo name="TS.29.274" 
        value="https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=1692"/>
    </reference>

    <reference anchor="GTPv1-3GPP">
      <front>
        <title>General Packet Radio System (GPRS) Tunnelling Protocol
        User Plane (GTPv1-U)</title>
        <author surname="3GPP">
  	<organization />
        </author>
        <date month="January" year="2015"/>
      </front>
      <seriesInfo name="TS.29.281" 
        value="https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=1699"/>
    </reference>
  
    <reference anchor="EPS-3GPP">
      <front>
        <title>Non-Access-Stratum (NAS) Protocol for Evolved Packet
        System (EPS); Stage 3</title>
        <author surname="3GPP">
  	<organization />
        </author>
        <date month="December" year="2017"/>
      </front>
      <seriesInfo name="TS.23.501"
        value="https://portal.3gpp.org/desktopmodules/specifications/specificationdetails.aspx?specificationid=1072"/>
    </reference>
  
    <reference anchor="LTE401-3GPP">
      <front>
        <title>General Packet Radio Service (GPRS) enhancements for
        Evolved Universal Terrestrial Radio Access Network (E-UTRAN)
        access</title>
        <author surname="3GPP">
  	<organization />
        </author>
        <date month="January" year="2015"/>
      </front>
      <seriesInfo name="TS.23.401"
        value="https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=849"/>
    </reference>

    <reference anchor="LTE402-3GPP">
      <front>
        <title>Architecture enhancements for non-3GPP accesses</title>
        <author surname="3GPP">
  	<organization />
        </author>
        <date month="January" year="2015"/>
      </front>
      <seriesInfo name="TS.23.402"
        value="https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=850"/>
    </reference>

    <reference anchor="ARCH5G-3GPP">
      <front>
        <title>System Architecture for the 5G System</title>
        <author surname="3GPP">
  	<organization />
        </author>
        <date month="December" year="2016"/>
      </front>
      <seriesInfo name="TS.23.501"
        value="https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=3144"/>
    </reference>

    <reference anchor="PROC5G-3GPP">
      <front>
        <title>Procedures for the 5G System</title>
        <author surname="3GPP">
  	<organization />
        </author>
        <date month="December" year="2016"/>
      </front>
      <seriesInfo name="TS.23.502"
        value="https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=3145"/>
    </reference>

    <reference anchor="X2-3GPP">
      <front>
        <title>Evolved Universal Terrestrial Radio Access Network (E-UTRAN); X2 Application Protocol (X2AP)</title>
        <author surname="3GPP">
  	<organization />
        </author>
        <date month="June" year="2017"/>
      </front>
      <seriesInfo name="TS.36.423"
        value="https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=2452"/>
    </reference>

    <reference anchor="NGMN">
      <front>
        <title>5G End-to-End Architecture Framework</title>
        <author surname="NGMN Alliance">
  	<organization />
        </author>
        <date month="November" year="2020"/>
      </front>
      <seriesInfo name="NGMN"
        value="https://www.ngmn.org/uploads/media/201117-NGMN_E2EArchFramework_v4.31.pdf"/>
    </reference>

    <reference anchor="ETSI-NGP">
      <front>
        <title>NGP Evolved Architecture for mobility using Identity
        Oriented Networks</title>
        <author surname="ETSI-NGP">
  	<organization />
        </author>
        <date month="January" year="2018"/>
      </front>
      <seriesInfo name="NGP-004, version 1.1.1" 
        value="https://portal.etsi.org/webapp/WorkProgram/Report_WorkItem.asp?WKI_ID=50531"/>
    </reference>

    <reference anchor="ITU-IMT2020">
      <front>
        <title>Focus Group on IMT-2020</title>
        <author surname="ITU-FG">
  	<organization />
        </author>
        <date />
      </front>
      <seriesInfo name=""
        value="https://www.itu.int/dms_pubrec/itu-r/rec/m/R-REC-M.687-2-199702-I!!PDF-E.pdf"/>
    </reference>

    <reference anchor="FMC">
      <front>
        <title>[TS23316] 3rd Generation Partnership Project; Technical
          Specification Group Services and System Aspects;
          Wireless and wireline convergence access support
          for the 5G System (5GS) (Release 16), 3GPP TS23.316</title>
        <author surname="ITU">
  	<organization />
        </author>
        <date month="November" year="2018"/>
      </front>
    </reference>

    <reference anchor="mMTC">
      <front>
        <title>NGMN KPIs and Deployment Scenarios for Consideration
        for IMT2020</title>
        <author surname="NGMN Alliance">
  	<organization />
        </author>
        <date month="December" year="2015"/>
      </front>
      <seriesInfo name=""
        value="https://www.ngmn.org/uploads/media/151204_NGMN_KPIs_and_Deployment_Scenarios_for_Consideration_for_IMT_2020_-_LS_Annex_V1_approved.pdf"/>
    </reference>

  </references>
  
  <section title="Acknowledgments">
    <t>The authors would like to thank Gerry Foster and Peter Ashwood
    Smith for their expertise with 3GPP mobile networks and for their
    early review and contributions. The authors would also like to
    thank Fabio Maino, Malcolm Smith, and Marc Portoles for their
    expertise in both 5G and LISP as well as for their early review
    comments.</t>

    <t>The authors would like to give a special thank you to Ryosuke
    Kurebayashi from NTT Docomo and Kalyani Bogineni from Verizon for
    their operational and practical commentary.</t>
  </section>

  <section title="Document Change Log">

    <section title="Changes to draft-farinacci-lisp-mobile-network-16">
      <t><list style="symbols"> 
        <t>Posted March 2023.</t>
        <t>Update references (to propsed standard documents) and document timer.</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-15">
      <t><list style="symbols">
	    <t>Posted September 2022.</t>
        <t>Update references and document timer.</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-14">
      <t><list style="symbols">
	    <t>Posted March 2022.</t>
        <t>Update references and document timer.</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-13">
      <t><list style="symbols">
	    <t>Posted September 2021.</t>
        <t>Updated Uma's affliation.</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-12">
      <t><list style="symbols">
	    <t>Posted September 2021.</t>
        <t>Update references and document timer.</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-11">
      <t><list style="symbols">
	    <t>Posted March 2021.</t>
        <t>Changes to reflect editorial comments from Dirk von-Hugo.</t>
        <t>Updated ITU and 5G references (manually).</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-10">
      <t><list style="symbols">
	    <t>Posted March 2021.</t>
        <t>Update references and document timer.</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-09">
      <t><list style="symbols">
	    <t>Posted September 2020.</t>
        <t>Update references and document timer.</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-08">
      <t><list style="symbols">
	    <t>Posted March 2020.</t>
        <t>Change author affliations.</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-07">
      <t><list style="symbols">
	    <t>Posted March 2020.</t>
        <t>Update references and document timer.</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-06">
      <t><list style="symbols">
	    <t>Posted September 2019.</t>
        <t>Update references and document timer.</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-05">
      <t><list style="symbols">
	    <t>Posted March 2019.</t>
        <t>Update references and document timer.</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-04">
      <t><list style="symbols">
	    <t>Posted September 2018.</t>
        <t>Update document timer.</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-03">
      <t><list style="symbols">
	    <t>Posted March 2018.</t>
        <t>Make the spec more 5G user-friendly. That is, the design has always
        worked for either 4G or 5G but we make it more clear about 5G by using
        some basic 5G node terminlogy.</t>
        <t>Add a section how LISP can work on the N3, N6, and N9 5G spec
        interfaces.</t>
        <t>Describe how LISP-TE can allow BP-UPF offload functionality.</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-02">
      <t><list style="symbols">
	    <t>Posted mid September 2017.</t>
	    <t>Editorial fixes from draft -01.</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-01">
      <t><list style="symbols">
	    <t>Posted September 2017.</t>
	    <t>Explain each EID case illustrated in the "Mobile Network
	    with EID/RLOC Assignment" diagram.</t>
	    <t>Make a reference to mMTC as a 3GPP use-case for 5G.</t>
	    <t>Add to the requirements section how mobile operators
	    believe that using Locator/ID separation mechanisms provide
	    for more efficient mobile netwowks.</t>
	    <t>Indicate that L2-overlays is not recommended by this specification
	    as the LISP mobile network architeture but how operators may want
	    to deploy a layer-2 overlay service.</t>
      </list></t>
    </section>

    <section title="Changes to draft-farinacci-lisp-mobile-network-00">
      <t><list style="symbols">
	    <t>Initial draft posted August 2017.</t>
      </list></t>
    </section>

  </section>
</back>
</rfc>
