← All posts
SRv6

How SRv6 Unifies the Data Center and the WAN

How SRv6 Unifies the Data Center and the WAN

The Seam Between the Data Center and the WAN

In most networks the data center and the WAN are built as two separate worlds. The fabric runs eBGP or an IGP over IPv4/IPv6 with VXLAN for tenant separation. The WAN runs an IGP with MPLS labels and L3VPN. Where they meet, at the border leaf or DCI router, you stitch them together: terminate VXLAN, map the tenant to a VRF, and re-originate the route into an MPLS VPN, often with Inter-AS style handoffs.

That seam is where most of the operational pain lives. Two encapsulations, two sets of route targets and labels to keep consistent, and a per-tenant configuration step at the border every time a service is added.

SRv6 offers a different approach. This post is about that one angle: how SRv6 lets a data center leaf and a WAN PE participate in the same segment routing domain, and when that actually simplifies things. If you need the basics first, read the SRv6 versus SR-MPLS overview post.

Why It Works: Locators Are Just IPv6 Prefixes

An SRv6 SID is a 128-bit IPv6 address. Each node owns a locator, an IPv6 prefix, and carves SIDs out of it. Because the locator is an ordinary IPv6 prefix, any IPv6 router can forward toward it using plain longest-prefix match. No label distribution protocol, no special forwarding plane for transit nodes.

This is the property that matters for unification. A leaf in the data center and a PE in the WAN both advertise their locators as IPv6 routes. Transit devices, whether a spine, a WAN core router or a border router, only need to carry IPv6 reachability to those locators. They do not need to understand SRv6 at all unless they are an endpoint of a SID. (The structure of the SID itself is covered in SRv6 Locator, Node ID and SID Block.)

Compare that to MPLS, where a label has local significance on each hop and the label space on the DC side has no relationship to the WAN side. Crossing the boundary means swapping into a different label context.

The SID Behaviors That Carry Services

The behaviors are defined in RFC 8986 (SRv6 Network Programming). For a unified DC and WAN design, a small set does most of the work:

  • End: the basic endpoint behavior. The node is a waypoint in a segment list.

  • End.X: endpoint with cross-connect to a specific next-hop or interface, useful for explicit path steering.

  • End.DT4 / End.DT6 / End.DT46: decapsulate and do a lookup in a specific IPv4, IPv6 or either table. This is the L3VPN service SID, the SRv6 analogue of a per-VRF VPN label.

  • End.DX4 / End.DX6: decapsulate and cross-connect to a specific next hop, the analogue of a per-CE label.

  • End.DT2U / End.DT2M: decapsulate and do a Layer 2 lookup (unicast) or flood (BUM). These are the building blocks for EVPN over SRv6.

The service SIDs are signaled in BGP. RFC 9252 defines how BGP overlay services (L3VPN, EVPN) carry the SRv6 SID in the BGP Prefix-SID attribute. The route still carries its route target and route distinguisher as usual. What changes is that the VPN label is replaced by an SRv6 service SID.

One Overlay, End to End

Here is the unified flow for a tenant that has workloads in the data center and a branch site reachable across the WAN:

  1. The DC leaf has a tenant VRF and allocates an End.DT46 (or End.DT4) SID from its locator for that VRF.

  2. The leaf advertises the tenant prefixes via BGP VPN (or EVPN type-5) with that SID attached.

  3. Route reflectors or the border carry the route toward the WAN PE. Because the SID is attached to the route and the locator is plain IPv6, the border does not have to translate a VXLAN VNI into an MPLS label.

  4. The remote PE imports the route and installs an encapsulation: traffic to the tenant prefix gets an outer IPv6 header whose destination is the leaf's service SID.

  5. The packet crosses the WAN and the fabric as ordinary IPv6 toward the leaf's locator. At the leaf, the destination matches the End.DT46 SID, the outer header is removed and the lookup happens in the tenant VRF.

In the simplest case there is no segment routing header at all. The outer IPv6 destination address is the service SID, and the underlay just delivers it. This is the case where unification pays off: one overlay encapsulation across both domains. The mechanics of how the encapsulation, the SRH and the SID processing work are in SRv6 Data Plane: SRH, SIDs and Forwarding.

Illustrative Configuration Shape

The snippet below is an illustrative, vendor-neutral sketch of the idea, not copy-paste configuration for any specific platform. Syntax and available knobs differ by vendor and software release, so check your platform documentation.

