<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc SYSTEM "rfc2629-xhtml.ent">

<!-- Compiles with XML2RFC v3 https://xml2rfc.tools.ietf.org/cgi-bin/xml2rfc-dev.cgi -->

<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="3"?>
<?rfc tocindent="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc compact="no"?>
<?rfc subcompact="no"?>
<?rfc authorship="yes"?>
<?rfc tocappendix="yes"?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" category="std" docName="draft-pthubert-detnet-ipv6-hbh-04"
     ipr="trust200902" obsoletes="" updates="" submissionType="IETF" xml:lang="en" version="3">
  <front>
    <title abbrev="DetNet HbH Options">IPv6 Hop-by-Hop Options for DetNet</title>
    <author initials="P" surname="Thubert" fullname="Pascal Thubert" role="editor">
      <organization abbrev="Cisco Systems">Cisco Systems, Inc</organization>
      <address>
    <postal>
      <country>France</country>
    </postal>
    <phone>+33 497 23 26 34</phone>
    <email>pthubert@cisco.com</email>
      </address>
    </author>

<!--
meta:
sequence counter
replication credit, set by source,decremented by replicator, incremented eliminator
Reliability intention (like a DE bit on steroids)
Path:
RPL HbH -> TrackID
-->
    <date/>
    <area>Routing Area</area>
    <workgroup>DetNet</workgroup>
    <keyword>Draft</keyword>
    <abstract>
      <t>
      RFC 8938, the Deterministic Networking Data Plane Framework relies on the
      6-tuple to identify an IPv6 flow. But the full DetNet operations require
      also the capabilities to signal meta-information such as a sequence within
      that flow, and to transport different types of packets along the same path
      with the same treatment, e.g., Operations, Administration, and Maintenance
      packets and/or multiple flows with fate and resource sharing. This
      document introduces new IPv6 Hop-by-Hop options that signal that path and
      redundancy information to the intermediate DetNet relays.

      </t>
    </abstract>
  </front>
  <middle>

    <section numbered="true" toc="default">
      <name>Introduction</name>

<t>
   Section 2 of the <xref target="RFC8557">Deterministic Networking Problem
   Statement</xref> introduces the concept of Deterministic Networking (DetNet)
   to the IETF. DetNet extends the reach of lower layer technologies such as
   Time-Sensitive Networking (TSN) <xref target='IEEE8021TSN'/>
   and Timeslotted Channel Hopping (TSCH) <xref target='IEEE802154'/>
   over IPv6 and MPLS <xref target="RFC8938"/>, to provide bounded latency and
   reliability guarantees over an end-to-end layer-3 nailed-down path.
</t>
<t>
   The <xref target="RFC8655">"Deterministic Networking Architecture"</xref>
   details the contribution of layer-3 protocols, and defines three planes:
   the Application (User) Plane, the Controller Plane, and the Network Plane.
   <xref target="RFC8655"/> places an emphasis on the centralized model whereby
   a controller instantiates a DetNet state in the routers that is located based
   on matching information in the packet. For IPv6 flows, this document proposes
   a layer-3 signaling to index that state, using an IPv6 Extension Header (EH).
</t>
<t>
   The <xref target="RFC9030">"6TiSCH Architecture"</xref> leverages RPL, the
   <xref target="RFC6550"> "Routing Protocol for Low Power and Lossy Networks"
   </xref> and introduces concept of a Track as a highly redundant RPL
   Destination Oriented Directed Acyclic Graph (DODAG) rooted at the Track
   Ingress. A Track may for instance be installed using RPL route projection
   <xref target='I-D.ietf-roll-dao-projection'/>. In that case, the TrackId is
   an index from a namespace associated to one IPv6 address of the Track Ingress
   node, and the Track that an IPv6 packet follows is signaled by the combination
   of the source address (of the Track Ingress node), and the TrackID placed in
   a RPL Option <xref target="RFC6553"/> located in an IPv6 Hop-by-Hop (HbH)
   Options Header <xref target="RFC8200"/> in the IPv6 packet.
</t>
<t>
   The <xref target='I-D.pthubert-raw-architecture'> "Reliable and Available
   Wireless (RAW) Architecture/Framework"</xref>, extends the DetNet Network
   Plane to accomodate one or multiple hops of homogeneous or heterogeneous
   wireless technologies, e.g. a Wi-Fi6 Mesh or parallel radio access links
   combining Wi-Fi and 5G. The RAW Architecture reuses the concept of Track and
   introduces a new dataplane component, the Path Selection Engine (PSE), to
   dynamically select a subpath and maintain the required quality of service
   within a Track in the face of the rapid evolution of the medium properties.
