Pcornel
Networking · IP Fundamentals

IPv6

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

Back to the Topic

Answer

IPv6 uses 128-bit hexadecimal prefixes, link-local operation, global/unique-local/anycast/multicast address roles and ICMPv6-dependent forwarding.

Remember

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

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

Commands

show ipv6 protocols
Inspect active IPv6 routing protocol context.
show ipv6 interface <interface>
Local state
show ipv6 interface brief

Verify in this order

link-local address on every interface → RA (or DHCPv6) gives prefix and default router → host forms a global address → ND resolves the gateway → routes exist to the destination and back

Where it usually breaks

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

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

Confirmation

Confirm action

Continue?