Route Distinguisher¶
A route distinguisher prefixes an IP address in a BGP VPN address family so otherwise overlapping routes can be distinguished.
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
Telling Twin Addresses Apart
Route Distinguishers in BGP VPNs
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
- MPLS VPN — 0.77
- Adversarial Queueing Network — 0.73
- Tier 1 Network — 0.73
- Mobile Virtual Private Network — 0.72
- Classless Inter-Domain Routing — 0.71
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