</t>
<t>
   With <xref target="RFC8200"/>, the behavior of a router upon an IPv6 packet
   with a HbH Options Header has evolved, making the examination of the header
   by routers along the path optional, as opposed to previously mandatory.
   Additionally, the Option Type for any option in a HbH Options Header encodes
   in the leftmost bits whether a router that inspects the header should drop
   the packet or ignore the option when encountering an unknown option. Combined,
   these capabilities enable a larger use of the header beyond the boundaries of
   a limited domain, as examplified by the change of behavior of the RPL data
   plane, that was changed to allow a packet with a RPL option to escape the RPL
   domain in the larger Internet <xref target="RFC9008"/>.
</t>
<t>
  <xref target='I-D.hinden-6man-hbh-processing'>"IPv6 Hop-by-Hop Options
  Processing Procedures"</xref> further specifies the procedures for how IPv6
  Hop-by-Hop options are processed to make their processing even more practical
  and increase their use in the Internet. In that context, it makes sense to
  consider Hop-by-Hop Options to transport the information that is relevant
  to DetNet.
</t>
<t>
  The <xref target='RFC8938'>"Deterministic Networking Data Plane Framework"
  </xref> relies on the 6-tuple to identify an IPv6 flow. But the full DetNet
  operations require also the capabilities to signal meta-information such as
  a sequence within that flow, and to transport different types of packets
  along the same path with the same treatment. For instance, it is required that
  Operations, Administration, and Maintenance (OAM) <xref target='RFC6291'/>
  packets and/or multiple flows share the same fate and resource sharing over
  the same Track or the same Traffic Engineered (TE) <xref target="RFC3272"/>
  DetNet path.
</t><t>

  This document introduces new IPv6 Hop-by-Hop options that signal the needful
  DetNet path and redundancy information to the intermediate relays in an
  abstract form that is pure layer-3 and agnostic of the transport layer.

</t><t>
  This pure layer-3 technique alines DetNet with the IPv6 architecture and opens
  to the progress / extensions done elsewhere for IPv6; e.g., if the DetNet path
  leverages Segment routing (SRv6) <xref target="RFC8402"/> for some reason
  - there are plausible ones in RAW -, the Source Route Header (SRH) will
  be inserted after the HbH EH by the PE and both are readily accessible
  for the on-path routers without the need of a deeper inspection of the packet
  (up to and beyond the transport header).


</t>

    </section>
    <!-- Introduction -->
    <!--  000000000000000000000    -->


   <section anchor="terms" numbered="true" toc="default">
      <name>Terminology</name>
      <t>Timestamp semantics and timestamp formats used in this document are
      defined in <xref target="RFC8877">"Guidelines for Defining Packet
      Timestamps"</xref>.
      </t>
      <t>The Deterministic Networking terms used in this document are defined in
      the <xref target="RFC8655">"Deterministic Networking Architecture"</xref>.
      </t>
      <t>The terms Track and TrackID are defined in the <xref target="RFC9030">
      "6TiSCH Architecture"</xref>.
      </t>

    <!--  1111111111111111    -->
    </section>
    <!-- Terminology -->

   <section anchor="applic" numbered="true" toc="default">
      <name>Applicability</name>
<t>
  Transported in IPv6 HbH Options, the DetNet options are available early in
  the header chain of the packet. A DetNet-aware end system (see section 4.2 of
  <xref target="RFC8655"/>) may place the options in the header chain when
  constructing the packet, in which case there is no need of an encapsulation.
</t><t>
  Alternatively, the source end system may signal the flow information some
  other way, or it may lack the full DetNet awareness; in that case the DetNet
  path endpoints are the provider Edge (PE) routers (see <xref target=
  "fig5-8655"/> reproducing figure 5 of <xref target="RFC8655"/>) and the
  Ingress PE needs to encapsulate the packets to add the HbH options.
</t>

<t>
  In <xref target="fig5-8655"/>, the DetNet end systems may be f-aware and
  signal an IPv6 flow using the 6-tuple for the End-to-End service, but may not
  be s-aware, and may not sequence the packets for Packet Replication,
  Elimination, and Ordering Functions (PREOF), which operate at the detNet
  Service Layer. In that case, the Ingress PE will encapsulate the packets for
  this and possibly other flows to provide a common DetNet Service with OAM and
  PREOF, across the DetNet-1 service provider network, terminating the tunnel at
  the Egress PE router.
