Skip to content

Route Distinguisher

A route distinguisher prefixes an IP address in a BGP VPN address family so otherwise overlapping routes can be distinguished.

Version
v1 · 2026-11-14 · History
Domain-specific #
14924
Domain group
Applied Sciences & Engineering
Origin domain
Computer Science & Software Engineering
Aliases
RD

Core Idea

A route distinguisher (RD) is an eight-octet value that is placed before an IP address in a VPN address-family representation carried by BGP. The resulting qualified address lets BGP distinguish routes with the same IP address or prefix. For VPN-IPv4, the RD precedes a four-octet IPv4 address; VPN-IPv6 uses the same length RD before a sixteen-octet IPv6 address. Distinct RDs can make identical IP prefixes into distinct VPN routes.[1][2]

How would you explain it like I'm…

The Town-Name Tag

Two different houses can both be called "12 Main Street" if they're in different towns. To tell them apart, you add the town's name in front. A route distinguisher is a tag put in front of a computer address so the network can tell two same-looking addresses apart.

Telling Twin Addresses Apart

On the internet, every device has an IP address, and routers share lists of routes to those addresses using a system called BGP. But different private networks (VPNs) might use the very same addresses. A route distinguisher is an extra 8-byte label that gets put in front of the IP address. With that label, two identical addresses become different, so BGP can keep the routes for each network separate.

Route Distinguishers in BGP VPNs

A route distinguisher (RD) is an eight-octet (eight-byte) value placed in front of an IP address in the VPN address formats carried by BGP, the protocol routers use to exchange routes. Combining the RD with the address makes a longer, qualified address, which lets BGP tell apart routes that have the same IP address or prefix. For VPN-IPv4, the RD comes before a four-octet IPv4 address; for VPN-IPv6, the same eight-octet RD comes before a sixteen-octet IPv6 address. So if two VPNs both use the same IP prefix, giving them different RDs turns them into distinct VPN routes.

 

A route distinguisher (RD) is an eight-octet value prefixed to an IP address within a VPN address family carried by BGP. Because separate VPNs may reuse the same address space, the same IP address or prefix can appear in routes that belong to different VPNs. Prefixing the RD forms a qualified address that BGP treats as distinct, so it can carry and select among such routes independently. In the VPN-IPv4 address family, the RD precedes a four-octet IPv4 address, giving a twelve-octet address. VPN-IPv6 uses an RD of the same length before a sixteen-octet IPv6 address. The effect is that identical IP prefixes with distinct RDs become distinct VPN routes in BGP.

Structural Signature

A provider edge has an IP route to represent; an RD value is combined with its IP address or prefix; the resulting VPN address-family value serves as a distinguishable route key in BGP. The RD itself does not decide which VPNs receive or import the route. Route-target attributes and policy perform that separate role.[1]

How It Works

A provider edge learns a customer route and constructs a VPN address-family route by qualifying its address or prefix with an RD. Within RFC 4364's BGP/MPLS VPN design, the RD comprises a type field, an administrator field and an assigned-number field; the type determines the latter fields' formats. The administrator and assigned-number structure supports coordinated uniqueness. A route can carry multiple route-target attributes, which are separate from its RD and affect distribution and eligibility for import into a routing and forwarding table (VRF).[1]

Worked Examples

Overlapping VPN-IPv4 addresses. As a constructed illustration, two customers both use 10.0.0.0/24. If a provider represents the routes using distinct RDs, the two RD-qualified VPN-IPv4 prefixes differ even though their IPv4 prefixes match. The actual RD values and policy are chosen by the operator; distinction alone does not authorize import into either customer's VRF.[1]

VPN-IPv6 route alternatives. RFC 4659 specifies a VPN-IPv6 address family and explains that different RDs can distinguish routes for the same IPv6 prefix. The same technique can also represent alternative routes to the same system; route distribution and forwarding still depend on separate rules and policy.[2]

Boundaries and Practical Use

The RD is not a route target, a destination address assigned to a customer, or a tag that by itself declares route origin or VPN membership. It is part of the BGP VPN route representation, not a claim that the RD is appended to each customer data packet. Identical RD and IP-prefix combinations do not become distinct merely because an operator intends different customers. Routing policy, next-hop selection, labels and VRF configuration remain separate concerns.[1][2]

Neighborhood in Abstraction Space

Route Distinguisher sits in a sparse region of the domain-specific corpus (99th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Unclustered & Miscellaneous (3155 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] E. Rosen and Y. Rekhter, BGP/MPLS IP Virtual Private Networks (VPNs), RFC 4364, February 2006, §§4.1–4.3, doi:10.17487/RFC4364, https://datatracker.ietf.org/doc/html/rfc4364. registry ↩a ↩b ↩c ↩d ↩e

[2] J. De Clercq, D. Ooms, M. Carugi and F. Le Faucheur, BGP-MPLS IP Virtual Private Network (VPN) Extension for IPv6 VPN, RFC 4659, September 2006, §2, doi:10.17487/RFC4659, https://www.rfc-editor.org/rfc/rfc4659. registry ↩a ↩b ↩c