Pcornel
Networking · Network Fundamentals

IPv6 Fundamentals

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

Back to the Topic

Answer

An IPv6 address is 128 bits, written as eight groups of hexadecimal. A LAN is normally a /64: the first half names the network, the second the interface. Every interface also has a link-local address (fe80::/10), used to talk to neighbours and as next hop.

Remember

Shortening: drop leading zeros in a group, and replace one run of all-zero groups with ::. Global unicast is 2000::/3, unique local fc00::/7, link-local fe80::/10, multicast ff00::/8. There is no broadcast and no ARP — Neighbor Discovery does the work. Hosts usually configure themselves from router advertisements (SLAAC). Routers need ipv6 unicast-routing.

First checks

  • show ipv6 interface brief — link-local and global addresses per interface.
  • show ipv6 interface <interface> — addresses, joined multicast groups, router advertisement settings.
  • show ipv6 neighbors — the neighbour cache (the ARP table of IPv6).
  • show ipv6 route — routes; next hops are usually link-local.
  • ping ipv6 <address> — reachability; a link-local target needs the outgoing interface.

Commands

show ipv6 route [prefix]
Display IPv6 routing table.
show ipv6 ospf neighbor
Inspect OSPFv3 neighbor state.
show ipv6 interface
show ipv6 interface brief
show ipv6 neighbors
show ipv6 route <prefix>
show ipv6 interface <interface>
show ipv6 route
show ipv6 routers
ping ipv6 <address>
ip -6 addr
ip -6 route

Verify in this order

IPv6 enabled on the interface → link-local address → router advertisement received → global address formed (SLAAC) or assigned → duplicate address check passed → neighbour resolved → route to the destination

Where it usually breaks

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

IPv6 address types

TypeTypical prefix / clueUse
Global Unicast2000::/3Routable unicast addressing
Link-localfe80::/10Local-link functions and next-hop/neighbor operations
Unique Localfc00::/7Private-style internal addressing scope
Multicastff00::/8One-to-many/group functions
Loopback::1/128Local host only
Unspecified::/128No assigned address / initialization context

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

Confirmation

Confirm action

Continue?