</t>
<figure anchor='fig5-8655'><name>Figure 5 of RFC 8655, Reproduced</name>
<artwork align="center"><![CDATA[                                                       _
  / \     +----DetNet-UNI (U)                                   / \
 /App\    |                                                    /App\
/-----\   |                                                   /-----\
| NIC |   v         ________                                  | NIC |
+--+--+   _____    /        \             DetNet-UNI (U) --+  +--+--+
   |     /     \__/          \                             |     |
   |    / +----+    +----+    \_____                       |     |
   |   /  |    |    |    |          \_______               |     |
   +------U PE +----+ P  +----+             \          _   v     |
       |  |    |    |    |    |              |     ___/ \        |
       |  +--+-+    +----+    |       +----+ |    /      \_      |
       \     |                |       |    | |   /         \     |
        \    |   +----+    +--+-+  +--+PE  |------         U-----+
         \   |   |    |    |    |  |  |    | |   \_      _/
          \  +---+ P  +----+ P  +--+  +----+ |     \____/
           \___  |    |    |    |           /
               \ +----+__  +----+     DetNet-1    DetNet-2
   |            \_____/  \___________/                           |
   |                                                             |
   |      |     End-to-End Service         |     |         |     |
   <------------------------------------------------------------->
   |      |     DetNet Service             |     |         |     |
   |      <------------------------------------------------>     |
   |      |                                |     |         |     |
]]></artwork>
</figure>


    <!--  1111111111111111    -->
    </section>
    <!-- Applicability -->



    <!--  00000000000000    -->

   <section anchor="ctxt" numbered="true" toc="default">
      <name>The DetNet Options</name>
    <!--  1111111111111111    -->
   <t>
   This document defines new IPv6 options for DetNet to signal path and a
   reliability information (e.g., sequencing) to the DetNet layers.
   Those options are to be placed in the IPv6 HbH Options Header, which is found
   right after the outer IPv6 header in the DetNet packet and immediately
   reachable for the forwarding engine.
   The format of the options follow the generic definition in section 4.2
   of <xref target="RFC8200"/>.
   For each tyoe of option, the draft allows to express the
   information in different fashions, depending on the use case, and possibly
   carrying an information that plays the same role at another layer, in which
   case the format of the information is opaque.
   </t>


   <t> The reliability
   information may be inherited from another layer as long as the value is
   guaranteed to be unique within a reasonable set of sequential packet so
   all packets with the same value are redundant.
   Timestamping can be used as an alternate sequencing technique, that avoids
   maintaining per-path state at the path ingress, which is feasible for nodes
   that maintain a very precise sense of time (e.g., from GPS or PTP) for their
   DetNet operations.
   As long as the time granularity is in the order of a few bytes transmission,
   the system timestamp provides an absolute sense of ordering over a very long
   period across all paths for which this node is ingress, and thus within any
   of those.
   Alternatively, the draft allows to combine a rough time stamp (e.g., from
   a system clock synchronized by NTP) and a sequence counter that differntiates
   the packets that are stamped within the timer resolution.
   </t>


   <t>
   If a DetNet Path option (see <xref target="detnetpatho"/>), including the RPL
   Option, is present in the same HbH Option Header as a DetNet Redundancy
   Information option (see <xref target="seqo"/>), then the redundancy
   information applies to the signaled path across all flows that traverse that
   path; else the redundancy information applies to the flow indicated by the
   6-tuple <xref target='RFC8938'/>.
   </t>
    <!--  1111111111111111    -->


   <section anchor="seqo" numbered="true" toc="default">
      <name>DetNet Redundancy Information Option</name>

    <!--  2222222222222222    -->

