Use this Topic for wrong subnet assumptions, route summarization, /64 design questions, overlap, address-plan validation and cases where hosts treat a destination as on-link or routed unexpectedly.
Prefixing
An IPv6 prefix is an address plus prefix length. Forwarding uses longest-prefix match; host on-link behavior depends on interface prefix information and Neighbor Discovery rather than an IPv4-style broadcast model.
1. Write the prefix: 2001:db8:10:20::/64 → the first 64 bits are the subnet.
2. Same /64 on the host and the router interface?
3. show ipv6 route <prefix> longer-prefixes — overlaps or more specific routes?
4. Summaries on nibble boundaries (/48, /52, /56, /60) are easiest to read.
5. Host prefix length not /64 → SLAAC will not work.
address plan per site (/48) → per-link /64 → router interface configured → RA advertises the prefix → hosts on-link → routes summarised per site
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification and known-good state Verify boundary
Operationally, convert the source and destination into the exact prefixes being configured or advertised, then verify the interface prefix length and any RA Prefix Information Option that influences hosts. On routers, inspect all matching IPv6 routes and confirm the intended longest match, next hop and outgoing interface. Follow recursion until the next hop is directly resolvable through Neighbor Discovery. For summaries, compare representative addresses inside and just outside the aggregate so an accidental over-summary is visible. A known-good check includes return routing and not merely successful ND on the first segment. Known-good verification should include both the intended state and the packet or forwarding consequence that state is supposed to produce. This section is authored reference guidance for Prefixing in the IPv6 context. Each command output, counter or capture shows only what is visible at that point in the path. A healthy local state does not by itself show the adjacent hop, reverse path, policy plane, endpoint behavior or application outcome. Use the same flow, VLAN, interface, prefix or control-plane instance throughout the investigation so that evidence from different contexts is not accidentally combined. When a change is made, preserve the original failing test, re-run it after convergence, and check one adjacent known-good case for regression before calling the issue closed.
Step 2 Verification and output interpretation Verify boundary
Verify the exact prefix length on the interface and calculate whether a destination is on-link under that prefix. Inspect connected and learned IPv6 routes and confirm the longest-prefix match for representative destinations. If SLAAC is used, verify the router advertisement prefix information and flags because the presence of an address alone does not show the intended prefix was advertised.
Step 3 Step-by-step troubleshooting Narrow the fault
Boundary rule: Matching-looking addresses do not show hosts make the same on-link/off-link decision when prefix lengths differ.
Step 4 Verification & troubleshooting Narrow the fault
Step 5 Failure signatures and troubleshooting branches Narrow the fault
When a host tries ND for a destination that should be routed, suspect on-link prefix information or local prefix configuration before changing routes upstream. When the router selects a default while an expected specific route is absent, investigate advertisement, filtering or summary generation. If two prefixes overlap, identify which more-specific route wins and whether policy intentionally created that result. If the route is correct but neighbor resolution fails, move to NS/NA, VLAN and Layer-2 state. Beware copied IPv6 addresses with compressed zeros: normalize them before comparing prefixes to avoid human parsing mistakes. Branch from the first contradictory state rather than changing multiple layers at once; the earliest broken boundary usually gives the highest-value next test. This section is authored reference guidance for Prefixing in the IPv6 context. Each command output, counter or capture shows only what is visible at that point in the path. A healthy local state does not by itself show the adjacent hop, reverse path, policy plane, endpoint behavior or application outcome. Use the same flow, VLAN, interface, prefix or control-plane instance throughout the investigation so that evidence from different contexts is not accidentally combined. When a change is made, preserve the original failing test, re-run it after convergence, and check one adjacent known-good case for regression before calling the issue closed.
Step 6 When the problem is really fixed Narrow the fault
After a change, show that the original source classifies the destination correctly as on-link or off-link, that the router installs the intended longest prefix and that ND resolves only the actual next hop or local peer required. Replay the original traffic and verify the reverse path uses a compatible prefix. If summarization changed, test at least one address in each edge range of the summary. Do not claim “IPv6 fixed” solely from a route-table line or ping; preserve the specific prefix, VRF/interface, next-hop and application boundaries in any later Evidence. Closure is the successful replay of the original workload plus bounded regression checks; authored guidance must never be promoted automatically to observed Evidence or verification metadata. This section is authored reference guidance for Prefixing in the IPv6 context. Each command output, counter or capture shows only what is visible at that point in the path. A healthy local state does not by itself show the adjacent hop, reverse path, policy plane, endpoint behavior or application outcome. Use the same flow, VLAN, interface, prefix or control-plane instance throughout the investigation so that evidence from different contexts is not accidentally combined. When a change is made, preserve the original failing test, re-run it after convergence, and check one adjacent known-good case for regression before calling the issue closed.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
/64 is the normal IPv6 LAN subnet size for SLAAC and many operational designs, but prefix semantics must be read from the actual interface/RA/routing state. Never infer reachability from textual similarity of addresses alone.
show ipv6 interface brief— IPv6 addresses (link-local and global) per interface.show ipv6 interface <if>— addresses, joined multicast groups, ND and RA settings.show ipv6 neighbors— neighbour cache: IPv6-to-MAC entries and state (REACH, STALE, INCMP).show ipv6 route <prefix>— route and next hop (often a link-local address plus interface).ping ipv6 <addr>/traceroute ipv6 <addr>— reachability and path.- Host:
ipconfig(Windows) /ip -6 addrandip -6 route(Linux).
ReferenceImportant terms & boundaries6 sections · depth on demand
Key operational limits
- Compress one longest zero run once; never remove meaningful hextets
- /64 is the normal LAN prefix for SLAAC-compatible subnets
- Link-local addresses support neighbor/router communication but are interface scoped
- IPv6 has no broadcast; multicast and anycast serve distinct roles.
In depth
Prefixes and notation in IPv6
RFC 4291 writes IPv6 prefixes as address/prefix-length, like CIDR. It also defines the text rules for addresses:
| Rule | Example |
|---|---|
| Eight groups of up to four hex digits | 2001:0db8:0000:0020:0000:0000:0000:0001 |
| Leading zeros in a group may be dropped | 2001:db8:0:20:0:0:0:1 |
:: replaces one run of zero groups, once per address | 2001:db8:0:20::1 |
| Embedded IPv4 in the low 32 bits | ::ffff:192.0.2.10 |
Use lowercase and the longest zero run for ::, as RFC 5952 recommends, so the same address always looks the same in logs and documentation.
Global unicast structure (RFC 4291)
| Part | Bits (typical site) | Example |
|---|---|---|
| Global routing prefix | 48 | 2001:db8:abcd (from the provider or RIR) |
| Subnet ID | 16 | 0020 |
| Interface ID | 64 | 0000:0000:0000:0001 |
RFC 4291 states that for all addresses not starting with binary 000, the routing prefix and subnet ID together are 64 bits, leaving a 64-bit interface ID.
Common prefix lengths
| Length | Use |
|---|---|
| /32 | Typical allocation to an ISP or large organisation |
| /48 | Typical site: 65,536 /64 subnets |
| /56 | Typical home or small site: 256 /64 subnets |
| /64 | One LAN subnet; required for SLAAC |
| /127 | Point-to-point router links (RFC 6164) |
| /128 | One address: loopbacks, host routes |
R1(config)# interface Vlan20
R1(config-if)# ipv6 address 2001:db8:abcd:20::1/64
R1(config)# interface TenGigabitEthernet1/1/1
R1(config-if)# ipv6 address 2001:db8:abcd:ff00::/127
R1# show ipv6 route connected
C 2001:DB8:ABCD:20::/64 [0/0]
via Vlan20, directly connected
C 2001:DB8:ABCD:FF00::/127 [0/0]
via TenGigabitEthernet1/1/1, directly connected
Subnet planning
With 16 bits of subnet ID in a /48, it's practical to encode structure: for example the first hex digit for site or building, the next for function, and the last two for VLAN. Unlike IPv4, there's no need to size subnets by host count: every LAN is a /64.
Documented example, not captured output.
Quick reference
IPv6 prefixing uses CIDR notation like IPv4 but with much larger spaces. Sites typically receive a /48 (or /56), and each LAN segment uses a /64, which SLAAC and many features require.
| Prefix | Typical use |
|---|---|
| /32 | ISP allocation |
| /48 | Site |
| /56 | Small site or home |
| /64 | One LAN/VLAN |
| /127 | Point-to-point links (RFC 6164) |
| /128 | Loopback/host route |
A /48 contains 65,536 /64 subnets, so plan subnets by structure (site, building, function) rather than by saving addresses.
Mechanics and state ownership
Prefix length defines which leading bits identify a network or aggregate and which remaining bits vary within that prefix. IPv6 forwarding still applies longest-prefix match, so a more-specific route wins over a summary or default route regardless of visual address similarity. On a LAN, Router Advertisements can advertise prefix information and on-link semantics; SLAAC commonly uses /64 because the 64-bit interface identifier model is built into standard host behavior. Point-to-point or infrastructure designs may use other lengths where supported, but operational correctness comes from matching the actual host and router behavior. A prefix can be syntactically valid while still being wrong for the intended on-link domain or routing policy. Mechanics must be interpreted together with the exact protocol state and interface or routing context in which they were learned. This section is authored reference guidance for Prefixing in the IPv6 context. Each command output, counter or capture shows only what is visible at that point in the path. A healthy local state does not by itself show the adjacent hop, reverse path, policy plane, endpoint behavior or application outcome. Use the same flow, VLAN, interface, prefix or control-plane instance throughout the investigation so that evidence from different contexts is not accidentally combined. When a change is made, preserve the original failing test, re-run it after convergence, and check one adjacent known-good case for regression before calling the issue closed.
State model and technical mechanics
An IPv6 address contains 128 bits and a prefix length identifies the network portion. Route lookup uses longest-prefix match exactly as a routing concept, independent of the textual zero-compression used to display addresses. A /64 is the standard subnet size for ordinary IPv6 LANs and is assumed by mechanisms such as SLAAC; point-to-point infrastructure can use other designs where standards and platform support permit. Hierarchical allocation allows site or function summaries while leaving large interface identifier space inside each subnet. Hexadecimal notation can hide bit boundaries, so subnet planning should reason in prefix lengths and nibble boundaries rather than visual groups alone.
Limits and common misconceptions
Textual compression such as 2001:db8::1 does not change prefix semantics. A /64 is not “half the address” in an operational sense; it is a routing/subnet boundary with specific IPv6 conventions. A correct prefix does not show Neighbor Discovery, default-router selection or upstream routing is healthy.
ReferenceConfiguration & state1 section · depth on demand
Design and configuration model
Allocate IPv6 prefixes hierarchically with summarization and operational ownership in mind. Keep LAN prefixes distinct and avoid stretching a subnet across unrelated failure domains merely because the address space is abundant. Use consistent prefix lengths where they aid operations, and document any deliberate exception such as point-to-point addressing. Do not copy IPv4 conservation habits into IPv6 by creating arbitrarily tiny LAN prefixes; the design goals and autoconfiguration assumptions are different.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → IPv6 → Prefixing. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%Quick lookup tables
Prefixing · technical reference
Compact mechanics, configuration and evidence boundaries for fast lookup.
| Item | Reference |
|---|---|
| Address size | 128 bits |
| LAN convention | /64 |
| Route selection | Longest-prefix match |
| Display compression | Presentation only, not routing semantics |
Prefixing operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| Prefix check | Known-good | Failure signature | Next boundary |
|---|---|---|---|
| Prefix length | Matches design/RA/route | Host and router disagree | Interface / RA |
| On-link state | Only intended subnet treated local | ND attempted for routed destination | Prefix Information |
| Longest match | Intended specific route wins | Default/summary wins unexpectedly | Routing policy |
| ND resolution | Next hop resolves | Correct route but unresolved neighbor | L2 / ND |
| Summary edges | Included/excluded ranges intentional | Over-summary/black-hole | Aggregate policy |