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


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

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


<rfc ipr="trust200902" docName="draft-li-mpls-mna-entropy-02" 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></organization>
      <address>
        <email>je_drake@yahoo.com</email>
      </address>
    </author>

    <date year="2024" month="June" 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.ietf-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-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.</t>
  <t>Processing: 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>Interactions: None</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" registry for the
Entropy Action. The allocation should reference this document.</t>

</section>


  </middle>

  <back>

    <references title='Normative References'>

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


    </references>




  </back>

<!-- ##markdown-source:
H4sIAGrnemYAA61XTXPbNhC941dg5IvdMVXbSZtEp8gfqZWRP2rLzfTUgciV
hBgEWAC0qnr83/sWpGRJVm7NjEMKWix23759C2VZJnJXaDvtyTpOso8i6mio
J69uh/fymuLc+UfZz6N2Vk6clxc2elcthBqPPT3B7rq/WitcblWJzYVXk5gZ
nZWVCVlpVUaNSXZ0IubT1vs3uMbB8jfv6krkKtLU+UVPajtxItTjUoeAY+Oi
gsvBxeiL0JXvyejrEE+Ojj7Bl1B1nDnfE1Jm+Ev/tA09OerKoV6uNEGNnF2s
LTqPOL7WVlfkl4mG5ZdUKm1wFLZ0jf7cPt+c8rUrz716pM2DvrqZ3Vxv3X2n
vwpe/rxQM+e6uSuFsM6XKuon4hwG2XlXE8qwws3T37X2VAK/sNtiMn/c/cWs
SLjcfTk7OT7+1L6+O3p30r7++uHTUfv68fjD+54UIssyqcYhepVH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