<!--
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - - - - - - - -
      |  Option Type  |  Opt Data Len |  Option Data
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- - - - - - - - -
-->
   <t>
   The DetNet Redundancy Information Option helps discriminate copies of a same
   packet vs. different packets, and is useful for service-sublayer Packet
   Replication Elimination and Ordering Functions (PREOF). The typical
   expression redundancy information is a sequence counter, but it is not the
   only way to identify a packet. It is also possible that a packet is divided
   in elements such as network-coded fragments. In that case, the pieces are
   discriminated with an opaque 8-bit fragment tag.
   </t>
   <t>
   A packet sequence can be expressed uniquely as a wrapping counter,
   represented as an unsigned integer in the option. In that case, the size of
   the representation MUST be large enough to cover at least 3 times the upper
   bound on out-of-order packet delivery in terms of number of packets.
   The sequence counter may be copied from a field in another protocol, and it
   is possible that the value 0 is reserved when wrapping, to the option offers
   both possibilities, wrapping to either 0 or to 1.
   </t>
   <t>
   This specification also allows to use a time stamp for the packet redundancy
   information, in conformance with the recommendations in <xref target="RFC8877"/>.
   This can be accomplished by utilizing the Precision Time Protocol (PTP)
   format defined in IEEE Std. 1588 <xref target="IEEEstd1588" format="default"/>
   or Network Time Protocol (NTP) <xref target="RFC5905"/> formats.
   In that case, the timestamp resolution at the origin node that builds the option
   MUST be fine enough to ensure that two consecutive packets are never stamped
   with the same value. There is no requirement for this particular stamping
   function that the sense of time at the origin node is synchronized with the
   rest of the DetNet network.
   </t>
   <t>
   IEEEE TSN <xref target='IEEE8021TSN'/> defined a redundancy tag (R-Tag) for
   the IEEE Std. 802.1CB Frame Replication and Elimination for Reliability (FRER).
   The R-Tag is a structured field and its content is subject to evolve; but the
   expectation for this specification is that the overall size remains 48 bits
   and that the 48-bit value is different for a large number of contiguous frames.
   When transporting TSN frames in a DetNet packet, it is possible to leverage
   the R-Tag as Redundancy information, though it cannot be assumed that the
   R-Tag is sequentially incremented; so it can be used for packet duplicate
   elimination but it is not suitable not for packet re-ordering.
   </t>
   <t>
   This specification also allows for an hybrid model with a coarse grained
   packet sequence within a coarse grained time stamp. In that case, both a
   time stamp option and a wrapping counter options are found, and the counter
   is used to compare packets with the same time stamp and ignored otherwise
   In that case, the size of the representation of the counter MUST be large
   enough to cover at least 3 times the number of packets that may be sent with
   the same value of time stamp.
   </t>
<figure anchor='seqo-fmt'><name>Redundancy Information Option Format</name>
              <artwork align="center">
 0                   1                   2                   3
 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|  Option Type  |  Opt Data Len |  R.I. Type    | Fragment Tag  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                                                               |
