IPv6 Questions with Answers

24 practice questions on IPv6 (Computer Networks) with answers and step-by-step solutions. Try 10 samples below, then practise all 24 free in the AptiNest app.

Sample questions

Question 1Easy

Which kind of address does IPv6 NOT have?

  1. Unicast
  2. Anycast
  3. Broadcast
  4. Multicast

Answer: C. Broadcast

Explanation

IPv6 drops broadcast; functions like ARP use multicast (e.g. solicited-node multicast) instead.

Step-by-step solution

  1. IPv6 defines unicast, multicast and anycast address types.
  2. Broadcast, which IPv4 relies on for things like ARP, was deliberately left out of IPv6's design.
  3. Functions that needed broadcast in IPv4 use targeted multicast groups in IPv6 instead.

Why the other options are wrong

  • A. IPv6 absolutely has unicast addresses; that is the normal one-to-one address type.
  • B. IPv6 does have anycast, letting multiple interfaces share one address with delivery going to the nearest one.
  • D. IPv6 does have multicast, which it actually uses more heavily than IPv4 does, for example in neighbour discovery.

Tip: IPv6 address types: unicast, multicast, anycast. No broadcast.

Question 2Easy

What is the IPv6 address ::?

  1. The loopback address
  2. The all-nodes multicast address
  3. The unspecified address
  4. The default gateway

Answer: C. The unspecified address

Explanation

:: (all zeros) means "no address", used as a source before a host has one; ::/0 is the default route.

Step-by-step solution

  1. The all-zero IPv6 address :: has a specific reserved meaning.
  2. It represents 'no address assigned yet', used for example as a placeholder source address before configuration completes.
  3. This is distinct from ::1 (loopback) and from ::/0 (the default route, written the same way but used as a prefix).

Why the other options are wrong

  • A. Loopback is specifically ::1, one bit different from the all-zero :: address.
  • B. The all-nodes multicast address is ff02::1, a completely different value.
  • D. A default gateway is configured as a normal unicast address, never as the all-zero ::.

Tip: :: = 'no address' (unspecified); ::1 = loopback; ::/0 = default route.

Question 3Easy

Which prefix identifies IPv6 link-local unicast addresses?

  1. 2000::/3
  2. fe80::/10
  3. fc00::/7
  4. ff00::/8

Answer: B. fe80::/10

Explanation

Link-local addresses start with fe80::/10 and are valid only on a single link; ff00::/8 is multicast.

Step-by-step solution

  1. Link-local addresses are automatically configured on every IPv6 interface.
  2. They are valid only on their own local link; routers never forward them.
  3. This range is defined as fe80::/10.

Why the other options are wrong

  • A. 2000::/3 is the global unicast range, routable on the public Internet, the opposite of link-local.
  • C. fc00::/7 is the unique local (private) address range, not link-local.
  • D. ff00::/8 is the multicast range, a completely different address type.

Tip: fe80::/10 = link-local, auto-assigned, never routed beyond the local link.

Question 4Easy

How many hexadecimal groups appear in a fully written IPv6 address?

  1. 4 groups of 32 bits
  2. 6 groups of 16 bits
  3. 8 groups of 16 bits
  4. 16 groups of 8 bits

Answer: C. 8 groups of 16 bits

Explanation

128 bits are written as 8 colon-separated groups of 4 hex digits (16 bits each).

Step-by-step solution

  1. An IPv6 address is 128 bits long in total.
  2. It is written in groups of 16 bits each, separated by colons.
  3. 128 / 16 = 8 groups, each shown as 4 hexadecimal digits.

Why the other options are wrong

  • A. 4 groups of 32 bits would total 128 bits correctly, but that is not how IPv6 addresses are actually divided or written.
  • B. 6 groups of 16 bits would only total 96 bits, short of the full 128-bit address.
  • D. 16 groups of 8 bits would total 128 bits correctly, but that resembles IPv4-style octets, not IPv6's actual written format.

Tip: 128 bits = 8 groups x 16 bits each, written as 4 hex digits per group.

Question 5Medium

Global unicast IPv6 addresses used on the public Internet are allocated from which block?

  1. ::ffff:0:0/96
  2. 2000::/3
  3. fc00::/7
  4. fe80::/10

Answer: B. 2000::/3

Explanation

Global unicast addresses start with binary 001, i.e. 2000::/3.

Step-by-step solution

  1. Addresses meant to be routable across the public Internet need a dedicated allocation block.
  2. That block is defined as 2000::/3, covering addresses whose top 3 bits are 001.
  3. Regional registries delegate smaller allocations (like /32 or /48) out of this block down to ISPs and organisations.

Why the other options are wrong

  • A. ::ffff:0:0/96 is the IPv4-mapped address range, used for representing IPv4 addresses inside IPv6, not for ordinary global routing.
  • C. fc00::/7 is the unique local (private) address range, not publicly routed.
  • D. fe80::/10 is the link-local range, valid only on one local link, not routed globally at all.

Tip: 2000::/3 = global unicast, the publicly routable IPv6 address space.

Question 6Medium

What is the shortest valid (compressed) form of the IPv6 address 2001:0db8:0000:0000:0000:ff00:0042:8329?

  1. 2001:db8:0:0:0:ff00:42:8329
  2. 2001:db8:::ff00:42:8329
  3. 2001:db8::ff00:42:8329
  4. 2001:db8:0:ff00:42:8329

Answer: C. 2001:db8::ff00:42:8329

Explanation

Drop leading zeros in each group and replace the longest run of all-zero groups with "::" (only once).

