<?xml version='1.0' encoding='utf-8'?>
<!-- This template is for creating an Internet Draft using xml2rfc,
    which is available here: http://xml.resource.org. -->
<!DOCTYPE rfc SYSTEM "rfc2629-xhtml.ent">
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
<!-- used by XSLT processors -->
<!-- For a complete list and description of processing instructions (PIs), 
    please see http://xml.resource.org/authoring/README.html. -->
<rfc
      xmlns:xi="http://www.w3.org/2001/XInclude"
      category="exp"
      docName="draft-ietf-pim-jp-extensions-lisp-08"
      ipr="trust200902"
      obsoletes=""
      updates="8059"
      submissionType="IETF"
      xml:lang="en"
      tocInclude="true"
      tocDepth="4"
      symRefs="true"
      sortRefs="true"
      version="3">
  <!-- xml2rfc v2v3 conversion 2.38.1 -->
  <!-- category values: std, bcp, info, exp, and historic
    ipr values: trust200902, noModificationTrust200902, noDerivativesTrust200902,
       or pre5378Trust200902
    you can add the attributes updates="NNNN" and obsoletes="NNNN" 
    they will automatically be output with "(if approved)" -->

 <!-- ***** FRONT MATTER ***** -->

 <front>
    <!-- The abbreviated title is used in the page header - it is only necessary if the 
        full title is longer than 39 characters -->

	 <title abbrev="PIM Join Attributes for LISP Mcast"> PIM Join/Prune Attributes for LISP Environments using Underlay Multicast  
   </title>
    <seriesInfo name="Internet-Draft" value="draft-ietf-pim-jp-extensions-lisp-08"/>
    <!-- add 'role="editor"' below for the editors if appropriate -->

   <!-- Another author who claims to be an editor -->

   <author fullname="Vengada Prasad Govindan" initials="V" surname="Govindan">
      <organization>Cisco</organization>
      <address>
        <email>venggovi@cisco.com</email>
     </address>
    </author>

   <author fullname="Stig Venaas" initials="S" surname="Venaas">
      <organization>Cisco</organization>
      <address>
        <email>svenaas@cisco.com</email>
     </address>
    </author>


    <date year="2024"/>
    <!-- If the month and year are both specified and are the current ones, xml2rfc will fill 
        in the current day for you. If only the current year is specified, xml2rfc will fill 
	 in the current day and month for you. If the year is not the current one, it is 
	 necessary to specify at least a month (xml2rfc assumes day="1" if not specified for the 
	 purpose of calculating the expiry date).  With drafts it is normally sufficient to 
	 specify just the year. -->

   <!-- Meta-data Declarations -->

   <area>Routing</area>
    <workgroup>Internet Engineering Task Force</workgroup>
    <!-- WG name at the upperleft corner of the doc,
        IETF is fine for individual submissions.  
	 If this element is not present, the default is "Network Working Group",
        which is used by the RFC Editor as a nod to the history of the IETF. -->

   <keyword>template</keyword>
    <!-- Keywords will be incorporated into HTML output
        files in a meta tag but they have no effect on text or nroff
        output. If you submit your draft to the RFC Editor, the
        keywords will be used for the search engine. -->

   <abstract>
	   <t>This document specifies an update to the PIM Receiver RLOC Join/Prune attribute that supports the
   construction of multicast distribution trees where the source and
   receivers are located in different Locator/ID Separation Protocol
   (LISP) sites and are connected using underlay IP Multicast.  This attribute allows the receiver site to signal
   the underlay multicast group to the control plane of the root Ingress Tunnel Router (ITR). This document updates RFC 8059.

     </t>
    </abstract>
  </front>
  <middle>
    <section numbered="true" toc="default">
      <name>Introduction</name>
      <t>
	      The construction of multicast distribution trees where the root and
   receivers are located in different LISP sites <xref target="RFC9300" format="default"/> is defined in
    <xref target="RFC6831" format="default"/>.</t>
	    <t>
	<xref target="RFC6831" format="default"/> specifies that (root-EID, G) data packets are to be LISP-
		encapsulated into (root-RLOC, G) multicast packets. <xref target="RFC8059" format="default"/> 
                defines PIM Join/Prune attribute extensions to construct multicast distribution trees.
		Please refer to Section 3 of <xref target="RFC6831" format="default"/> for the definition of the terms EID and RLOC. We use the term root-EID or root-RLOC to refer to the source of the multicast tree rooted at the EID or RLOC.
	This document extends the Receiver ETR RLOC PIM Join/Prune attribute <xref target="RFC8059" format="default"/> 
                to facilitate the 
		construction of underlay multicast trees for (root-RLOC, G).
	    </t>
	    <t>
		    Specifically, the assignment of the underlay multicast group needs to be done in consonance with
		    the downstream xTR nodes needed to avoid unnecessary replication or traffic hairpinning.
	    </t>
	    <t> Since the Receiver RLOC Attribute defined in <xref target="RFC8059" format="default"/> only 
		    addresses the Ingress Replication case, an extension of the scope of that PIM Join/Prune attribute is defined by this draft to include
		    scenarios where the underlay uses Multicast transport. The scope extension proposed here complies
		    with the base specification <xref target="RFC5384" format="default"/>.
           </t>
      <t>This document uses terminology defined in <xref target="RFC9300" format="default"/>, such as EID,
   RLOC, ITR, and ETR.  </t>

         <section>

        <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"/> <xref target="RFC8174"/> when, and only when, they appear in all capitals, as shown here.</t>

      </section>

    </section>


    <section title="The case for extending the Received ETR RLOC Attribute of RFC 8059">
	    <t>When LISP based Multicast trees are constructed using IP Multicast in the underlay, the mapping between
		    the overlay group address and the underlay group address becomes a crucial engineering decision:

    </t>
    <section title="Flexible mapping of overlay to underlay group ranges:">
		 <t> Three distinct types of overlay to underlay group mappings are possible: Many to one mapping: Many (root-EID, G) flows originating from an RLOC can be mapped to a single underlay multicast (root-RLOC, G-u) flow.  One to many mapping: Conversely  a single same overlay flow can be mapped to two or more flows, e.g., (root-RLOC, G-u1) and (root-RLOC, G-u2) to cater to the requirements of downstream xTR nodes.  One to one mapping: Every (root-EID, G) flow is mapped to a unique (root-RLOC, G-u) flow. </t>
	 </section>
	              
		 <section title="Multicast Address Range constraints:">
			 <t>	    Under certain conditions, different subsets of xTRs subscribing to the same overlay 
				 multicast stream may be constrained to use distinct underlay multicast mapping ranges. </t>
			 <t>
                    This introduces a trade-off between replication overhead and the flexibility of
				 address range assignment, which may be necessary in specific use-cases like Proxy Tunnel Routers or when using boxes with limited hardware resources as explained below: </t>
         <dl newline="true" spacing="normal" indent="2">
		 <dt> Inter-site Proxy Tunnel Routers (PxTR):</dt>
        <dd>
		When multiple LISP sites are interconnected through a LISP-based transit, the site border node (PxTR) connects the site-facing interfaces with the external LISP core. In such cases, different ranges of multicast group addresses may be used for constructing (S-RLOC, G) trees within the LISP site and in the external LISP core. This distinction is desirable for various operational reasons
         </dd>
	 <dt> Hardware resource restrictions:</dt>
          <dd> Platform limitations may necessitate engineering decisions to restrict multicast address ranges in the underlay due to hardware resource constraints. </dd>
                 </dl>
	</section>


	</section>

