<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc SYSTEM "rfc2629-xhtml.ent">
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" submissionType="IETF" docName="draft-allan-5g-fmc-encapsulation-08" category="info" ipr="trust200902" obsoletes="" updates="" xml:lang="en" symRefs="true" sortRefs="false" tocInclude="true" version="3">
  <!-- xml2rfc v2v3 conversion 3.5.0 -->
  <!-- Generated by id2xml 1.5.0 on 2021-02-26T02:20:32Z -->
	<front>
    <title abbrev="5G Wireless Wireline Convergence User Pl">5G Wireless Wireline Convergence User Plane Encapsulation (5WE)</title>
    <seriesInfo name="Internet-Draft" value="draft-allan-5g-fmc-encapsulation-08"/>
    <author initials="D." surname="Allan" fullname="Dave Allan" role="editor">
      <organization>Ericsson</organization>
      <address>
        <postal>
          <street>2455 Augustine Drive</street>
          <city>San Jose</city>
          <region>CA</region>
          <code>95054</code>
          <country>USA</country>
        </postal>
        <email>david.i.allan@ericsson.com</email>
      </address>
    </author>
    <author initials="D." surname="Eastlake 3rd" fullname="Donald E. Eastlake 3rd">
      <organization>Futurewei Technologies</organization>
      <address>
        <postal>
          <street>2386 Panoramic Circle</street>
          <city>Apopka</city>
          <region>FL</region>
          <code>32703</code>
          <country>USA</country>
        </postal>
        <phone>+1-508-333-2270</phone>
        <email>d3e3e3@gmail.com</email>
      </address>
    </author>
    <author initials="D." surname="Woolley" fullname="David Woolley">
      <organization>Telstra Corporation</organization>
      <address>
        <postal>
          <street>242 Exhibition St</street>
          <city>Melbourne</city>
          <region/>
          <code>3000</code>
          <country>Australia</country>
        </postal>
        <email>david.woolley@team.telstra.com</email>
      </address>
    </author>
    <date year="2021" month="March"/>
    <abstract>
      <t>
   As part of providing wireline access to the 5G Core (5GC), deployed
   wireline networks carry user data between 5G residential gateways
   and the 5G Access Gateway Function (AGF). The encapsulation method
   specified in this document supports the multiplexing of traffic for
   multiple PDU sessions within a VLAN delineated access circuit,
   permits legacy equipment in the data path to inspect certain packet
   fields, carries 5G QoS information associated with the packet data,
   and provides efficient encoding. It achieves this by specific points
   of similarity with the RFC 2516 PPPoE data packet encapsulation.</t>
    </abstract>
  </front>
  <middle>
    <section anchor="sect-1" numbered="true" toc="default">
      <name>Introduction</name>
      <t>
   Converged 5G ("fifth generation") wireline networks carry user data
   between 5G residential gateways (5G-RG) and the 5G Access Gateway
   Function (identified as a Wireline-AGF (W-AGF) by 3GPP in [TS23316])
   across deployed access networks based on Broadband Forum <xref target="TR101" format="default"/> and
   <xref target="TR178" format="default"/>. This form of wireline access is considered to be trusted
   non-3GPP access by the 5G system.</t>
      <t>
   The transport encapsulation used needs to meet a variety of
   requirements including the following:</t>
      <ul spacing="normal">
        <li>The ability to multiplex multiple logical connections (Protocol Data Unit
     (PDU) Sessions as defined by 3GPP) within a VLAN identified point to
     point logical circuit between a 5G-RG and a W-AGF.</li>
        <li>To allow unmodified legacy equipment in the data path to identify the
     encapsulation and inspect specific fields in the payload.  Some access
     nodes in the data path between the 5G-RG and the W-AGF (Such as digital
     subscriber loop access multiplexers (DSLAMs) and optical line
     terminations (OLTs)) currently inspect packets identified by specific
     Ethertypes to identify protocols such as the point to point protocol over
     ethernet (PPPoE), IP, ARP, and IGMP. This may be for the purpose of
     enhanced QoS, policing of identifiers and other applications. Some
     deployments are dependent upon this inspection. Such devices are able to
     do this for PPPoE or IP over ethernet (IPoE) packet encodings but would
     be unable to do so if a completely new encapsulation, or an existing
     encapsulation using a new Ethertype, were used.</li>
        <li>To carry per packet 5G QoS information.</li>
        <li>Fixed access residential gateways are sensitive to the complexity
     of packet processing, therefore an encapsulation that minimizes
     processing is an important consideration.</li>
      </ul>
      <t>
   A data encapsulation that uses a common Ethertype and has certain
   fields appearing at the same offset as the PPPoE <xref target="RFC2516" format="default"/> data
   encapsulation can address these requirements. This data
   encapsulation is referred to as the 5G WWC user plane Encapsulation
   or 5WE. Currently deployed access nodes do not police the VER, TYPE
   and CODE fields of an RFC 2516 header, and only perform limited
   policing of stateful functions with respect to the procedures
   documented in RFC 2516. Therefore, these fields have a different
   definition for 5WE and are used to:</t>
      <ul spacing="normal">
        <li>Identify that the mode of operation for packets encapsulated in
     such a fashion uses non-access stratum (NAS, a logical control
     interface between user equipment (UE) and 5GC as specified by
     3GPP) based 5G WWC session establishment and life cycle
     maintenance procedures as documented in [TS23502][TS23316] instead
     of legacy PPP/PPPoE session establishment procedures (i.e. PADI
     discipline, LCP, NCP etc.). In this scenario "discovery" is
     performed by means outside the scope of this document.</li>
        <li>Permit the session ID field to be used to identify the 5G PDU
     session the encapsulated packet is part of.</li>
        <li>Communicate per-packet 5G QoS Flow Identifier (QFI) and
     Reflective QoS Indication (RQI) information from the 5GC to the
     5G-RG.</li>
      </ul>
      <t>
   This 5G specific redesign of fields not inspected by deployed
   equipment results in an encapsulation uniquely applicable to the
   requirements for the communication of PDU session traffic between
   the subscriber premises and the 5G system over wireline networks.
   The 6 byte RFC 2516 data packet header followed by a 2 byte PPP
   protocol ID is also the most frugal of the encapsulations that are
   currently supported by legacy access equipment that could be adapted
   to meet these requirements.</t>
      <t>
   This encapsulation is expected to be used in environments where RFC
   2516 is deployed. Therefore, implementations MUST examine the
   version number:</t>
      <ul spacing="normal">
        <li>if the version number is 1, and PPPoE <xref target="RFC2516" format="default"/> is supported,
     process the frame further, else silently discard it.</li>
        <li>if the version number is 2 and 5WE is supported, process the frame
     further, else silently discard it.</li>
      </ul>
      <t>
   In both cases frames for the supported version number should have
   session IDs corresponding to established sessions for the respective
   protocol models. A 5WE frame with an unrecognized session ID MUST be
   silently discarded.</t>
      <t>
   This encapsulation may have MTU issues when used for Ethernet
   multiplexing in networks where the underlying Ethernet payload is
   limited to 1500 bytes.</t>
      <t>
   This encapsulation is not suitable for other network environments,
   e.g., general use over the public Internet.</t>
      <section anchor="sect-1.1" numbered="true" toc="default">
        <name>Requirements Language</name>
        <t>
   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED",
   "MAY", and "OPTIONAL" in this document are to be interpreted as
   described in BCP 14 <xref target="RFC2119" format="default"/> <xref target="RFC8174" format="default"/> when, and only when, they
   appear in all capitals, as shown here.</t>
      </section>
      <section anchor="sect-1.2" numbered="true" toc="default">
        <name>Acronyms</name>
        <t>
   This document uses the following acronyms:</t>
        <artwork name="" type="" align="left" alt=""><![CDATA[
3GPP  3rd Generation Partnership Project
5WE   5G WWC Encapsulation
5GC   5th Generation Core (network)
DSLAM Digital Subscriber Loop Access Multiplexer
W-AGF Wireline Access Gateway Function
IPoE  IP over Ethernet
NAS   Non-Access Stratum
OLT   Optical Line Termination
PDU   Protocol Data Unit
PPPoE PPP over Ethernet
QFI   QoS Flow Identifier
QoS   Quality of Service
RG    Residential Gateway
RQI   Reflective QoS Indicator
WWC   Wireless Wireline Convergence
]]></artwork>
      </section>
    </section>
    <section anchor="sect-2" numbered="true" toc="default">
      <name>Data Encapsulation Format</name>
      <t>
   The Ethernet payload [IEEE802] for PPPoE <xref target="RFC2516" format="default"/> is indicated by
   an Ethertype of 0x8864. The information following that Ethertype
   uses a value of 2 in the VER field for the repurposing of the PPPoE
   data encapsulation as the 5G WWC user plane encapsulation (5WE). The
   5G WWC User Plane encapsulation is structured as follows:</t>
      <artwork name="" type="" align="left" alt=""><![CDATA[
    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
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |  VER  |  TYPE |     QFI   |R|0|           SESSION_ID          |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |            LENGTH             |          PROTOCOL ID          |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                         DATA PAYLOAD         ~
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

]]></artwork>
      <t>The description of each field is as follows:
      </t>
      <ul empty="true" spacing="normal">
        <li>VER is the version. It MUST be set to 0x02.</li>
        <li>TYPE is the message type. It MUST be set to 0x01.</li>
        <li>QFI encodes the 3GPP 5G QoS Flow Identifier [TS38415] to be used for
      mapping 5G QoS to IP DSCP/802.1 P-bits [IEEE802].</li>
        <li>R (short for Reflective QoS Indication [TS38415]) encodes the one bit
      RQI. It is set by the network side 5WE termination for downstream
      traffic and ignored by the network for upstream traffic.</li>
        <li>0 indicates the bit(s) MUST be sent as zero and ignored on
      receipt.</li>
        <li>SESSION_ID is a 16-bit unsigned integer in network byte order. It is
      used to distinguish different PDU sessions that are in the VLAN
      delineated multiplex. A value of 0xffff is reserved for future use and
      MUST NOT be used.</li>
        <li>LENGTH is the length in bytes of the data payload including
      the initial Protocol ID. It is 16 bits in network byte order.</li>
        <li>
          <t>PROTOCOL ID is the 16 bit identifier of the data payload type encoded
      using values from the IANA PPP DLL protocol numbers registry. (<eref target="https://www.iana.org/assignments/ppp-numbers/ppp-numbers.xhtml#ppp-numbers-2"/>)

          </t>
          <ul spacing="normal">
            <li>
              <t>The following values are valid in this field for 5G WWC use:

              </t>
              <ul spacing="normal">
                <li>0x0021: IPv4</li>
                <li>0x0031: Ethernet (referred to in PPP as "bridging")</li>
                <li>0x0057: IPv6</li>
              </ul>
            </li>
            <li>
      Packets received that do not contain one of the above protocol IDs are
      silently discarded.</li>
          </ul>
        </li>
      </ul>
      <dl newline="false" spacing="normal" indent="3">
        <dt/>
        <dd>
      DATA PAYLOAD is encoded as per the protocol ID.</dd>
      </dl>
    </section>
    <section anchor="sect-3" numbered="true" toc="default">
      <name>Acknowledgements</name>
      <t>
   This memo is a result of comprehensive discussions by the Broadband
   Forum's Wireline Wireless Convergence Work Area.
   The authors would also like to thank Joel Halpern and Dirk Von Hugo
   for their detailed review of this draft.</t>
    </section>
    <section anchor="sect-4" numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>
   5G NAS procedures used for session life cycle maintenance employ
   ciphering and integrity protection [TS23502]. They can be considered
   to be a more secure session establishment discipline than existing
   RFC 2516 procedures, at least against on path attackers.
   The design of the 5WE encapsulation will not circumvent existing
   anti-spoofing and other security procedures in deployed equipment.
   The existing access equipment will be able to identify fields that
   they normally process and policed as per existing RFC 2516 traffic.</t>
      <t>
   Therefore, the security of a fixed access network using 5WE will be
   equivalent or superior to current practice.</t>
      <t>
   5WE encapsulated traffic is used on what the 5GC considers to be
   trusted non-3GPP interfaces, therefore is not ciphered. 5WE is not
   suitable for use over an untrusted non-3GPP interface.</t>
      <t>
   The security requirements of the 5G system are documented in
   [TS33501]</t>
    </section>
    <section anchor="sect-5" numbered="true" toc="default">
      <name>IANA Considerations</name>
      <t>
   IANA is requested to create a registry on the Point-to-Point (PPP)
   Protocol Field Assignments IANA Web page as follows:</t>
      <artwork name="" type="" align="left" alt=""><![CDATA[
   Registry Name: PPP Over Ethernet Versions
   Registration Procedure: Specification Required
   References: [RFC2516] [this document]

       VER     Description                        Reference
      -----   -----------------------------      -----------
         0     reserved                          [this document]
         1     PPPoE                             [RFC2516]
         2     5G WWC User Plane Encapsulation   [this document]
      3-15     unassigned                        [this document]
]]></artwork>
      <t>
   IANA is requested to add [this document] as an additional reference for
   Ethertype 0x8864 in the Ethertypes table on the IANA "IEEE 802 Numbers" web
   page.(<eref target="https://www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.xhtml#ieee-802-numbers-1"/>)</t>
    </section>
  </middle>
  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2516.xml"/>
        <!--
   draft-allan-5g-fmc-encapsulation-08-manual.txt(315): Warning: Failed parsing a
   reference.  Are all elements separated by commas (not periods, not just
   spaces)?:
