IP Performance Measurement M. Pavlou Internet-Draft Independent Intended status: Experimental 1 December 2026 Expires: 4 June 2027 Enterprise Context and Hop Header (ECHH): An Authenticated Ethernet- Layer Carrier for Path Context and IOAM Data draft-pavlou-ippm-echh-00 Abstract This document specifies the Enterprise Context and Hop Header (ECHH), an experimental header carried directly over Ethernet within a single administrative domain. ECHH complements In situ Operations, Administration, and Maintenance (IOAM) in three ways. First, it provides an encapsulation for IOAM data that works for both IPv4 and IPv6 inner packets without a tunnel overlay. Second, it adds integrity protection with two tags: an origin tag that binds the origin Location ID, origin timestamp, and inner flow to a location- specific key, so that transit nodes cannot forge where traffic came from; and a hop tag that protects the fields transit nodes update. Third, it carries constant-size path context that does not grow with path length: a rolling path digest that identifies the path taken and worst-hop fields that identify the single most delayed hop. Statically assigned port trust roles ensure that ECHH is never accepted from, or emitted toward, interfaces outside the domain. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on 4 June 2027. Pavlou Expires 4 June 2027 [Page 1] Internet-Draft ECHH December 2026 Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1. Requirements Language . . . . . . . . . . . . . . . . . . 4 1.2. Scope of the Experiment . . . . . . . . . . . . . . . . . 4 2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 4 3. Port Trust Roles . . . . . . . . . . . . . . . . . . . . . . 5 4. Encapsulation . . . . . . . . . . . . . . . . . . . . . . . . 5 5. ECHH Fixed Header . . . . . . . . . . . . . . . . . . . . . . 6 5.1. Timestamp Format . . . . . . . . . . . . . . . . . . . . 8 5.2. Inner Address Scope . . . . . . . . . . . . . . . . . . . 8 6. Rolling Path Digest . . . . . . . . . . . . . . . . . . . . . 9 7. Worst-Hop Record . . . . . . . . . . . . . . . . . . . . . . 9 8. Carrying IOAM Data . . . . . . . . . . . . . . . . . . . . . 10 9. Integrity Protection . . . . . . . . . . . . . . . . . . . . 11 9.1. Algorithms . . . . . . . . . . . . . . . . . . . . . . . 11 9.2. Origin Tag . . . . . . . . . . . . . . . . . . . . . . . 11 9.3. Hop Tag . . . . . . . . . . . . . . . . . . . . . . . . . 12 9.4. Keys and Key Epochs . . . . . . . . . . . . . . . . . . . 13 10. Node Processing . . . . . . . . . . . . . . . . . . . . . . . 13 10.1. Stamping Node . . . . . . . . . . . . . . . . . . . . . 13 10.2. Transit Node . . . . . . . . . . . . . . . . . . . . . . 14 10.3. Border Node . . . . . . . . . . . . . . . . . . . . . . 15 10.4. Collector . . . . . . . . . . . . . . . . . . . . . . . 15 11. MTU and TCP MSS Considerations . . . . . . . . . . . . . . . 15 11.1. Overhead Calculations . . . . . . . . . . . . . . . . . 15 11.2. Recommended Link MTUs . . . . . . . . . . . . . . . . . 16 11.3. Behavior When a Frame Does Not Fit . . . . . . . . . . . 17 12. Relationship to IOAM and MACsec . . . . . . . . . . . . . . . 17 12.1. MACsec . . . . . . . . . . . . . . . . . . . . . . . . . 17 12.2. IOAM . . . . . . . . . . . . . . . . . . . . . . . . . . 18 13. Operational Considerations . . . . . . . . . . . . . . . . . 18 14. Security Considerations . . . . . . . . . . . . . . . . . . . 19 15. Privacy Considerations . . . . . . . . . . . . . . . . . . . 20 Pavlou Expires 4 June 2027 [Page 2] Internet-Draft ECHH December 2026 16. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 20 17. References . . . . . . . . . . . . . . . . . . . . . . . . . 21 17.1. Normative References . . . . . . . . . . . . . . . . . . 21 17.2. Informative References . . . . . . . . . . . . . . . . . 22 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 23 1. Introduction Large enterprise and artificial intelligence (AI) training and inference fabrics experience dense east-west traffic, incast bursts, and transient queue congestion that interval-based polling often misses. IOAM [RFC9197] addresses much of this by recording operational data in packets as they traverse a limited domain. ECHH does not replace IOAM; it addresses three gaps that matter in these fabrics: IPv4 underlays: IOAM encapsulations are defined for IPv6 [RFC9486], NSH [RFC9452], and overlay protocols, but there is no practical way to carry IOAM in native IPv4. Many AI fabrics, including RoCEv2 deployments, use IPv4 underlays. ECHH sits between the Ethernet header and the inner IP packet and works identically for IPv4 and IPv6. Integrity and origin authenticity: IOAM data as defined in [RFC9197] is not integrity protected. ECHH makes integrity protection part of the base format, and separates the immutable origin context, which transit nodes cannot forge, from the per-hop fields they update. Constant-size path context: Identifying a path or a bottleneck with IOAM trace options requires per-hop data whose size grows with path length. ECHH carries a 32-bit path digest and an 8-octet worst-hop record whose size is independent of path length. Per-hop telemetry that IOAM already defines, such as per-hop timestamps, transit delay, queue depth, and interface identifiers, is not redefined here. Operators that need it carry IOAM options inside ECHH (Section 8). ECHH is intended for use only within a limited domain as described in [RFC8799]: a single administrative domain in which every ECHH node is managed by one operator, holds key material provisioned by that operator, and has every interface assigned an explicit trust role (Section 3). Pavlou Expires 4 June 2027 [Page 3] Internet-Draft ECHH December 2026 1.1. Requirements Language 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 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. 1.2. Scope of the Experiment This document is published as Experimental. The experiment is confined to a single limited domain per deployment and uses an IEEE 802 Local Experimental EtherType (Section 4); it has no effect on traffic outside that domain. The experiment seeks to determine: 1. whether origin and hop tag processing is achievable at line rate on programmable switch pipelines, SmartNICs, and XDP/eBPF software paths, and at what sampling rates; 2. whether the path digest and worst-hop record localize path changes and congestion as effectively as IOAM per-hop trace data, at lower and constant overhead; and 3. the operational cost of maintaining static port trust roles and the two-level key hierarchy at scale. The experiment can be considered successful if at least two independent, interoperable implementations are deployed and their results are reported to the IETF. If the constant-size fields prove useful but a separate header does not, they could instead be defined as IOAM option types. An operator ends the experiment in its domain by disabling ECHH insertion at stamping nodes; no state persists outside the domain. 2. Terminology This document uses the IOAM terminology of [RFC9197]. In addition: ECHH domain: The limited domain within which ECHH headers are inserted, forwarded, verified, and removed. When IOAM data is carried in ECHH, the IOAM domain is the ECHH domain. ECHH node: A switch, router, SmartNIC, or host networking stack that processes ECHH. Stamping node: The ECHH node that inserts the ECHH header. Transit node: An ECHH node that receives an ECHH frame on a Pavlou Expires 4 June 2027 [Page 4] Internet-Draft ECHH December 2026 ROLE_FABRIC_TRUNK or ROLE_HOST_TRUSTED interface and forwards it with ECHH retained. Collector: A system that receives exported ECHH data and verifies origin tags. Node ID: A 32-bit identifier assigned by the operator to each ECHH node, unique within the ECHH domain. Residence delay: The time between a frame's arrival at a node and its transmission, or the node's best estimate of it at the time the header is updated. 3. Port Trust Roles Each physical port, virtual function, or network interface of an ECHH node is assigned one of the following static trust roles by the control plane or management configuration. Trust is never inferred from packet contents or source addresses. An interface with no assigned role MUST be treated as ROLE_EDGE_UNTRUSTED. ROLE_FABRIC_TRUNK: An internal fabric, inter-switch, or inter-pod link. ECHH frames received on this role are processed as described in Section 10.2. ROLE_HOST_TRUSTED: A link to a managed compute node, GPU server, hypervisor, or SmartNIC within the ECHH domain. Frames received without ECHH MAY be stamped by the receiving node. ECHH frames received on this role (for example, stamped by a managed SmartNIC) are processed as on ROLE_FABRIC_TRUNK. ROLE_EDGE_UNTRUSTED: An external, WAN, Internet, DMZ, guest, BYOD, or unmanaged interface. Frames carrying the ECHH EtherType MUST be discarded on receipt without parsing beyond the EtherType. ROLE_BORDER_EGRESS: An interface leaving the ECHH domain. The ECHH header and any IOAM data MUST be removed before transmission; if the node cannot remove them, the frame MUST be discarded. 4. Encapsulation ECHH is carried directly over Ethernet. For the purposes of this experiment, ECHH is identified by the IEEE 802 Local Experimental EtherType 0x88B5 [IEEE802]. Because Local Experimental EtherTypes are not unique, an operator MUST NOT deploy ECHH on any segment where 0x88B5 is used for another purpose. When IEEE 802.1Q tags are present, the ECHH EtherType follows the last tag. Pavlou Expires 4 June 2027 [Page 5] Internet-Draft ECHH December 2026 +-----------------+-------------+--------------+-----------------+ | Ethernet header | ECHH fixed | IOAM data | Inner IPv4 or | | (EtherType = | header | (0 or more | IPv6 packet | | 0x88B5) | (44 octets) | options) | | +-----------------+-------------+--------------+-----------------+ Figure 1: ECHH Encapsulation 5. ECHH Fixed Header The fixed ECHH header is 44 octets, aligned to 32-bit boundaries. All multi-octet fields are in network byte order. Bits are numbered from 0, the most significant bit of the first octet. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Ver |C| Alg | Hop Count | Hop Limit | Inner Proto | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Key Epoch | IOAM Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Location ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Origin Timestamp | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Rolling Path Digest | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Worst-Hop Node ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Worst-Hop Delay | Worst Queue | Worst Index | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + Origin Tag + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | + Hop Tag + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 2: ECHH Fixed Header Format Ver (4 bits): Protocol version. This document specifies version 2; version 1 denotes an earlier, incompatible format used only in laboratory testing. A node receiving any value other than 2 MUST discard the frame. C (1 bit): Congestion Experienced. Set by any ECHH node that Pavlou Expires 4 June 2027 [Page 6] Internet-Draft ECHH December 2026 observes congestion on the egress queue used for the frame (for example, when it would set ECN-CE on the inner packet). Once set, it MUST NOT be cleared within the ECHH domain. Alg (3 bits): Identifies the algorithm used to compute the Origin Tag and Hop Tag (Section 9.1). A node receiving a value it does not support, or that is not enabled in its configuration, MUST discard the frame. Hop Count (8 bits): Set to 0 by the stamping node and incremented by each transit node. Hop Limit (8 bits): Set by the stamping node to the maximum number of transit nodes the frame may traverse. Not modified by transit nodes. A value of 0 is invalid. Inner Proto (8 bits): Identifies the packet following the ECHH header and IOAM data using a value from the IANA "Assigned Internet Protocol Numbers" registry. This version permits only 4 (IPv4) and 41 (IPv6); a frame with any other value MUST be discarded. Key Epoch (16 bits): Identifies the keys used to compute the Origin Tag and Hop Tag (Section 9.4). IOAM Length (16 bits): Total length of the IOAM data following the fixed header, in 4-octet words. 0 indicates that no IOAM data is present. Location ID (32 bits): Hierarchical identifier of the stamping node's location, interpreted via an operator-maintained inventory. An example layout is Region (5 bits), Campus or Data Center (5 bits), Hall or Zone (6 bits), Pod (6 bits), and Rack or Slot (10 bits). The layout is a local matter and is not interpreted by transit nodes. Origin Timestamp (32 bits): The time at which the stamping node inserted the header, in the format defined in Section 5.1. Used for one-way delay measurement and replay detection. Rolling Path Digest (32 bits): A digest of the sequence of nodes the frame has traversed (Section 6). Worst-Hop Node ID (32 bits), Worst-Hop Delay (16 bits), Worst Queue (8 bits), Worst Index (8 bits): The worst-hop record (Section 7). Origin Tag (64 bits): Protects the immutable origin context Pavlou Expires 4 June 2027 [Page 7] Internet-Draft ECHH December 2026 (Section 9.2). Hop Tag (64 bits): Protects the entire header and IOAM data (Section 9.3). 5.1. Timestamp Format ECHH timestamps are 32-bit values derived from the PTP timescale [IEEE1588]. Following the guidelines of [RFC8877], the format is specified as follows: Value: (S * 10^9 + N) mod 2^32, where S and N are the seconds and nanoseconds fields of the PTP time at the instant of measurement. The value is the low-order 32 bits of the number of nanoseconds since the PTP epoch. Epoch: The PTP epoch (1 January 1970 00:00:00 TAI). Resolution: 1 nanosecond. A node whose clock has coarser resolution sets the low-order bits as accurately as it can. Wraparound: Every 2^32 nanoseconds (approximately 4.295 seconds). Leap seconds: None; the PTP timescale is continuous. Synchronization: Nodes that set or record ECHH timestamps SHOULD be synchronized to a common PTP time source. Clock offset between nodes adds directly to one-way delay error. The difference between two ECHH timestamps T1 (earlier) and T2 (later) is (T2 - T1) mod 2^32, and is valid only when the true interval is less than 2^31 nanoseconds (approximately 2.15 seconds). Implementations SHOULD treat larger results as invalid rather than as negative delays. 5.2. Inner Address Scope Each stamping node is configured with the set of inner address prefixes eligible for ECHH. The default set SHOULD be the private- use ranges of [RFC1918] and fc00::/7 [RFC4193]; operators MAY add other prefixes used inside the domain, such as global unicast IPv6 prefixes. A stamping node MUST NOT insert ECHH unless both the source and destination addresses of the inner packet are in the eligible set. This limits the effect of misconfiguration; it is not an access control mechanism. Pavlou Expires 4 June 2027 [Page 8] Internet-Draft ECHH December 2026 Within the ECHH domain, nodes MUST NOT modify the inner packet other than its IPv4 TTL or IPv6 Hop Limit, DSCP, ECN field, and IPv4 header checksum, because the inner packet's flow key is covered by the Origin Tag. 6. Rolling Path Digest The Rolling Path Digest lets a collector determine whether two frames with the same origin took the same path, and detect path changes over time, without carrying a per-hop node list. It uses CRC32c as specified in Appendix A of [RFC9260]. The stamping node sets: D = CRC32c( 0x00000000 || Node ID || 0x00 ) Each transit node, after incrementing Hop Count, sets: D = CRC32c( D || Node ID || Hop Count ) where "||" denotes concatenation, D and Node ID are 32-bit values, and Hop Count is an 8-bit value, all in network byte order. A collector that knows the Node IDs of a candidate path can compute the expected digest. The digest is not keyed; its integrity is provided by the Hop Tag. Any two specific distinct paths produce the same digest with probability about 2^-32. Across a set of N distinct paths, however, the probability that at least two share a digest is approximately 1 - exp(-N^2 / 2^33): about 0.0001 for 1,000 paths, about 0.01 for 10,000 paths, and about 0.39 for 65,536 paths. The digest is therefore suitable for detecting a change between the small number of paths available to a given origin and destination, which is its intended use, but not as a domain-wide unique path identifier. Collectors SHOULD compare digests only among frames with the same Location ID and inner destination, and SHOULD confirm a reported path change with IOAM trace data or sampled export when certainty is required. 7. Worst-Hop Record The worst-hop record identifies the node at which the frame experienced the largest residence delay, together with that node's buffer occupancy, using 8 octets regardless of path length. Worst-Hop Delay (16 bits): Residence delay in units of 128 nanoseconds, saturating at 0xFFFF (approximately 8.39 milliseconds). Pavlou Expires 4 June 2027 [Page 9] Internet-Draft ECHH December 2026 Worst Queue (8 bits): Buffer occupancy of the egress queue at that node, in percent (0-100), or 255 if unknown. Worst Index (8 bits): The Hop Count value at that node (0 for the stamping node). Worst-Hop Node ID (32 bits): The Node ID of that node. The stamping node initializes the record with its own values. Each transit node computes its residence delay d in the same units; if d is strictly greater than Worst-Hop Delay, it replaces all four fields with its own values. Otherwise the record is left unchanged. Because a node usually updates the header before transmission completes, residence delay may be an estimate (for example, derived from queue depth at enqueue time). Implementations SHOULD document how they measure or estimate it. 8. Carrying IOAM Data Zero or more IOAM options follow the fixed header, each preceded by a 4-octet ECHH IOAM option header. The IOAM Length field gives the total length of all option headers and option data. 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 | Length | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ~ IOAM Option Data (variable) ~ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 3: ECHH IOAM Option Header Option-Type (8 bits): A value from the IANA "IOAM Option-Type" registry [RFC9197]. Length (8 bits): Length of the IOAM Option Data in 4-octet words. Reserved (16 bits): MUST be set to 0 on transmission and ignored on receipt. IOAM Option Data: The option as defined in [RFC9197] or [RFC9326]. IOAM-capable transit nodes process the options as specified for that option type. Nodes that are not IOAM-capable, or that do not recognize an Option-Type, MUST skip the option and leave it Pavlou Expires 4 June 2027 [Page 10] Internet-Draft ECHH December 2026 unmodified. A node parsing IOAM data MUST verify that each option lies entirely within the region indicated by IOAM Length and that the options exactly fill that region; otherwise it MUST discard the frame. IOAM options whose size changes in transit, such as the Incremental Trace Option, MUST NOT be used, so that the ECHH header length is constant along the path. The IOAM Pre-allocated Trace Option and the Direct Export Option [RFC9326] are suitable. 9. Integrity Protection ECHH uses two 64-bit tags, an Origin Tag and a Hop Tag, both computed with the algorithm identified by the Alg field. 9.1. Algorithms +=====+===============================+==================+ | Alg | Tag algorithm | Key derivation | +=====+===============================+==================+ | 0 | AES-CMAC [RFC4493], truncated | AES-CMAC-PRF-128 | | | to the leftmost 64 bits | [RFC4615] | +-----+-------------------------------+------------------+ | 1-6 | Unassigned | +-----+--------------------------------------------------+ | 7 | Reserved for local experimentation | +-----+--------------------------------------------------+ Table 1: Alg Values Implementations MUST support Alg 0. Additional values are expected for algorithms better suited to programmable switch pipelines that lack AES hardware. Any such algorithm needs a published specification and security analysis before it is assigned a value. Alg 7 MUST NOT be used outside a single operator's test environment. The set of Alg values a node accepts is configured, and SHOULD contain only the values in active use in the domain. Because Alg is covered by both tags, an attacker cannot change it without detection; but accepting a weak algorithm makes the domain only as strong as that algorithm. Keys are specific to an algorithm: the same key MUST NOT be used with more than one Alg value. 9.2. Origin Tag The Origin Tag is computed once, by the stamping node, under the location key K_loc for the stamping node's Location ID (Section 9.4). Its input is the concatenation of: Pavlou Expires 4 June 2027 [Page 11] Internet-Draft ECHH December 2026 1. the first octet of the fixed header (Ver, C, and Alg) with the C bit set to 0, followed by Hop Limit and Inner Proto (3 octets); 2. Key Epoch, Location ID, and Origin Timestamp (10 octets); and 3. the inner flow key: the inner source and destination addresses, the IPv4 Protocol or IPv6 Next Header field of the inner fixed IP header, and the 4 octets immediately following the inner fixed IP header (the ports, for TCP, UDP, and SCTP), or 4 zero octets if fewer are present. Transit nodes do not hold location keys and do not verify the Origin Tag. Collectors and border nodes provisioned with the origin master key MAY verify it. Binding the Origin Tag to the inner flow key prevents a valid ECHH header from being moved onto a packet of a different flow. 9.3. Hop Tag The Hop Tag is computed under the domain hop key K_hop for the Key Epoch. Its input is the entire fixed header, with the Hop Tag field set to zero, followed by all IOAM data. It therefore also covers the Origin Tag. Every node that modifies the header recomputes the Hop Tag, except as described below. An operator MAY designate individual links as MACsec-protected when MACsec [IEEE8021AE] with an integrity-protecting cipher suite is active on that link and terminates at the ECHH nodes at each end. On such a link: * the transmitting node MAY set the Hop Tag to zero instead of computing it; and * the receiving node MAY skip Hop Tag verification, relying on MACsec for integrity on that link. When transmitting on any link not designated MACsec-protected, a node MUST compute the Hop Tag, and when receiving on such a link it MUST verify it. The designation is configuration only and is never signaled in the packet, so an attacker cannot use it to disable Hop Tag verification. This option does not affect the Origin Tag. Pavlou Expires 4 June 2027 [Page 12] Internet-Draft ECHH December 2026 9.4. Keys and Key Epochs For each Key Epoch, the operator generates two independent 128-bit keys: a domain hop key K_hop, distributed to every ECHH node, and an origin master key K_om, distributed only to collectors and, optionally, border nodes. For Alg 0, the location key for a Location ID L is derived using AES-CMAC-PRF-128 [RFC4615]: K_loc = AES-CMAC-PRF-128( K_om, "ECHH-v2 origin" || L ) where "ECHH-v2 origin" is the 14 ASCII octets of that string and L is the 32-bit Location ID. Each stamping node receives only the K_loc for its own Location ID, never K_om. Keys are distributed over an authenticated and confidential out-of- band control channel. Key Epoch values are opaque to the data plane. An epoch value MUST NOT be reused for different keys until the previous keys have been retired from every node. Rotation proceeds as follows: 1. Keys for epoch N+1 are distributed to all nodes, which add them to their accepted set but continue to transmit with epoch N. 2. Once all nodes have acknowledged epoch N+1, nodes switch to transmitting with epoch N+1 while still accepting N. 3. After an interval longer than the maximum transit delay plus maximum clock or control-plane skew, epoch N is removed from the accepted set. A transit node that forwards a frame keeps its Key Epoch, so that the Origin Tag remains verifiable, and recomputes the Hop Tag under K_hop for that epoch. 10. Node Processing 10.1. Stamping Node A stamping node MAY insert ECHH in every eligible packet or in a sampled subset. Sampling SHOULD be either random (1 in N) or flow- consistent (based on a hash of the inner flow key), as configured. To insert ECHH, it: 1. verifies that the inner addresses are eligible (Section 5.2); 2. verifies that the resulting frame fits the egress link MTU (Section 11.3); Pavlou Expires 4 June 2027 [Page 13] Internet-Draft ECHH December 2026 3. sets Ver to 2, C as observed, Alg, Hop Count to 0, Hop Limit, Inner Proto, the current Key Epoch, Location ID, and Origin Timestamp; 4. appends any configured IOAM options and sets IOAM Length; 5. initializes the Rolling Path Digest (Section 6) and the worst-hop record (Section 7); 6. computes the Origin Tag; and 7. computes the Hop Tag. 10.2. Transit Node A transit node receiving an ECHH frame on a ROLE_FABRIC_TRUNK or ROLE_HOST_TRUSTED interface MUST perform the following steps in order, discarding the frame if any check fails: 1. Verify that Ver is 2, Alg is accepted, Inner Proto is permitted, and the frame is long enough to contain the fixed header, the IOAM data indicated by IOAM Length, and a minimal inner IP header. 2. Verify that Key Epoch is in the node's accepted set and, unless the receiving link is MACsec-protected (Section 9.3), that the Hop Tag is correct. 3. Verify that Hop Limit is non-zero and Hop Count is less than Hop Limit. 4. Increment Hop Count by 1. 5. Update the Rolling Path Digest and the worst-hop record, and set C if congestion is observed. 6. Process any IOAM options (Section 8). 7. Recompute the Hop Tag, or set it to zero if the transmitting link is MACsec-protected. Discarded frames SHOULD be counted per interface and per reason (version, format, epoch, Hop Tag, hop limit), and the counters made available to management. Pavlou Expires 4 June 2027 [Page 14] Internet-Draft ECHH December 2026 10.3. Border Node Before transmitting a frame on a ROLE_BORDER_EGRESS interface, a node MUST remove the ECHH fixed header and any IOAM data and set the Ethernet EtherType to 0x0800 (Inner Proto 4) or 0x86DD (Inner Proto 41). It SHOULD verify the Hop Tag before removal (unless the receiving link is MACsec-protected) and MAY export the removed header and IOAM data to a collector. Any node that exports ECHH data (a border node, or a transit node exporting a sampled copy) MUST include with each record its own Node ID and a Receive Timestamp, in the format of Section 5.1, taken when the frame was received. The encoding of exported records, for example as IPFIX [RFC7011] Information Elements, is outside the scope of this document. 10.4. Collector A collector receiving exported ECHH data SHOULD verify the Origin Tag by deriving K_loc from K_om and the Location ID. Records whose Origin Tag fails MUST NOT be attributed to that Location ID, and their timestamps MUST NOT be used for delay measurement. The one-way delay from the stamping node to the exporting node is (Receive Timestamp - Origin Timestamp) mod 2^32, valid as described in Section 5.1. Its accuracy is limited by the clock offset between the two nodes. A collector SHOULD treat records with the same Location ID, Origin Timestamp, and Origin Tag received within a window shorter than half the timestamp wrap period (approximately 2.1 seconds) as replays. 11. MTU and TCP MSS Considerations ECHH adds H octets between the Ethernet header and the inner packet, where H is 44 plus the length of any IOAM data. In this section, "link MTU" means the maximum Ethernet payload (excluding Ethernet header, 802.1Q tags, and FCS). 11.1. Overhead Calculations To carry an inner packet of size M unchanged, the link MTU must be at least M + H: Pavlou Expires 4 June 2027 [Page 15] Internet-Draft ECHH December 2026 +==============+=================+==========+ | Inner packet | Link MTU needed | Overhead | +==============+=================+==========+ | 1500 | 1544 | 2.93% | +--------------+-----------------+----------+ | 9000 | 9044 | 0.49% | +--------------+-----------------+----------+ Table 2: Link MTU Needed to Preserve Inner Packet Size (No IOAM Data) If the link MTU B cannot be raised, the maximum inner packet is B - H. With H = 44, 20-octet IPv4 or 40-octet IPv6 headers, and a 20-octet TCP header without options, the TCP MSS is B - 84 for IPv4 and B - 104 for IPv6: +============+=================+=================+===============+ | Link MTU B | IPv4 MSS | IPv6 MSS | Reduction | +============+=================+=================+===============+ | 1500 | 1416 (vs. 1460) | 1396 (vs. 1440) | 3.01% / 3.06% | +------------+-----------------+-----------------+---------------+ | 9000 | 8916 (vs. 8960) | 8896 (vs. 8940) | 0.49% | +------------+-----------------+-----------------+---------------+ Table 3: TCP MSS at Fixed Link MTU (H = 44) For comparison, an IOAM Pre-allocated Trace Option recording only a 4-octet node identifier and 4-octet transit delay per hop occupies 8 octets per hop plus its headers, so it exceeds the ECHH fixed header once a path is longer than a few hops. ECHH is not a substitute for per-hop trace data when per-hop detail is required. 11.2. Recommended Link MTUs Operators deploying ECHH SHOULD configure every link within the ECHH domain with an MTU of at least the largest inner packet size carried plus the largest H in use, so that ECHH does not reduce inner packet size. For domains whose hosts use a 1500-octet MTU, this is at least 1544 octets. For data center, storage, and AI fabrics whose hosts use 9000-octet jumbo frames, this is at least 9044 octets; a 9216-octet link MTU, supported by many platforms, leaves 172 octets for IOAM data. Because ECHH is removed at ROLE_BORDER_EGRESS interfaces, packets leaving the domain are the same size as when they entered, and ECHH does not affect Path MTU behavior outside the domain. Pavlou Expires 4 June 2027 [Page 16] Internet-Draft ECHH December 2026 11.3. Behavior When a Frame Does Not Fit A stamping node MUST NOT fragment the inner packet in order to insert ECHH (see [RFC8900]). If the inner packet plus H exceeds the egress link MTU, the node MUST, according to configuration, either: * forward the packet without ECHH and count the event, or * discard the packet and, where the inner packet permits, send an ICMP Packet Too Big (IPv6) or Fragmentation Needed (IPv4, DF set) message indicating the egress link MTU minus H. The first option is the default. A transit node that cannot forward an ECHH frame because of link MTU MUST discard it and count the event. Hosts within the domain SHOULD use Packetization Layer Path MTU Discovery [RFC4821] [RFC8899] where available. 12. Relationship to IOAM and MACsec 12.1. MACsec MACsec [IEEE8021AE] provides hop-by-hop integrity, and optionally confidentiality, for entire Ethernet frames, is widely implemented in hardware, and is deployed in many data center fabrics. Where every link in the domain runs MACsec, it protects ECHH headers against modification by devices without link keys as well as the Hop Tag does, and ECHH allows the Hop Tag to be omitted on such links (Section 9.3). MACsec does not replace the other ECHH integrity properties: * MACsec protection ends at each link. A collector receiving exported ECHH data has no way to check that it was produced by a legitimate node. The Origin Tag can be verified by the collector at any time after the fact. * MACsec does not distinguish between ECHH nodes. Any node holding link keys can forge origin context; the Origin Tag limits a compromised node to its own Location ID. * MACsec does not bind telemetry to the inner flow or support replay detection by collectors. ECHH and MACsec are therefore complementary: MACsec, where present, can carry the per-link protection role of the Hop Tag, while the Origin Tag provides end-to-end origin authenticity for measurements. Pavlou Expires 4 June 2027 [Page 17] Internet-Draft ECHH December 2026 12.2. IOAM The following table summarizes how ECHH relates to IOAM. ECHH fields marked "none" have no direct IOAM equivalent; if the experiment shows them to be useful, they could alternatively be defined as IOAM option types for use with existing IOAM encapsulations. +==================+========================================+ | ECHH element | IOAM equivalent | +==================+========================================+ | Ethernet-layer | None for native IPv4; IPv6 options | | encapsulation | [RFC9486], NSH [RFC9452] | | (IPv4 and IPv6) | | +------------------+----------------------------------------+ | Hop Count / Hop | Trace Option Hop_Lim (derived from | | Limit | inner TTL / Hop Limit) | +------------------+----------------------------------------+ | Location ID | Could be carried as namespace-specific | | | data; no defined field | +------------------+----------------------------------------+ | Origin Timestamp | Edge-to-Edge Option timestamps | +------------------+----------------------------------------+ | Rolling Path | None (Trace Option node list grows per | | Digest | hop; Proof of Transit verifies a node | | | set rather than identifying a path) | +------------------+----------------------------------------+ | Worst-hop record | None (per-hop transit delay and queue | | | depth in the Trace Option) | +------------------+----------------------------------------+ | Origin Tag and | None in [RFC9197] | | Hop Tag | | +------------------+----------------------------------------+ | Per-hop latency, | Trace Option; carried in ECHH as IOAM | | queue depth, | data | | interface IDs | | +------------------+----------------------------------------+ Table 4: ECHH Elements and IOAM Equivalents 13. Operational Considerations * Fixed-function ASICs and some NICs have limited parser depth, header-edit capability, and cryptographic throughput. Per-hop Hop Tag recomputation at line rate may require programmable pipelines, SmartNIC offload, or XDP/eBPF software paths, and sampling at the stamping node reduces the load. Pavlou Expires 4 June 2027 [Page 18] Internet-Draft ECHH December 2026 * Location ID interpretation, Origin Timestamp accuracy, and uninterrupted key rotation depend on an accurate inventory, reliable out-of-band key distribution, and synchronized clocks (for example, PTP). * Operators SHOULD monitor for interfaces without an assigned trust role, stale Location ID mappings, and nodes lagging in epoch rotation. * Collectors may correlate ECHH fields with IPFIX [RFC7011] records. Telemetry export SHOULD use a dedicated or out-of-band management network, and high-cardinality values such as the Rolling Path Digest should not be used directly as time-series metric labels. * ECHH provides no telemetry for traffic crossing external networks, since it is removed at domain borders. 14. Security Considerations ECHH is intended only for use within a limited domain [RFC8799] and MUST NOT be exposed to untrusted or public networks. The threats considered are: (a) injection of ECHH frames from outside the domain; (b) leakage of internal topology and location information outside the domain; (c) modification of ECHH fields by on-path devices that hold no ECHH keys; (d) forgery of origin context by a compromised ECHH node; and (e) replay or relocation of ECHH headers within the domain. Threats (a) and (b) are addressed by the port trust roles of Section 3, including the requirement that unassigned interfaces default to ROLE_EDGE_UNTRUSTED, and by removal of ECHH at ROLE_BORDER_EGRESS. Operators SHOULD also apply source address validation [RFC2827] at domain ingress. Threat (c) is addressed by the Hop Tag. A device without K_hop succeeds in a forgery attempt with probability 2^-64. Nodes SHOULD rate-limit and alarm on Hop Tag failures. On links designated MACsec-protected, this protection is provided by MACsec instead; a misconfigured designation on a link without active MACsec removes it, so implementations SHOULD refuse the designation unless a MACsec secure channel with integrity protection is operational on the link. Pavlou Expires 4 June 2027 [Page 19] Internet-Draft ECHH December 2026 The Alg field allows algorithms to be added later. Downgrade to a weaker algorithm is prevented only by configuration: nodes accept only the Alg values configured for the domain (Section 9.1). Threat (d) is partly addressed by the two-level key hierarchy. A compromised transit node holds K_hop and can alter any mutable field (Hop Count, digest, worst-hop record, C flag, IOAM data) on frames it handles, but cannot produce a valid Origin Tag for any Location ID, so a collector detects forged origin context. A compromised stamping node can produce valid Origin Tags only for its own Location ID. K_om allows forging any origin, so collectors and any border nodes holding it are high-value targets and SHOULD store it in hardware- protected storage where available. Threat (e) is addressed by binding the Origin Tag to the inner flow key and by collector replay detection (Section 10.4). Transit nodes do not perform replay detection, so a replayed frame is still forwarded; replay detection protects the integrity of measurements, not the forwarding plane. Because the flow key covers only addresses, protocol, and ports, a header can be moved between packets of the same flow within the replay window. Tag verification consumes resources on every stamped frame. An attacker inside the domain could send frames with invalid tags to exhaust verification capacity; discarding ECHH at untrusted interfaces before verification limits this to inside attackers. ECHH fields are not encrypted; any device on an ECHH link can read Location ID and telemetry. 15. Privacy Considerations Location ID, combined with the operator's inventory, reveals the physical location (down to rack or slot) of the device originating a packet, which in some deployments may be associated with an individual user. Collectors that store ECHH data SHOULD apply the same access controls and retention limits as for other data that can identify a user's location. Removal of ECHH at domain borders prevents this information from being exposed outside the domain. 16. IANA Considerations This document has no IANA actions. The EtherType used in the experiment is an IEEE 802 Local Experimental EtherType and is not assigned by IANA. IOAM Option-Type values carried in ECHH are taken from the existing IANA "IOAM Option-Type" registry. If ECHH progresses beyond experimentation, a future document would request a dedicated EtherType from the IEEE Registration Authority and create IANA registries for ECHH version, flag, and Alg values. Pavlou Expires 4 June 2027 [Page 20] Internet-Draft ECHH December 2026 17. References 17.1. Normative References [IEEE802] IEEE, "IEEE Standard for Local and Metropolitan Area Networks: Overview and Architecture", IEEE Std 802-2014, 2014. [IEEE1588] IEEE, "IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems", IEEE Std 1588-2019, 2020. [RFC1918] Rekhter, Y., Moskowitz, B., Karrenberg, D., de Groot, G. J., and E. Lear, "Address Allocation for Private Internets", BCP 5, RFC 1918, DOI 10.17487/RFC1918, February 1996, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC4193] Hinden, R. and B. Haberman, "Unique Local IPv6 Unicast Addresses", RFC 4193, DOI 10.17487/RFC4193, October 2005, . [RFC4493] Song, JH., Poovendran, R., Lee, J., and T. Iwata, "The AES-CMAC Algorithm", RFC 4493, DOI 10.17487/RFC4493, June 2006, . [RFC4615] Song, J., Poovendran, R., Lee, J., and T. Iwata, "The Advanced Encryption Standard-Cipher-based Message Authentication Code-Pseudo-Random Function-128 (AES-CMAC- PRF-128) Algorithm for the Internet Key Exchange Protocol (IKE)", RFC 4615, DOI 10.17487/RFC4615, August 2006, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . [RFC9197] Brockners, F., Ed., Bhandari, S., Ed., and T. Mizrahi, Ed., "Data Fields for In Situ Operations, Administration, and Maintenance (IOAM)", RFC 9197, DOI 10.17487/RFC9197, May 2022, . Pavlou Expires 4 June 2027 [Page 21] Internet-Draft ECHH December 2026 [RFC9260] Stewart, R., Tüxen, M., and K. Nielsen, "Stream Control Transmission Protocol", RFC 9260, DOI 10.17487/RFC9260, June 2022, . [RFC9326] Song, H., Gafni, B., Brockners, F., Bhandari, S., and T. Mizrahi, "In Situ Operations, Administration, and Maintenance (IOAM) Direct Exporting", RFC 9326, DOI 10.17487/RFC9326, November 2022, . 17.2. Informative References [IEEE8021AE] IEEE, "IEEE Standard for Local and Metropolitan Area Networks: Media Access Control (MAC) Security", IEEE Std 802.1AE-2018, 2018. [RFC2827] Ferguson, P. and D. Senie, "Network Ingress Filtering: Defeating Denial of Service Attacks which employ IP Source Address Spoofing", BCP 38, RFC 2827, DOI 10.17487/RFC2827, May 2000, . [RFC4821] Mathis, M. and J. Heffner, "Packetization Layer Path MTU Discovery", RFC 4821, DOI 10.17487/RFC4821, March 2007, . [RFC7011] Claise, B., Ed., Trammell, B., Ed., and P. Aitken, "Specification of the IP Flow Information Export (IPFIX) Protocol for the Exchange of Flow Information", STD 77, RFC 7011, DOI 10.17487/RFC7011, September 2013, . [RFC8799] Carpenter, B. and B. Liu, "Limited Domains and Internet Protocols", RFC 8799, DOI 10.17487/RFC8799, July 2020, . [RFC8877] Mizrahi, T., Fabini, J., and A. Morton, "Guidelines for Defining Packet Timestamps", RFC 8877, DOI 10.17487/RFC8877, September 2020, . [RFC8899] Fairhurst, G., Jones, T., Tüxen, M., Rüngeler, I., and T. Völker, "Packetization Layer Path MTU Discovery for Datagram Transports", RFC 8899, DOI 10.17487/RFC8899, September 2020, . Pavlou Expires 4 June 2027 [Page 22] Internet-Draft ECHH December 2026 [RFC8900] Bonica, R., Baker, F., Huston, G., Hinden, R., Troan, O., and F. Gont, "IP Fragmentation Considered Fragile", BCP 230, RFC 8900, DOI 10.17487/RFC8900, September 2020, . [RFC9452] Brockners, F., Ed. and S. Bhandari, Ed., "Network Service Header (NSH) Encapsulation for In Situ OAM (IOAM) Data", RFC 9452, DOI 10.17487/RFC9452, August 2023, . [RFC9486] Bhandari, S., Ed. and F. Brockners, Ed., "IPv6 Options for In Situ Operations, Administration, and Maintenance (IOAM)", RFC 9486, DOI 10.17487/RFC9486, September 2023, . Author's Address Marios Pavlou Independent Email: email@mariospavlou.net Pavlou Expires 4 June 2027 [Page 23]