<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- generated by https://github.com/cabo/kramdown-rfc version 1.6.14 (Ruby 2.6.10) -->


<!DOCTYPE rfc  [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">

<!ENTITY I-D.ietf-mpls-miad-mna-requirements SYSTEM "https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-mpls-miad-mna-requirements.xml">
<!ENTITY I-D.ietf-mpls-mna-fwk SYSTEM "https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-mpls-mna-fwk.xml">
<!ENTITY I-D.jags-mpls-mna-hdr SYSTEM "https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.jags-mpls-mna-hdr.xml">
<!ENTITY RFC2119 SYSTEM "https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml">
<!ENTITY RFC3032 SYSTEM "https://bib.ietf.org/public/rfc/bibxml/reference.RFC.3032.xml">
<!ENTITY RFC6790 SYSTEM "https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6790.xml">
<!ENTITY RFC8174 SYSTEM "https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml">
]>


<rfc ipr="trust200902" docName="draft-li-mpls-mna-entropy-01" category="info" submissionType="IETF">
  <front>
    <title abbrev="MNA Entropy">MPLS Network Action for Entropy</title>

    <author initials="T." surname="Li" fullname="Tony Li">
      <organization>Juniper Networks</organization>
      <address>
        <email>tony.li@tony.li</email>
      </address>
    </author>
    <author initials="J." surname="Drake" fullname="John Drake">
      <organization>Juniper Networks</organization>
      <address>
        <email>jdrake@juniper.net</email>
      </address>
    </author>

    <date year="2023" month="April" day="25"/>

    
    <workgroup>MPLS Working Group</workgroup>
    

    <abstract>


<t>Load balancing is a powerful tool for engineering traffic across a
network and has been successfully used in MPLS as described in "The
Use of Entropy Labels in MPLS Forwarding". With the emergence of MPLS
Network Actions (MNA), there is signficant benefit in being able to
invoke the same load balancing capabilities within the more general
MNA infrastructure.</t>

<t>This document describes a network action for entropy to be used in
conjunction with <xref target="I-D.jags-mpls-mna-hdr"/>.</t>



    </abstract>



  </front>

  <middle>


<section anchor="introduction"><name>Introduction</name>

<t>Load balancing is a powerful tool for engineering traffic across a
network. The use of entropy labels within MPLS was first described in
<xref target="RFC6790"/> and has been deployed succesfully in multiple MPLS
networks.</t>

<t>With the emergence of MPLS Network Actions
<xref target="I-D.ietf-mpls-miad-mna-requirements"/> <xref target="I-D.ietf-mpls-mna-fwk"/>, there
is a significant benefit to being able to describe entropy as a
network action.  Without this, a packet that required load balancing
and network actions would need to deal with the complexity and
overhead of both the MNA and Entropy Labels in the label stack. By
defining an action for Entropy within the MNA infrastructure, overhead
and complexity can be reduced.</t>

<section anchor="REQ-lang"><name>Requirement 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 BCP14
<xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they appear in all
capitals, as shown here.</t>

</section>
</section>
<section anchor="the-entropy-action"><name>The Entropy Action</name>

<t><list style="symbols">
  <t>Name: Entropy Action</t>
  <t>Network Action Indication: The Entropy Action is opcode TBA1.</t>
  <t>Scope: The Entropy Action is valid in Hop-by-Hop (HBH) and Select scopes.</t>
  <t>In-Stack Data: The Entropy Action carries 20 bits of ancillary data,
known as the Entropy Value.  The semantics of the Entropy Value are
identical to the semantics of the Entropy Label as found in
<xref target="RFC6790"/>, but the Entropy Value is not found in the Label field of
the Label Stack Entry (LSE). While the RFC 6790 Entropy Label has some
restrictions to avoid collisions with the reserved label space (0-15)
<xref target="RFC3032"/>, those restrictions are not necessary for the Entropy
Value and do not apply. A forwarding node should incorporate the
Entropy Value into its forwarding decision when the Entropy Action is
evaluated.</t>
  <t>LSE Format: C.  There is no additional data. The Network Action
Length (NAL) field SHOULD be sent as zero.</t>
  <t>Post-Stack Data: None. The Entropy Action does not appear in
post-stack data.</t>
</list></t>

</section>
<section anchor="security-considerations"><name>Security Considerations</name>

<t>The forwarding plane is insecure. If an adversary can affect the
forwarding plane, then they can inject data, remove data, corrupt
data, or modify data. MNA additionally allows an adversary to make
packets perform arbitrary network actions.</t>

<t>Link-level security mechanisms can help mitigate some on-link attacks,
but does nothing to preclude hostile nodes.</t>

</section>
<section anchor="iana-considerations"><name>IANA Considerations</name>

<t>This document requests that IANA allocate a codepoint (TBA1) from the
"Multiprotocol Label Switching Architecture (MPLS)"/"MPLS Network
Actions Parameters"/"Network Action Opcodes" registry for the Entropy
Action. The allocation should reference this document.</t>

</section>


  </middle>

  <back>


    <references title='Normative References'>

&I-D.ietf-mpls-miad-mna-requirements;
&I-D.ietf-mpls-mna-fwk;
&I-D.jags-mpls-mna-hdr;
&RFC2119;
&RFC3032;
&RFC6790;
&RFC8174;


    </references>




  </back>

<!-- ##markdown-source:
H4sIAHw6SGQAA61XTXPbNhC941dg5IvdMVXbTZtEpyi20ygjfzR2mukRIlcS
YhBgAdCq6vF/71uAkiXZmfbQzDiiwP18+3axKopClK7SdjaQbZwWb0TU0dBA
XlyPb+QlxYXzd3JYRu2snDovz230rlkKNZl4uofc5XB9VrnSqhrKlVfTWBhd
1I0JRW1VQVmkODoWi1ln/StMw7H81bu2EaWKNHN+OZDaTp0I7aTWIcBtXDYw
OTq//SB04wcy+jbEk6Ojt0cnQqg2zp0fCCkL/KV/2oaBvO3LsV6d5KBunV1u
HDqPOD61VjfkV4mG1UuqlTZwBZW+0e+6z2dePvXlmVd3tO3ok5vb7fP/4utb
xRrvvmWpvqUohHW+VlHfEyc4Ks76mlCjDKpWVULW05+t9lQD4fCCGCSmi7vV
i29qFp5ezKuE3OcPpyfHx2+7x5+OfjrpHn95/faoe3xz/PrVQApRFIVUkxC9
KhHf2KlKTpRRtuRC6iCVbNy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