.                                                               .
.          Redundancy Information (variable Size)               .
.                                                               .
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 </artwork>
</figure>


  <t> Redundancy Information Option fields:</t>
  <dl  spacing='normal'>

  <dt>Option Type:</dt>
    <dd> 8-bit identifier of the type of option. Value TBD by IANA;
    if the processing IPv6 node does not recognize the Option Type it
    MUST skip over this option and continue processing the header (act =00);
    the Option Data of that option cannot change en route to the packet's final
    destination (chg=0).
    The
    </dd>


  <dt>Opt Data Len:</dt>
    <dd> <t>8-bit length of the option data.</t>
    </dd>


  <dt>Fragment Tag:</dt>
    <dd> <t>8-bit field, set to 0 when the packet is sent in entirety;
    packets with the same Redundancy Information and different fragments tags
    MUST be considered as different by the elimination function and are not
    subject to ordering based on the Tag.</t>
    </dd>


  <dt>Redundancy Information Type:</dt>
    <dd> <t>8-bit identifier of the type of Redundancy information.
    Value to be confirmed by IANA.</t>

        <table anchor="seqo-seqt"><name>Redundancy Information Type values (suggested)</name>
   <thead>

          <tr><th align='center'> Seq. Type Value</th>
              <th align='left'>Category</th>
              <th align='left'>Common Name</th>
              <th align='left'>Redundancy Information Format</th></tr>

   </thead>
   <tbody>
          <tr><td align='center'>1</td>
              <th align='left'>Wrapping Counter</th>
              <td align='left'>Basic Sequence Counter</td>
              <td align='left'>32-bit unsigned integer</td></tr>

          <tr><td align='center'>2</td>
              <th align='left'>Wrapping Counter</th>
              <td align='left'>Zero-avoiding Sequence Counter</td>
              <td align='left'>32-bit unsigned integer, wraps to 1</td></tr>

          <tr><td align='center'>3</td>
              <th align='left'>Wrapping Counter</th>
              <td align='left'>RPL Sequence Counter</td>
              <td align='left'>8-bit RPL sequence, see section 7.
              of <xref target="RFC6550"/></td></tr>

          <tr><td align='center'>11</td>
              <th align='left'>Time Stamp</th>
              <td align='left'>Fractional NTP</td>
              <td align='left'>NTP 64-bit Timestamp Format, see section 4.2.1.
              of <xref target="RFC8877"/></td></tr>

          <tr><td align='center'>12</td>
              <th align='left'>Time Stamp</th>
              <td align='left'>Short NTP</td>
              <td align='left'>NTP 32-bit Timestamp Format, see section 4.2.2.
              of <xref target="RFC8877"/></td></tr>


          <tr><td align='center'>13</td>
              <th align='left'>Time Stamp</th>
              <td align='left'>PTP</td>
              <td align='left'>PTP 80-bit Timestamp Format, see
              <xref target="IEEEstd1588"/></td></tr>

          <tr><td align='center'>14</td>
              <th align='left'>Time Stamp</th>
              <td align='left'>Short PTP</td>
              <td align='left'>PTP 64-bit Truncated Timestamp Format, see
              section 4.3. of <xref target="RFC8877"/></td></tr>

          <tr><td align='center'>24</td>
              <th align='left'>Structured Unique Tag</th>
              <td align='left'>TSN Redundancy Tag</td>
              <td align='left'>48-bit opaque</td></tr>


    </tbody>
        </table>

    </dd>


  <dt>Redundancy Information:</dt>
    <dd> <t>Variable size, as indicated in <xref target="seqo-seqt"/>.</t>

    </dd>


    </dl>

    </section>
    <!-- DetNet Redundancy Option -->
    <!--  1111111111111111    -->


   <section anchor="detnetpatho" numbered="true" toc="default">
      <name>DetNet Path Options</name>


   <t>
   The DetNet Architecture <xref target="RFC8655"/> assigns a DetNet flow
   "to specific paths through a network", but is not specific on how the path is
   then signaled in the packet. The DetNet Data Plane Framework <xref target="RFC8938"/> relies on the 6-tuple to identify an IPv6 flow and implicitely
   the path could be indexed by the flow identification. But this requires to
   maintain one path per flow and makes it difficult to assign other traffic
   such as OAM to the same path.
   </t>
   <t>This draft provides aditional means to signal the path in which
   the flow is placed separately from the flow indentification,
   and independantly of the transport layer, so a path can be shared between
   one or more flows and OAM packets across IP address families. All the packets
   that are assigned to the same path are subject to the same DetNet forwarding
   treatment.
   </t>

  <t>
   the DetNet expectation is that a PCE sets up a state at the DetNet forwarding
   sublayer to instruct each hop on how to process the DetNet flows.
   The DetNet Path Options when present contains information that MUST be used
   to select the DetNet state installed and if the DetNet state does not exist
   then the packet cannot be forwarded.
   </t>

   <section anchor="dpatho" numbered="true" toc="default">
      <name>DetNet Strict Path Option</name>


   <t>
   In complement to the RPL option, this specification defines a
   protocol-independent Strict Path Identifier, which is also taken from
   a namespace indicated by the IPv6 source address of the packet.
   </t>
   <t>
   The DetNet Strict Path Option is to be used in a limited domain and all
   routers along the path are expected to support the option.
   The path indicated therein may also be used by the service sublayer, to signal the scope where the redundancy information is unique across a number
   of packets large enough to ensure that a forwarding node never has to handle
   different packets with the same redundancy information, though the same
   value may be found for packets with a different path information.
   </t>
   <t>
   The typical DetNet path is typically contained under a single administrative
   control or within a closed group of administrative control; these include
   campus-wide networks and private WANs <xref target="RFC8655"/>.
   The typical expectation is that all nodes along a DetNet path are aware of
   the path and actively maintain a forwarding state for it. The DetNet Strict
   Path Option (see <xref target="dpatho"/>) is designed for that environment;
   if a packet escapes the local domain, a router that does not support the
   option will intercept it and return an error to the source.
   </t>
   <t>
   In other environments such as RAW, it might be that the service-layer
   protection concentrates on just segments of the end-to-end path.
   In that case, the service-sublayer protection may require the signaling of
   both redundancy and path information, though the path information is
   potentially not used by some of the intermediate routers and may not be used
   for forwarding at all. The path information may also relate to segments that
   are installed along the path using a DetNet forwarding state as opposed to,
   say, source routing.
   In either case the DetNet Loose Path Option <xref target="gpatho"/>
   can be used to signal the path without incurring an ICMP Error from an
   intermediate node.
   </t>
   <t>
   An intermediate router that supports the DetNet Strict Path Option but is
   missing the necessary state to forward along the indicated path must drop the
   packet and return an ICMP error.code 0 pointing at the offset of the
   Strict Path ID in the DetNet Strict Path Option.
    </t>
   <t>
   DetNet can also leverage the RPL Option that signals a Track in the RPL
   Packet Information (RPI) <xref target="RFC6553"/>. There are 2 versions of the RPL option, defined respectively in <xref target="RFC6550"/> with the act bits <xref target="RFC8200"/> set to dropped the packet when the option is  unknown, that defined in<xref target="RFC9008"/> which let the option be ignored.
   </t>
