subbing/24
Subbing › Guides › IPv6

IPv6 practice

Notation, types, EUI-64. Relevant for CCNA, Network+.

IPv6 questions on the CCNA and Network+ are mostly about notation and recognition: can you compress an address per RFC 5952, expand one back to eight groups, tell a link-local from a unique local address, and derive an interface identifier from a MAC address.

Subbing generates addresses with realistic shapes, including runs of zero groups that tempt a wrong compression, and checks the exact RFC 5952 form. Hard rounds add prefix calculations on /56 and /60 boundaries, EUI-64 and solicited-node multicast addresses.

Start drilling ipv6Get the Android app
Five sample questions, with the working

Generated by the same code as the app. They change with every release; the app never runs out.

Write 2a02:ce6:88d4:: in full
Answer: 2a02:0ce6:88d4:0000:0000:0000:0000:0000
  1. 3 groups present, :: = 5 × 0000
  2. Pad to four digits: 2a02:0ce6:88d4:0000:0000:0000:0000:0000
How many /48 subnets fit in a /40?
Answer: 256
  1. 48 - 40 = 8 bits → 2^8 = 256
Compress fd00:ae47:0001:0000:0000:0000:0000:0293
Answer: fd00:ae47:1::293
  1. Drop leading zeros per group
  2. Longest run of zero groups → :: (leftmost wins a tie)
  3. fd00:ae47:1::293
Is 3fff:fd:a2ea:a2f8:38e9:85b1:50f4:b726 inside 3fff:ff:a2ea::/56?
Answer: no
  1. /56 = first 3 groups: 3fff:00fd:a2ea vs 3fff:00ff:a2ea
  2. Different: no
Solicited-node multicast address for fd00:58a0:db8:0:d6b0:b6ad:10:abcd?
Answer: ff02::1:ff10:abcd
  1. Last 24 bits of fd00:58a0:0db8:0000:d6b0:b6ad:0010:abcd: 10abcd
  2. ff02::1:ff + those = ff02::1:ff10:abcd
Question types in this topic
Guide

IPv6 address compression: How to write an IPv6 address in its shortest valid form, the mistakes exams test for, and how to expand a compressed address back to eight groups.

Questions people ask

What are the RFC 5952 compression rules?

Drop leading zeros in every group, replace the longest run of two or more all-zero groups with ::, and if two runs tie, compress the leftmost. Use lowercase hex.

How is an EUI-64 interface identifier built?

Split the 48-bit MAC in half, insert ff:fe in the middle, and flip the seventh bit of the first byte (the universal/local bit). Prepend fe80:: for the link-local address.

Which prefix is link-local?

fe80::/10. Unique local addresses are fc00::/7 (in practice fd00::/8), multicast is ff00::/8 and global unicast is 2000::/3.

Start drilling ipv6Get the Android app
Other topics
Subnetting practiceMasks, ranges and hostsPort numbers quizWell-known ports, TCP vs UDPVLSM practiceSize, split and summarise subnets