Pcornel
Networking · IP Fundamentals › IPv6

Prefixing

Cheat sheet · https://pcornel.dk/topic.php?topic=569

Back to the Topic

Answer

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.

Remember

/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.

First checks

  • 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 addr and ip -6 route (Linux).

Verify in this order

address plan per site (/48) → per-link /64 → router interface configured → RA advertises the prefix → hosts on-link → routes summarised per site

Where it usually breaks

physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result

Prefixing · technical reference

ItemReference
Address size128 bits
LAN convention/64
Route selectionLongest-prefix match
Display compressionPresentation only, not routing semantics

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=569

Confirmation

Confirm action

Continue?