Step-by-step solution

  1. Drop the leading zeros within each group: 0db8 becomes db8, and 0000 becomes 0.
  2. Find the longest run of consecutive all-zero groups: the three middle groups (0:0:0).
  3. Replace that one run with '::' (used at most once): 2001:db8::ff00:42:8329.

Why the other options are wrong

  • A. This drops the leading zeros correctly but fails to collapse the three-group run of zeros into '::'.
  • B. Three colons together is never valid; '::' always uses exactly two colons regardless of how many zero groups it replaces.
  • D. This drops one zero group entirely instead of replacing the whole run with '::', losing a group and making the address the wrong length.

Tip: Two separate tricks: strip leading zeros per group, then squeeze the longest all-zero run into '::'.

Question 7Medium

Which protocol replaces ARP for address resolution in IPv6?

  1. Reverse ARP (RARP) broadcasts
  2. NDP (ICMPv6)
  3. DHCPv6 in stateful mode
  4. IGMP membership reports

Answer: B. NDP (ICMPv6)

Explanation

NDP uses ICMPv6 Neighbor Solicitation and Advertisement messages to map IPv6 addresses to link-layer addresses.

Step-by-step solution

  1. IPv4 uses ARP to resolve an IP address into a link-layer (MAC) address.
  2. IPv6 replaces this with the Neighbor Discovery Protocol (NDP).
  3. NDP works using ICMPv6 Neighbor Solicitation and Neighbor Advertisement messages.

Why the other options are wrong

  • A. RARP is an old, now-obsolete IPv4-era protocol for the reverse mapping (MAC to IP), unrelated to IPv6 address resolution.
  • C. DHCPv6 assigns addresses and configuration; it does not resolve addresses to link-layer addresses.
  • D. IGMP membership reports manage IPv4 multicast groups; IPv6 uses the separate MLD protocol for that instead, and neither one does address resolution.

Tip: IPv6 replaces ARP with NDP's Neighbor Solicitation/Advertisement messages, carried over ICMPv6.

Question 8Medium

IPv6 unique local addresses (the counterpart of IPv4 private addresses) use which prefix?

  1. fc00::/7
  2. 2002::/16
  3. fe80::/10
  4. ff00::/8

Answer: A. fc00::/7

Explanation

Unique local addresses are in fc00::/7 (in practice fd00::/8) and are not routed on the public Internet.

Step-by-step solution

  1. Organisations need private, non-Internet-routable address space for internal use, just as IPv4 has RFC 1918 ranges.
  2. IPv6's equivalent is the unique local address range.
  3. That range is defined as fc00::/7, with fd00::/8 being the half actually used in practice.

Why the other options are wrong

  • B. 2002::/16 was used for 6to4 tunnelling, an IPv6-over-IPv4 transition mechanism, not private addressing.
  • C. fe80::/10 is the link-local range, valid only on one link, not the private/local-network range.
  • D. ff00::/8 is the multicast range, a completely different address type.

Tip: fc00::/7 (practically fd00::/8) is IPv6's equivalent of IPv4's private address ranges.

Question 9Hard

In an IPv6 packet, how are optional features such as fragmentation or routing information carried?

  1. In the payload length field
  2. In the Flow Label field
  3. In chained extension headers
  4. In a variable-length options field of the base header

Answer: C. In chained extension headers

Explanation

Each header's Next Header value identifies the following extension header or the upper-layer protocol.

Step-by-step solution

  1. IPv6's base header is a strictly fixed 40 bytes, with no room for optional fields.
  2. Any optional feature, like fragmentation or routing information, instead gets its own separate extension header.
  3. Each header's Next Header field points to whatever comes next, chaining the headers together.

Why the other options are wrong

  • A. Payload Length just records the size of the data after the header, unrelated to carrying optional features.
  • B. The Flow Label is a fixed 20-bit field for flow identification, not a place for optional features.
  • D. IPv6's base header has no variable-length options field at all, unlike IPv4.

Tip: IPv6 base header never has options; any extra feature becomes its own chained extension header instead.

Question 10Hard

Using modified EUI-64, what interface identifier is derived from the MAC address 00:1a:2b:3c:4d:5e?

  1. 21a:2bfe:ff3c:4d5e
  2. 21a:2bff:fe3c:4d5e
  3. 1a:2bff:fe3c:4d5e
  4. 21a:2b3c:4d5e:fffe

Answer: B. 21a:2bff:fe3c:4d5e

Explanation

Split the MAC in half, insert FFFE in the middle, and flip the 7th bit (universal/local) of the first byte: 00 becomes 02.

Step-by-step solution

  1. Flip the 7th bit (universal/local bit) of the MAC's first byte: 00 becomes 02.
  2. Split the MAC address in half: 02:1a:2b and 3c:4d:5e.
  3. Insert the fixed bytes FF:FE between the two halves: 02:1a:2b:FF:FE:3c:4d:5e, written as 021a:2bff:fe3c:4d5e.

Why the other options are wrong

  • A. This swaps the order of the inserted bytes; the correct insertion is FF then FE (forming fffe), not FE then FF.
  • C. This drops the leading '2' from the first group, losing the flipped universal/local bit that changes 00 to 02.
  • D. This places the inserted FFFE bytes at the very end instead of in the middle, between the OUI and the device identifier.

Tip: Steps: flip bit 7 of the first byte (00 to 02), split the MAC in half, insert FFFE in the middle.

Practise all 24 questions free

The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.

Open this topic in the app →

Related topics

See all Computer Networks topics · All topics