<figure anchor='patho-fmt'><name>DetNet Strict Path Option Format</name>
              <artwork align="center">
 0                   1                   2                   3
 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|  Option Type  |  Opt Data Len |    Strict Path ID              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 </artwork>
</figure>


  <t> Redundancy Option fields:</t>
  <dl  spacing='normal'>

  <dt>Option Type:</dt>
    <dd> 8-bit identifier of the type of option. Value TBD by IANA;
    if the processing IPv6 node does not recognize the Option Type it
    must discard the packet and send an ICMP Parameter Problem, Code 2, message
    to the packet's Source Address (act =10);
    the Option Data of that option cannot change en route to the packet's final
    destination (chg=0).
    </dd>

  <dt>Opt Data Len:</dt>
    <dd> <t>8-bit length of the option data, set to 2.</t>
    </dd>

  <dt>Strict Path ID:</dt>
    <dd> <t>16-bit identifier of the DetNet Path, taken from a local
   namespace associated with the IPv6 source address of the packet.</t>
    </dd>
  </dl>
    </section>
    <!-- DetNet Path Option -->


    <!--  2222222222222222    -->
   <section anchor="gpatho" numbered="true" toc="default">
      <name>DetNet Loose Path Option</name>


   <t>
   The DetNet Loose Path Option transports a Loose Path identifier which is
   taken from a namespace indicated by the Origin Autonomous System (AS). When
   the DetNet path is contained within a single AS, the Origin Autonomous System
   field can be left to 0 indicating local AS.
    </t>
   <t>
   The DetNet Loose Path Option is to be used to signal a path that may be
   loose and may exceed the boundaries of a local domain; a portion of the hops
   may traverse routers in the wider internet that will not leverage the option
   and are expected to ignore it.
   </t>
   <t>
   An intermediate router that supports the DetNet Loose Path Option but is
   missing the necessary state to forward along the indicated path must ignore
   the DetNet Loose Path Option.
   </t>
<figure anchor='gpatho-fmt'><name>DetNet Loose Path Option Format</name>
              <artwork align="center">
 0                   1                   2                   3
 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|  Option Type  |  Opt Data Len |   Origin Autonomous System    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          Loose Path ID                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 </artwork>
</figure>


  <t> Redundancy Option fields:</t>
  <dl  spacing='normal'>

  <dt>Option Type:</dt>
    <dd> 8-bit identifier of the type of option. Value TBD by IANA;
    if the processing IPv6 node does not recognize the Option Type it
    MUST skip over this option and continue processing the header (act =00);
    the Option Data of that option cannot change en route to the packet's final
    destination (chg=0).
    </dd>

  <dt>Opt Data Len:</dt>
    <dd> <t>8-bit length of the option data, set to 6.</t>
    </dd>

  <dt>Origin Autonomous System:</dt>
    <dd> <t>16-bit identifier of the Autonomous Systems (AS) that originates the
    path. The value of 0 signals a DetNet path that is constrained within the
    local AS or the local administrative DetNet domain.
    </t>
    </dd>
  <dt>Loose Path ID:</dt>
    <dd> <t>32-bit identifier of the DetNet Path, taken from a local
   namespace associated with the origin AS of the DetNet path. </t>
    </dd>
  </dl>
    </section>
    <!-- DetNet Loose Path Option -->
    <!--  222222222222222    -->
    </section>


   <section anchor="rplo" numbered="true" toc="default">
      <name>RPL Packet Information</name>

    <!--  2222222222222222    -->

   <t>
   6TiSCH <xref target="RFC9030"/>
   and RAW <xref target='I-D.pthubert-raw-architecture'/>
   signal a Track using a RPL Option <xref target="RFC6553"/>
   with a RPLInstanceID used as TrackID.
   This specification reuses the RPL option as a method to signal a DetNet path.
   In that case, the Projected-Route 'P' flag
   <xref target='I-D.ietf-roll-dao-projection'/> MUST be set to 1, and the O, R,
   F flags, as well as the Sender Rank field, MUST be set to 0 by the originator,
   forwarded as-is, and ignored on reception.
   </t>

    </section>
    <!-- RPL Packet Information -->
    <!--  2222222222222222    -->



    <!-- DetNet Path Options -->
    <!--  1111111111111111    -->


    </section>
    <!-- The DetNet Options< -->


    <!--  00000000000000    -->

    <section anchor="sec" numbered="true" toc="default">
      <name>Security Considerations</name>

    </section>
      <!--Security Considerations-->
    <!--  000000000000000000000    -->




    <section anchor="iana" numbered="true" toc="default">
      <name>IANA Considerations</name>

    <section anchor="iana-st" numbered="true" toc="default">
      <name>New Subregistry for the Redundancy Type</name>
