Summary
- Twenty bits sit in a fixed slot in every IPv6 header. They let routers and load balancers treat packets as one flow even when ports are encrypted, fragmented or buried behind extension headers.
- The field only works under a strict bargain: one stable non-zero value per flow, well-spread values across flows, no rewriting in transit, and classifiers that never trust the label alone.
- RFC 6437 rebuilt the design away from RFC 3697's state-heavy model; RFC 6438 and RFC 7098 then showed its bounded uses in tunnels and server farms.
A handle, not an identity
Picture a router with its hands tied. Two encrypted conversations arrive through the same tunnel, wearing the same outer source and destination addresses, their transport headers sealed. The router must send them somewhere sensible, and it is not allowed to look inside. The IPv6 Flow Label is the twenty-bit answer to that predicament — a small field in a fixed position that lets a device treat packets as one flow without ever learning what the flow is.
The field occupies twenty bits of the fixed IPv6 header. Zero means exactly one thing: unlabeled. Anything non-zero, combined with source and destination addresses, hands a classifier a three-field key that is available before any walk through extension headers or any decryption of transport material.
That modest definition is the first boundary worth defending. An IPv6 flow need not equal a transport connection. The label names no application, no user, no session, and carries no proof of who set it. RFC 6437 still recommends that unrelated transport connections or application streams normally be placed in distinct flows. The field is a classification handle whose meaning comes from consistent packet treatment, not a declaration of application semantics.
At the source, every packet in one flow should carry the same non-zero label. Values across flows should approximate a discrete uniform distribution and be hard to predict. A source might hash a five-tuple into twenty bits, or assign a pseudo-random value while keeping minimal state — both are examples, not prescribed algorithms. Sequential allocation is discouraged: it distributes badly and is easy to anticipate.
Twenty bits do not make labels unique. Two simultaneous flows sharing the same source and destination can collide, and when they do, a label-based device cannot separate them: both get the same treatment. The design accepts that. It wants useful distribution and affinity, not a globally unique flow identifier.
Why the fixed position mattered
Traditional load distribution hashes transport ports. IPv6 makes that input less dependable for anything sitting in the middle: ports may be missing from non-initial fragments, hidden by encryption, or reachable only after walking an extension-header chain. The Flow Label is always in the same place. It does not reveal the ports; it hands the device something else to work with so it can stop hunting for them.
RFC 6438 takes that property into an IP-in-IPv6 tunnel. When every packet carries identical outer addresses, an ECMP or link-aggregation hash built only from those addresses can polarize traffic onto a single path — a motorway with one lane open. The sending tunnel endpoint can instead derive an outer Flow Label from an inner two- or five-tuple, hold it constant for the inner flow, and let different inner flows spread across the available paths. Collisions stay acceptable: two user flows may share a path without becoming the same flow.
RFC 7098 carries the idea up to layer 3/4 server load balancing. A device may use source address plus Flow Label, or destination address, source address and Flow Label, as a session key. A stateless balancer hashes that key so packets in a flow return to one server; a stateful balancer remembers the key-to-server association. Packets with a zero label fall back to traditional transport-header handling.
State does not erase ambiguity. If a source reuses a label for a new transport session while the addresses stay the same, a stateful balancer cannot tell the new session from the old by that key alone. The label preserves classification only inside its stated limits.
The redesign and its restraint
RFC 6437 replaced RFC 3697's earlier model by encouraging non-zero labels, stateless source behaviour and uniformly distributed values. It kept the rule that a non-zero label should arrive unchanged. A forwarder may fill a zero label on a source's behalf, but that function must be configurable and off by default; source assignment remains the preference.
The history matters because the field became more useful by asking less of the network. Routers did not have to learn application state or divine a label's hidden meaning. Sources supplied stable, distributed input; forwarding devices used it as one ingredient in a hash. That is an editorial reading of the RFC mechanics, not a claim that every IPv6 deployment follows them.
One honest gap: the sources behind this piece contain no deployment census, vendor benchmark or performance measurement. They establish the protocol model and its possible uses, not how often operators switch them on today.
Sources
- RFC 6437, IPv6 Flow Label Specification: https://www.rfc-editor.org/rfc/rfc6437.html
- RFC 6438, Using the IPv6 Flow Label for Equal Cost Multipath Routing and Link Aggregation in Tunnels: https://www.rfc-editor.org/rfc/rfc6438.html
- RFC 7098, Using the IPv6 Flow Label for Load Balancing in Server Farms: https://www.rfc-editor.org/rfc/rfc7098.html
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






