How is the compressed (::) form decided?
It follows RFC 5952. Leading zeros in each group are dropped, and the longest run of two or more zero groups becomes "::". If several runs are equally long, the first one is shortened; a single zero group is never replaced by "::". Hex digits a–f are lowercase. For example, 2001:0db8:0000:0000:0001:0000:0000:0001 becomes 2001:db8::1:0:0:1.
How many /64s are in a /48 or a /56?
A /48 holds 2^16 = 65,536 /64s, a /56 holds 2^8 = 256, and a /60 holds 16. An IPv6 LAN is normally a /64, and stateless address autoconfiguration (SLAAC) assumes a /64.
When can the MAC address be recovered?
Only when the interface ID (the last 64 bits) was built with modified EUI-64, which inserts ff:fe in the middle of the MAC and flips the U/L bit of the first byte; this calculator reverses those steps. Most current operating systems use temporary addresses (RFC 8981) or stable IDs unrelated to the MAC (RFC 7217), so ff:fe is usually absent. A random ID can also contain ff:fe by chance.
Which IPv6 addresses are safe to use as examples?
2001:db8::/32 (RFC 3849) and 3fff::/20 (RFC 9637, added in 2024) are reserved for documentation. They are not routed on the internet, so examples in manuals and articles never point to a real network.