<t>
	This specification creates a new Subregistry for the "Redundancy Type of the
    Redundancy Option" under the "Internet Protocol Version 6 (IPv6) Parameters"
    registry <xref target ="IPV6-PARMS"/>.
</t>
<ul spacing='normal'>
  <li> Possible values are 8-bit unsigned integers (0..255).</li>
  <li> Registration procedure is "IETF Review" <xref target='RFC8126'/>.</li>
  <li> Initial allocation is as Suggested in <xref target='iana-st-tab'/>:</li>
</ul>




   <table anchor='iana-st-tab'><name>Redundancy Information Type values</name>
   <thead>
      <tr><td>Suggested Value</td><td>Meaning</td><td>Reference</td></tr>
   </thead>
   <tbody>
          <tr><td align='center'>1</td>
              <td align='left'>Basic Sequence Counter</td>
              <td align='left'>THIS RFC</td></tr>

          <tr><td align='center'>2</td>
              <td align='left'>Zero-avoiding Sequence Counter</td>
              <td align='left'>THIS RFC</td></tr>

          <tr><td align='center'>3</td>
              <td align='left'>RPL Sequence Counter</td>
              <td align='left'>THIS RFC</td></tr>


          <tr><td align='center'>11</td>
              <td align='left'>Fractional NTP time stamp</td>
              <td align='left'>THIS RFC</td></tr>

          <tr><td align='center'>12</td>
              <td align='left'>Short NTP time stamp</td>
              <td align='left'>THIS RFC</td></tr>


          <tr><td align='center'>13</td>
              <td align='left'>PTP time stamp</td>
              <td align='left'>THIS RFC</td></tr>

          <tr><td align='center'>14</td>
              <td align='left'>Short PTP time stamp</td>
              <td align='left'>THIS RFC</td></tr>


          <tr><td align='center'>24</td>
              <td align='left'>TSN Redundancy Tag</td>
              <td align='left'>THIS RFC</td></tr>
   </tbody>

   </table>
</section> <!-- New Subregistry for the Redundancy Type -->


    <section anchor="iana-hbho" numbered="true" toc="default">
      <name>New Hop-by-Hop Options</name>
<t>
	This specification updates the "Destination Options and Hop-by-Hop Options"
    under the "Internet Protocol Version 6 (IPv6) Parameters" registry
    <xref target ="IPV6-PARMS"/> with the (suggested) values below:
</t>

   <table anchor='iana-hbho-tab'><name>DetNet Hop-by-Hop Options</name>
   <thead>
      <tr><td align='center'>Hexa</td><td>act</td><td>chg</td><td>rest</td><td>Description</td><td>Reference</td></tr>
   </thead>
   <tbody>
          <tr><td align='center'>0x12</td>
              <td>00</td><td>0</td><td>10010</td>
              <td>DetNet Redundancy Information Option</td>
              <td>THIS RFC</td></tr>
          <tr><td align='center'>0x93</td>
              <td>10</td><td>0</td><td>10011</td>
              <td>DetNet Strict Path Option</td>
              <td>THIS RFC</td></tr>
          <tr><td align='center'>0x14</td>
              <td>00</td><td>0</td><td>10100</td>
              <td>DetNet Loose Path Option</td>
              <td>THIS RFC</td></tr>

   </tbody>
   </table>



</section> <!-- New Hop-by-Hop Options -->

    </section>
      <!--IANA Considerations-->
    <!--  000000000000000000000    -->


   <section><name>Acknowledgments</name>
   <t>TBD
   </t>
   </section>
   <!-- Acknowledgments -->
    <!--  000000000000000000000    -->


  </middle>
  <back>