# Illustrative only: pseudo-config, not a specific vendor CLI
segment-routing srv6
  locator DC-LEAF1 prefix 2001:db8:100:1::/64
!
vrf TENANT-A
  rd 65000:101
  address-family ipv4 unicast
    export route-target 65000:101
    srv6 locator DC-LEAF1 allocate-sid per-vrf   # End.DT4 style service SID
!
router bgp 65000
  neighbor 2001:db8:ffff::1 remote-as 65000      # route reflector
  address-family vpnv4 unicast
    neighbor 2001:db8:ffff::1 activate
    # SRv6 service SID is carried with the VPN route (RFC 9252)

The key point is what is not there: no VXLAN VNI to MPLS label mapping, no separate DCI handoff configuration for each tenant. The same locator and BGP service route are valid on both sides of the border.

The Underlay Still Needs a Plan

Unified does not mean the same protocol everywhere. A common reality is eBGP in the fabric (the RFC 7938 style) and IS-IS or OSPFv3 in the WAN. SRv6 does not require you to change that. It requires that locator prefixes be reachable end to end as IPv6 routes.

That leads to the design decisions that actually matter:

  • Locator addressing. Allocate locators from a block that summarizes well. If every DC leaf locator falls under one aggregate, the WAN only needs to learn that aggregate from the border. This is where the SID block concept from the sibling post earns its keep.

  • Route propagation across the boundary. Decide whether locators are redistributed between the fabric routing protocol and the WAN IGP, or exchanged via BGP at the border. Summarize at the border and you keep the WAN routing table small.

  • Summarization versus fast failure detection. If the border advertises only an aggregate, a remote PE will not see an individual leaf going down in its IGP. You then rely on BGP and the service route withdrawal to react. Know this trade-off before you summarize aggressively.

When It Actually Simplifies Things, and When It Does Not

The unified design helps when:

  • You already run, or are moving toward, an IPv6 underlay in the fabric.

  • You deliver the same tenant services in both domains and are tired of maintaining a stitched DCI layer per tenant.

  • You want traffic engineering that can extend from the WAN into the fabric using segment lists, per RFC 9256 SR Policy.

It helps less, or adds risk, when:

  • Hardware support is uneven. Not every ASIC in a fabric supports every SRv6 behavior, or the same number of SIDs in a segment list (the maximum SID depth, MSD). Verify the exact platforms you have, not the datasheet headline.

  • Packet overhead matters. A full 128-bit SID per segment makes long segment lists expensive in MTU terms. Compressed SRv6 encodings (the micro-SID approach) exist to reduce this, but interoperability between vendors is something to test, not assume.

  • The fabric is IPv4-only. You would be adding an IPv6 underlay purely to carry SRv6, which is a project in itself.

  • Operations are not ready. Troubleshooting now means reading IPv6 headers and SID tables rather than labels. Your monitoring, ACLs and filtering need to be aware of the SRH and outer IPv6 behavior.

Security at the Boundary

One more thing the unified model forces you to think about: a SID is an IPv6 address, so SRv6 packets can in principle be sent by anyone who can reach the locator. RFC 8754 describes the SRv6 domain concept. Packets with your SIDs as destinations should only be accepted from inside the domain, so apply ACLs at the domain edge to drop traffic from outside that targets your locator block. When you unify the DC and WAN, the domain gets larger, so the edge filtering matters more, not less.

A Practical Way to Try It

Do not start with the full unified design. Build the pieces in order in a lab:

  1. Bring up locators and verify plain IPv6 reachability to them across both domains.

  2. Add a single L3VPN with one End.DT4 service SID and confirm the packet arrives with the SID as the outer destination and no SRH.

  3. Capture on a transit link and confirm that the transit node forwards on the outer IPv6 destination alone.

  4. Only then add an SR Policy with a segment list and watch the SRH appear.

For a hands-on look at the IS-IS and locator side, see the sibling lab post on SRv6 IS-IS locator and SID function on IOS XR.

Takeaway

SRv6 unifies the data center and the WAN because a locator is a normal IPv6 prefix and a service SID rides in BGP. The border stops being a translation point between two encapsulations and becomes, at its simplest, a place where IPv6 routes are summarized and filtered. Whether that is worth it depends on your hardware, your underlay and your operations, so prove it in a lab before you commit.

Comments (0)

Please sign in to comment.

  • Be the first to comment.