The short version
- RFC 2784 splits a tunneled packet into a delivery header, a GRE header and a payload. Its four-octet base can name the inner protocol without deciding why the tunnel exists, who may use it, or whether the contents are safe.
- Tony Li co-authored both the 1994 GRE record and the 2000 Standards Track specification. Later RFCs expose the operating debt: the GRE Key is a context label, not a secret; sequencing buys order at the price of state and a denial path; and carrying IPv6 forces continuous MTU and integrity decisions onto the endpoints.
One packet, two addresses, three jobs
A GRE tunnel is the networking equivalent of sealing a letter inside a second envelope and mailing it to a friend who opens the flap and drops the original in the post. The outer envelope gets the packet across town. The inner one still decides where it goes once the flap is open.
At ingress, an ordinary packet becomes payload. A GRE header wraps it, an outer delivery header wraps that, and the underlay reads only the outer destination to haul the whole construction to the egress. There the outer layers come off and the inner packet resumes its journey.
Packaging, yes—but it manufactures three independent records. The delivery header names the tunnel endpoints. The GRE header names what kind of packet is inside and which optional behaviors apply. The payload keeps its own source, destination, lifetime and higher-layer meaning. A route to the outer destination proves only that the envelope can travel. It says nothing about whether the inner destination is authorized, reachable after decapsulation, or visible to the right security control.
RFC 2784, published on the Standards Track in March 2000, credits Dino Farinacci, Tony Li, Stan Hanks, David Meyer and Paul Traina. It replaced the earlier Informational RFC 1701, written by Hanks, Li, Farinacci and Traina. The IETF Datatracker profile supplies Li's public identity, RFC ledger and current roles in the frozen record. These sources establish collective authorship—not a lone-inventor myth, and not personal control over the tunnels the world actually runs.
The useful person-level observation is narrower. Li appears at both stages of a design that first described a general envelope and later deliberately shrank its common core. His public record lets us study a standards contribution where restraint—not command over every use—was the durable engineering choice.
A common envelope beat a matrix of special cases
Without a reusable encapsulation, every payload protocol needs a bespoke method over every delivery protocol. Add one protocol and the pairings multiply. RFC 2784 frames GRE's ambition as collapsing that O(n²) problem into three tidy pieces: payload, common envelope, delivery.
Generality was never sold as magic. The document warns that protocol-specific nuances get ignored and that a purpose-built X over Y mechanism may beat GRE for some pairings. Most tellingly, it declines to specify when a packet ought to be encapsulated. GRE supplies grammar, not justification.
That line keeps a technical option from hardening into universal policy. An enterprise may stitch separated private prefixes. A provider may haul a service across an underlay. A lab may test an otherwise unsupported protocol. None of those purposes is authorized merely because the bytes conform to GRE. The operator must still name the owner, the endpoints, the admitted payloads, the security boundary, the capacity and the retirement condition.
The economics matter. A common envelope cuts implementation and coordination cost. It does not absorb the operational downside of the networks using it. Whoever saves by reusing GRE still owns the route leak, the black hole, the inspection gap and the dependency the tunnel creates.
Four octets standardize only what the peer must know
With the optional checksum absent, the RFC 2784 header is two 16-bit words. The first carries a checksum-present bit, reserved bits and a version value; the second carries the Protocol Type, an EtherType naming the payload. Version zero is the base format.
That sliver holds no global tunnel identifier, no owner, no policy, no route, no encryption claim, no service-level promise. It tells the peer how to parse the next bytes—full stop. An unknown Protocol Type gets discarded. Reserved bits go out as zero; a receiver that does not implement the older behavior must drop packets using certain non-zero extension positions. Unknown meaning is refused, not guessed.
The optional checksum adds four octets and covers the GRE header and payload with the ordinary Internet checksum. A compliant implementation must process it when present. It catches accidental corruption. It cannot authenticate an endpoint, hide content, or grant permission.
This is what a minimal shared specification looks like in a packet capture: every common bit answers an interoperability question, and everything it leaves unanswered stays outside the protocol's authority.
The path after decapsulation still belongs to the payload
When the inner packet is IPv4, RFC 2784 tells the egress to forward on the inner destination and decrement the inner TTL. The outer destination has done its job; it does not inherit the payload's routing semantics.
The spec also flags a sharp loop condition. If the decapsulated inner destination is the encapsulator at the far end, the packet can be flung back into the same relationship—so it must be discarded. Tunneling can hide topology from the inner packet, but it cannot repeal loop consequences.
This split is gold during diagnosis. An outer traceroute can reach the egress while the inner route is missing. The tunnel interface can sit administratively up while the payload is dropped after decapsulation. And an inner application failure can get blamed on GRE when the real break is an underlay route, a firewall, an MTU or a return-path mismatch. Observe the three records separately, then join them.
The 1994 option set was narrowed, not silently inherited
RFC 1701 offered a fatter header: routing, key, sequence, strict-source-route and recursion controls could all appear. RFC 2784 standardized the intersection that multiple vendors actually deployed and deprecated those fields in its base profile. A base receiver that meets the older non-zero flag positions discards the packet unless it explicitly implements the older behavior.
So the history is not a simple tale of piling on features. The shared core got smaller so independent implementations could agree on fewer meanings with more certainty. Optional needs could return through separately specified extensions instead of lurking behind ambiguous reserved bits.
Compatibility therefore means an explainable refusal boundary. A tunnel that fails because one endpoint expects an extension is not fixed by accepting bytes under a guessed layout. Prove the capability pair, activate only the agreed profile, and keep a rollback that restores the prior parsing contract.
A field called Key is not a security key
RFC 2890, authored by Govindan Dommety rather than Li, later defined the optional Key and Sequence Number extensions. The four-octet Key tags a traffic flow or context between encapsulator and decapsulator. How that value is obtained sits outside the document.
The standard is refreshingly blunt about the naming hazard: despite the name, the field provides no security. It can separate tenants, services or flows under a local agreement, but anyone who can build a GRE packet can copy or invent the number unless something else protects the packet. Treat it as a password and you have turned a context label into a false trust boundary.
The optional Sequence Number carries a different debt. It can support unreliable in-order delivery: the receiver keeps the last successfully decapsulated value, drops older ones, and may run a bounded reordering buffer. That helps a payload sensitive to reordering, but it adds per-flow state and a fresh denial path—an injected high sequence can make lawful traffic look stale.
RFC 2890 requires IPsec AH or ESP for protection against that attack, and it cautions against GRE ordering where a higher layer already orders traffic or tolerates reordering. An optional bit is a systems decision, not free functionality. Flip it and you change memory, buffering, attack surface, logging and failure semantics at both ends.
Filtering moves to where meaning becomes visible
RFC 2784 notes that route filtering stays aligned with ordinary IPv4 routing, but packet filtering must either look inside the GRE packet or happen at the tunnel endpoints. The underlay can make a perfectly correct call on the delivery header while knowing nothing about the inner protocol, address or port.
That breeds a familiar failure of responsibility. Transport says the outer route is restricted. Security says the firewall permits only GRE between two addresses. The service team assumes the inner traffic inherited both decisions. In truth, neither outer fact defines which payloads are allowed after decapsulation.
An accountable design records the admissible inner prefixes and protocols, where decapsulation happens, which device inspects before or after it, and whether IPsec authenticates or encrypts the delivery packet. “GRE up” is not a security status. The evidence is the effective policy on both layers and the packet that actually crossed them.
IPv6 turned omitted details into activation gates
RFC 7676, written by Carlos Pignataro, Ron Bonica and Suresh Krishnan, later specified IPv6 as GRE payload or delivery protocol. It is not part of Li's authorship record. It earns its place here because it shows what happens when a thin base contract meets a new network layer.
With IPv6 as payload, a GRE tunnel must carry a 1280-octet IPv6 packet from ingress to egress without fragmenting the payload. The ingress must verify that ability before activation and periodically after, then activate or deactivate accordingly. The GRE MTU is the underlay path MTU minus delivery and GRE overhead. If a payload above that value cannot travel, the ingress may need to discard it and return an ICMPv6 Packet Too Big message with the usable value.
A small header has not made packet size vanish. It has made overhead calculable—and made the endpoint responsible for testing and signaling it. A lost Packet Too Big message produces the classic tunnel illusion: small probes sail through, larger application flows stall, and the control plane stays green.
The checksum choice exposes another boundary. Skipping the GRE checksum saves computation where inner transports already check their data. But an IPv6 delivery header has no checksum, and a GRE checksum would not cover it anyway. RFC 7676 analyzes an unlikely but material case: a corrupted outer destination lands on the wrong VPN provider-edge router, and overlapping private addresses make the payload valid in the wrong VPN. The document tells operators not to deploy GRE over IPv6 unless they have accepted that risk, and points to end-to-end payload authentication as a mitigation.
The standards do not promise the scenario exists in your network. They do establish the question you must answer. General-purpose carriage is never the same thing as general-purpose safety.
Thin coordination demands thick evidence at the edge
Lu Heng's later Minimum Initial Specification, Localized Future Decision, and Voluntary Adoption gives Sofia Ren a useful lens on GRE. The common layer can stay narrow: layout, version, payload type, optional fields and rejection behavior. Each network stays free—and obliged—to decide why the tunnel exists, who runs it, which inner traffic it accepts, how it secures the delivery and when it retires the dependency.
The corollary comes from Running-Code Primacy. A configuration object is only intent. Evidence must connect the outer route, emitted GRE flags, protocol type, effective overhead, optional context, security association, inner route, filter decision, MTU feedback, counters and application result.
These Heng texts are a later editorial framework, not proof of Li's private intention or of consensus beyond the cited RFCs. Their value is to clarify who owns what. The standard owns the shared envelope. Implementations own correct parsing and state. Operators own every reason the envelope is allowed to exist.
GRE endured because it did not try to rule its payload. That restraint made it portable. It also left no institution inside the four-byte header to rescue a careless deployment. The envelope can carry almost anything; only the endpoints can prove that it should.
Sources
- IETF Datatracker: Tony Li
- Minimum Initial Specification, Localized Future Decision, and Voluntary Adoption
- Running-Code Primacy
- RFC 1701: Generic Routing Encapsulation
- RFC 2784: Generic Routing Encapsulation
- RFC 2890: Key and Sequence Number Extensions to GRE
- RFC 7676: IPv6 Support for Generic Routing Encapsulation
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