<section title="Updates to RFC 8059">
    <section title="Scope">
	    <t>No changes are proposed to the syntax or semantics of the Transport Attribute defined in <xref target="RFC8059" format="default">RFC 8059</xref>.</t>
	<t> The scope of the updates to <xref target="RFC8059" format="default">RFC 8059</xref> is limited to the case where the "Transport" field of the Transport Attribute is set to zero (Multicast) only. </t>
    </section>
    <section title="Receiver ETR RLOC Attribute">
	    <t>The definition of the "Receiver RLOC" field of the Receiver ETR RLOC attribute <xref target="RFC8059" format="default">RFC 8059</xref> is updated as follows:</t>
         <dl newline="true" spacing="normal" indent="1">
	 <dt> Receiver RLOC:</dt>
		 <dd>The Receiver RLOC field of the Receiver RLOC Attribute MAY contain a multicast IP address. This field MUST only be used when the underlay network of the LISP core supports IP Multicast transport.</dd>
	 </dl>
	 <t> The definitions of the other fields of the Receiver ETR RLOC Attribute remain unchanged. </t>
	 <t> When the ITR needs to track the list of ETRs from which the PIM joins are received, the ITR MUST use the source IP address field of the incoming PIM Join/Prune message. The source IP of the PIM Join/Prune MUST be an ETR RLOC IP address.</t>