<displayreference   target="RFC8200"                  to="IPv6"/>
<displayreference   target="RFC6550"                  to="RPL"/>
<displayreference   target="RFC8557"                  to="DetNet-PBST"/>
<displayreference   target="RFC8655"                  to="DetNet-ARCH"/>
<displayreference   target="RFC9030"                  to="6TiSCH-ARCH"/>


<displayreference   target="I-D.ietf-roll-dao-projection"    to="RPL-PDAO"/>
<displayreference   target="I-D.pthubert-raw-architecture"   to="RAW-ARCH"/>
<displayreference   target="I-D.hinden-6man-hbh-processing"  to="HbH-UPDT"/>

<displayreference   target="IEEE802154"               to="IEEE Std. 802.15.4"/>
<displayreference   target="IEEEstd1588"              to="IEEE Std. 1588"/>
<displayreference   target="IEEE8021TSN"              to="IEEE 802.1 TSN"/>


    <references>
      <name>References</name>
      <references>
    <name>Normative References</name>

<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.6550.xml"/>
<!-- RPL -->

<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.6553.xml"/>
<!-- RPL option-->

<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8200.xml"/>
<!-- IPv6 -->
<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8126.xml"/>
<!-- IANA -->

<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8877.xml"/>
<!-- Guidelines for Defining Packet Timestamps -->

<xi:include href='http://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.hinden-6man-hbh-processing.xml'/>

<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8655.xml"/>
<!-- Deterministic Networking Architecture -->

<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.9008.xml"/>
<!-- use fo RPL info -->

<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.9030.xml"/>
<!-- 6TiSCH Architecture -->

<xi:include href='http://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.pthubert-raw-architecture.xml'/>

      </references>
    <!--Normative References-->


      <references>
    <name>Informative References</name>



<xi:include href='http://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-roll-dao-projection.xml'/>



<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.6291.xml"/>
<!-- Guidelines for the Use of the "OAM" Acronym in the IETF  -->

<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.5905.xml"/>
<!-- NTPv4 -->

<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8402.xml"/>
<!--    Segment Routing Architecture -->

<!--
<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8279.xml"/>
    BIER -->


<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8557.xml"/>
<!-- DetNet problem statement -->

<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.3272.xml"/>
<!-- TE -->

<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8938.xml"/>
<!--   Deterministic Networking (DetNet) Data Plane Framework -->

      <reference anchor='IEEE802154'>
         <front>
            <title>IEEE Std. 802.15.4, Part. 15.4: Wireless Medium Access
            Control (MAC) and Physical Layer (PHY) Specifications for Low-Rate
            Wireless Personal Area Networks
            </title>
            <author>
               <organization>IEEE standard for Information Technology</organization>
            </author>
            <date/>
         </front>
      </reference>
      <reference anchor="IEEE8021TSN" target="http://www.ieee802.org/1/pages/tsn.html" quoteTitle="true" derivedAnchor="IEEE802.1TSN">
        <front>
          <title>Time-Sensitive Networking (TSN) Task Group</title>
          <author>
            <organization showOnFrontPage="true">IEEE 802.1</organization>
          </author>
        </front>
      </reference>

        <reference anchor="IEEEstd1588" target="https://ieeexplore.ieee.org/document/4579760/">
          <front>
            <title>IEEE Standard for a Precision Clock Synchronization Protocol for
                Networked Measurement and Control Systems</title>
            <seriesInfo name="IEEE" value="Standard 1588"/>
            <author>
                <organization>IEEE</organization>
            </author>
            <date/>
        </front>
    </reference>
    <!--
        <reference anchor="IEEEstd8021AS" target="https://ieeexplore.ieee.org/document/5741898/">
        <front>
            <title>IEEE Standard for Local and Metropolitan Area Networks - Timing
                and Synchronization for Time-Sensitive Applications in Bridged Local
                Area Networks</title>
            <seriesInfo name="IEEE" value="Standard 802.1AS"/>
            <author>
                <organization>IEEE</organization>
            </author>
            <date/>
        </front>
    </reference>
    -->





      <reference anchor="IPV6-PARMS" target="https://www.iana.org/assignments/ipv6-parameters/ipv6-parameters.xhtml" >
        <front>
          <title>Internet Protocol Version 6 (IPv6) Parameters</title>
          <author>
            <organization showOnFrontPage="true">IANA</organization>
          </author>
        </front>
      </reference>


   <!--Informative References-->
    </references>
    </references>
  </back>
</rfc>


