IPv6 Fundamentals
Cheat sheet · https://pcornel.dk/topic.php?topic=8
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 interfaceshow ipv6 interface briefshow ipv6 neighborsshow ipv6 route <prefix>show ipv6 interface <interface>show ipv6 routeshow ipv6 routersping ipv6 <address>ip -6 addrip -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
| Type | Typical prefix / clue | Use |
|---|---|---|
| Global Unicast | 2000::/3 | Routable unicast addressing |
| Link-local | fe80::/10 | Local-link functions and next-hop/neighbor operations |
| Unique Local | fc00::/7 | Private-style internal addressing scope |
| Multicast | ff00::/8 | One-to-many/group functions |
| Loopback | ::1/128 | Local host only |
| Unspecified | ::/128 | No 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