← All posts
SRv6

SRv6 Load Balancing and the IPv6 Flow Label: What Changes at Scale

SRv6 Load Balancing and the IPv6 Flow Label: What Changes at Scale

Equal-cost multipath (ECMP) is how every modern fabric and WAN spreads traffic across parallel links. With MPLS you learned to worry about entropy labels. With SRv6 the question changes: the packet is plain IPv6, so what does a transit router hash on, and where does the IPv6 flow label fit in? This post focuses on exactly that one question: how SRv6 traffic gets load balanced, and how to verify it on the wire.

Why ECMP is a hashing problem

A router with several equal-cost next hops does not spray packets round-robin. It computes a hash over some header fields and uses the result to pick a next hop. Same fields, same hash, same path. That keeps packets of one flow in order, which matters for TCP (TCP handles reordering poorly).

The classic input is the 5-tuple: source address, destination address, protocol, source port, destination port. Plain IPv6 routers can usually read all five without trouble. Encapsulation is where it gets interesting.

Sign up free to keep reading

This post is for members. Create a free account to read the full article, it only takes a few seconds.

Sign up free