RFC 10039 adds a BGP attribute to catch EVPN-IPVPN route loops

In short

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.

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.

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

Sources

Related stories

More from Wi-Fi Wizards

All stories from Wi-Fi Wizards