RFC 10039 adds a BGP attribute to catch EVPN-IPVPN route loops
In short
- RFC 10039, a Standards Track document from the IETF dated September 2026, is titled "Interconnecting EVPN and IPVPN Domains". Its six authors list Nokia, Cisco, HPE and two independent affiliations.
- It defines how a tenant network that spans several BGP domains, some using EVPN and some using IPVPN, can keep end-to-end connectivity between them.
- It also defines a new BGP path attribute, Domain Path (D-PATH), which records the domains a route has crossed so that redundant gateways can spot a route that has come back to where it started. IANA has assigned it attribute code 36.
- Using D-PATH changes how BGP picks the best route, but only for IPVPN and EVPN routes. The RFC says it updates RFC 4271 for those two families only.
36 BGP path attribute code IANA assigned to D-PATH; 6 octets size of a DOMAIN-ID; 255 most domains in one D-PATH segment; 2 route families affected: IPVPN (SAFI 128) and EVPN (SAFI 70) (our count)
The problem: one tenant, several kinds of network
A large cloud or carrier gives each customer (a "tenant") a private network. That private network can be stitched together from several parts. Some parts, such as a data centre, use EVPN, the Ethernet VPN control plane. Others, such as a wide-area carrier network, use IPVPN, the older BGP/MPLS IP VPN. BGP is the protocol the routers use to tell each other which addresses can be reached through them.
RFC 10039 says that when a tenant network spans such domains, "it becomes necessary to define the interworking mechanisms" between them so that tenant connectivity is seamless end to end. Its examples include two EVPN domains, two IPVPN domains, or one of each.
The device that joins domains is called a gateway provider edge (PE). In the RFC's terms it imports a route from one domain, installs it in a per-tenant routing table, and re-originates it with the settings the neighbouring domain needs. The RFC says this lets the design work whatever transport encapsulation each domain uses.
The loop D-PATH is meant to stop
Networks often run more than one gateway for resilience. The RFC describes what can go wrong. Gateway PE1 imports an IPVPN route for a prefix and re-advertises it as an EVPN route. A second gateway, PE2, receives that EVPN route and advertises it back into the IPVPN domain. "A loop may form," the RFC says.
A routing loop here means a route that keeps being passed around between the same gateways instead of settling. The RFC calls it a control-plane loop. It says the safeguards that exist today, such as routing policy or the Route Origin extended community, do not guarantee detection of every such case.
How does Domain Path stop route loops?
The description below is our summary of RFC 10039 section 4.
D-PATH works like the AS_PATH attribute that BGP already uses, but it lists domains instead of autonomous systems.
- Each domain gets a DOMAIN-ID of 6 octets. All gateways attached to the same domain must use the same one, and the two domains a gateway joins must have different ones.
- When a gateway re-advertises a route into another domain, it adds the DOMAIN-ID of the domain the route came from. Each entry also carries a one-octet tag saying which route family the route arrived in (0 for a gateway's own local route, 70 for EVPN, 128 for IPVPN). The RFC says this tag is informational and does not affect loop detection.
- If a gateway receives a route whose D-PATH already contains one of its own domains' DOMAIN-IDs, it flags the route as "looped". It must not export that route to any other domain, and it installs it only if it wins best-path selection.
- A segment holds up to 255 domains. When one is full, the gateway starts a new segment.
The RFC gives a worked example. A route carrying {length=2, <6500:2:IPVPN>,<6500:1:EVPN>} was originated in EVPN domain 6500:1 and re-originated into IPVPN domain 6500:2.
D-PATH is off by default. The RFC says it "MUST be explicitly enabled by configuration on the gateway PEs".
What it changes in route selection
Section 6 adds rules on top of standard BGP selection. The first, applied straight after the Local Preference step, removes any route that does not have the shortest D-PATH. A route with no D-PATH counts as length zero.
In the RFC's second example, an EVPN route with a D-PATH of one domain beats an IPVPN route with a D-PATH of two. The RFC says the result is a preference for routes that cross the fewest gateways or domains.
Two ways to carry attributes across domains
Section 5 describes two modes for a gateway. In No Propagation Mode, the default, the gateway resets the route's BGP attributes as if the prefix were local, and D-PATH is not carried. The RFC says redundant gateways in this mode "may be susceptible to routing loops". In Uniform Propagation Mode the gateway keeps a limited set of attributes, including AS_PATH, MED and communities, and D-PATH is carried and extended. Encapsulation and Route Target extended communities should not be copied across.
Cautions in the RFC
The RFC's own security section says a wrong DOMAIN-ID, or gateways that do not all support D-PATH, can cause false loop detection, dropped traffic or inconsistent routing. Because D-PATH is a transitive attribute, it also says a malicious actor could try to inject false domain information.
To limit that, the RFC restricts D-PATH to IPVPN and EVPN routes inside "walled garden" private networks. A conforming PE must remove it before advertising a prefix to a customer router in an ordinary SAFI 1 route. A malformed D-PATH is treated as a withdrawal under RFC 7606.
Terms in plain English
These explanations are ours.
- BGP: the protocol routers use to share which networks they can reach.
- EVPN / IPVPN: two ways of building private networks over a shared provider network, one Ethernet-based and one IP-based.
- Gateway PE: a provider router that connects two domains and passes routes between them.
- DOMAIN-ID: a label for one domain, used in D-PATH.
- Control-plane loop: routes being re-advertised around a circle between routers, as opposed to data packets circling.
Where things stand
RFC 10039 is a published Standards Track specification dated September 2026. This story did not check which vendors have implemented it or whether any operator has deployed it. The RFC itself gives no deployment figures.
Sources
- RFC 10039: Interconnecting EVPN and IPVPN Domains, IETF, September 2026
- RFC 10039 info page, RFC Editor
Sources
Related stories
- IETF defines Quality of Outcome, a 0-100% network score per app
- RFC 10094 clarifies SRv6 SID list entries are 128-bit values
- RFC 10087 runs the domain-registry EPP protocol over QUIC
- RFC 10021 lets IoT devices verify who sent a multicast command
- RFC 10063 mirrors routing registry data as signed HTTPS files
- RFC 10073 pairs ML-DSA with RSA, ECDSA or EdDSA in one signature