| Internet-Draft | ECHH | December 2026 |
| Pavlou | Expires 4 June 2027 | [Page] |
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.¶
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.¶
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.¶
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:¶
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).¶
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.¶
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:¶
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.¶
This document uses the IOAM terminology of [RFC9197]. In addition:¶
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.¶
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.¶
+-----------------+-------------+--------------+-----------------+ | Ethernet header | ECHH fixed | IOAM data | Inner IPv4 or | | (EtherType = | header | (0 or more | IPv6 packet | | 0x88B5) | (44 octets) | options) | | +-----------------+-------------+--------------+-----------------+
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 + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
ECHH timestamps are 32-bit values derived from the PTP timescale [IEEE1588]. Following the guidelines of [RFC8877], the format is specified as follows:¶
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.¶
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.¶
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.¶
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.¶
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.¶
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.¶
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) ~ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
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 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.¶
ECHH uses two 64-bit tags, an Origin Tag and a Hop Tag, both computed with the algorithm identified by the Alg field.¶
| Alg | Tag algorithm | Key derivation |
|---|---|---|
| 0 | AES-CMAC [RFC4493], truncated to the leftmost 64 bits | AES-CMAC-PRF-128 [RFC4615] |
| 1-6 | Unassigned | |
| 7 | Reserved for local experimentation | |
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.¶
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:¶
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.¶
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:¶
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.¶
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:¶
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.¶
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:¶
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:¶
Discarded frames SHOULD be counted per interface and per reason (version, format, epoch, Hop Tag, hop limit), and the counters made available to management.¶
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.¶
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.¶
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).¶
To carry an inner packet of size M unchanged, the link MTU must be at least M + H:¶
| Inner packet | Link MTU needed | Overhead |
|---|---|---|
| 1500 | 1544 | 2.93% |
| 9000 | 9044 | 0.49% |
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% |
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.¶
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.¶
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:¶
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.¶
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:¶
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.¶
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 encapsulation (IPv4 and IPv6) | None for native IPv4; IPv6 options [RFC9486], NSH [RFC9452] |
| Hop Count / Hop Limit | Trace Option Hop_Lim (derived from 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 Digest | None (Trace Option node list grows per 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 Hop Tag | None in [RFC9197] |
| Per-hop latency, queue depth, interface IDs | Trace Option; carried in ECHH as IOAM data |
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:¶
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.¶
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.¶
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.¶
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.¶