[TS38415] 3rd Generation Partnership Project, Technical
          Specification Group Radio Access Network, NG-RAN, PDU
          Session User Plane Protocol (Release 15), 3GPP TS38.415
   -->

	<!--
   draft-allan-5g-fmc-encapsulation-08-manual.txt(319): Warning: Failed parsing a
   reference.  Are all elements separated by commas (not periods, not just
   spaces)?:
[TS23502] 3rd Generation Partnership Project, Technical
          Specification Group Services and System Aspects,
          Procedures for the 5G System (Release 16), 3GPP TS23.502
   -->

	<!--
   draft-allan-5g-fmc-encapsulation-08-manual.txt(323): Warning: Failed parsing a
   reference.  Are all elements separated by commas (not periods, not just
   spaces)?:
[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,
          November 2018
-->
	</references>
      <references>
        <name>Informative References</name>
        <reference anchor="TR101">
          <front>
            <title>Migration to Ethernet Based Broadband Aggregation</title>
            <author>
	</author>
            <date month="July" year="2011"/>
          </front>
          <seriesInfo name="Broadband" value="Forum Technical Report: TR-101 issue 2"/>
        </reference>
        <reference anchor="TR178">
          <front>
            <title>Multi-service Broadband Network Architecture and Nodal Requirements</title>
            <author>
	</author>
            <date month="September" year="2014"/>
          </front>
          <seriesInfo name="Broadband" value="Forum Technical Report: TR-178"/>
        </reference>
        <!--
   draft-allan-5g-fmc-encapsulation-08-manual.txt(339): Warning: Failed parsing a
   reference.  Are all elements separated by commas (not periods, not just
   spaces)?:
[IEEE802] 802, IEEE, "IEEE Standard for Local and Metropolitan
          Networks: Overview and Architecture", IEEE Std 802-2014.
   -->

	<!--
   draft-allan-5g-fmc-encapsulation-08-manual.txt(342): Warning: Failed parsing a
   reference.  Are all elements separated by commas (not periods, not just
   spaces)?:
[TS33501] 3rd Generation Partnership Project, Technical
          Specification Group Services and System Aspects,
          Security Architecture and Procedures for 5G System
          (Release 16), 3GPP TS33.501, December 2019
-->
	</references>
    </references>
  </back>
</rfc>