<!-- 
	%<t>The root ITR MUST also discard all affected Join/Prune sources if the Transport Attribute value is set to any value other than zero and the Address field of the Receiver RLOC contains a multicast IP address.  </t> -->
    </section>
<section title="Using the Receiver RLOC Attribute">
	<t>When the ETR determines to use the multicast underlay:</t>
	<ul>
		<li>It chooses an underlay multicast group that it can join. This is a matter of local decision, beyond the scope of this document.</li>
		<li>It identifies the upstream LISP site where the underlay multicast tree needs to be rooted.</li>
		<li>It constructs the PIM Join/Prune message as specified in <xref target="RFC8059" format="default">RFC 8059</xref>. Only the Receiver RLOC attribute is encoded as above. </li>
	</ul><t></t>
	<t>When the ITR receives a PIM Join/Prune message: </t>
	<ul>
		<li>It allocates a new entry in the OutgoingInterfaceList <xref target="RFC6831" format="default">RFC 6831</xref>  for every unique underlay multicast mapping. </li>
		<li>The ITR MAY apply local policy to perform any kind of rate-limiting on the number of copies it needs to make in the underlay. Such actions are beyond the scope of this document.</li>
	</ul><t></t>

</section>
</section>


   <!-- Possibly a 'Contributors' section ... -->

   <section anchor="Acknowledgements" numbered="true" toc="default">
      <name>Acknowledgements</name>
	   <t>
	   The authors would like to thank Dino Farinacci, Victor Moreno, Alvaro Retana, Aswin Kuppusami, Joe Clarke and Peter Yee for their valuable comments. The authors also thank Sankaralingam T and Amit Kumar for their contributions to the document. The authors thank Gunter van de Velde for his valuable comments.
	   </t>
   </section>

   <section anchor="IANA" numbered="true" toc="default">
      <name>IANA Considerations</name>
      <t>No new requests to IANA.</t>
    </section>
    <section anchor="Security" numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>
	      An attack vector arises where an attacker sends numerous PIM Join messages with different group addresses. This could interfere with legitimate multicast traffic if the group addresses overlap. Additionally, resource exhaustion may occur if replication is requested for a large number of groups, potentially resulting in significant resource consumption.
To mitigate these risks, PIM authentication mechanisms <xref target="RFC5796" format="default">RFC 5796</xref> could be employed to validate join requests. Furthermore, implementations may consider explicit tracking mechanisms to manage joins more effectively. Configurable controls could be introduced, allowing for a maximum permissible number of groups for each ETR RLOC used as the source of overlay joins. These controls would limit the impact of such attacks and ensure that resource allocation is managed appropriately.

     </t>
    </section>
  </middle>
  <!--  *****BACK MATTER ***** -->

 <back>
    <!-- References split into informative and normative -->

   <!-- There are 2 ways to insert reference entries from the citation libraries:
    1. define an ENTITY at the top, and use "ampersand character"RFC2629; here (as shown)
    2. simply use a PI "less than character"?rfc include="reference.RFC.2119.xml"?> here
       (for I-Ds: include="reference.I-D.narten-iana-considerations-rfc2434bis.xml")

    Both are cited textually in the same manner: by using xref elements.
    If you use the PI option, xml2rfc will, by default, try to find included files in the same
    directory as the including file. You can also define the XML_LIBRARY environment variable
    with a value containing a set of directories to search.  These can be either in the local
    filing system or remote ones accessed by http (http://domain/dir/... ).-->

    <references title="Normative References">
      <?rfc include="reference.RFC.2119.xml" ?>
      <?rfc include="reference.RFC.5384.xml" ?>
      <?rfc include="reference.RFC.9300.xml" ?>
      <?rfc include="reference.RFC.5796.xml" ?>
      <?rfc include="reference.RFC.6831.xml" ?>
      <?rfc include="reference.RFC.8059.xml" ?>
      <?rfc include="reference.RFC.8174.xml" ?>
    </references>
    <!-- Change Log

v00 2020-12-10  GVP   Initial version

    -->
 </back>
</rfc>
