Free IPv6 Subnet Calculator (With Practice Questions)

Type any IPv6 address with a prefix length — 2001:db8:abcd:12::/64, fe80::1/64 — and get the network address, address range, total address count, address type, solicited-node multicast and reverse-DNS name instantly. No sign-up, runs entirely in your browser. Below the tool you'll find worked examples, the address-type table examiners love, and five CCNA-style practice questions.

Accepted formats: 2001:db8:abcd:12::/64 or a bare address such as 2001:db8::1 (assumes /64).

Try:

How IPv6 addressing works (the 30-second version)

An IPv6 address is 128 bits long, written as eight groups of four hexadecimal digits: 2001:0db8:0000:0000:0000:ff00:0042:8329. The /64 in 2001:db8:abcd:12::/64 is the prefix length — the first 64 bits identify the network and the remaining 64 bits identify the interface. A typical LAN always gets a full /64, which is why IPv6 never runs out of addresses the way IPv4 did.

IPv6 address types the CCNA expects you to know

If you memorise one table for IPv6, make it this one. Exam questions constantly ask you to identify an address from its opening bits.

TypePrefixWhat it means
Global unicast2000::/3Routable across the internet — the “public address” of IPv6. This is what your ISP delegates to you.
Unique localfc00::/7Private addresses for use inside one organisation — roughly the IPv6 equivalent of 10.0.0.0/8. Never routed on the internet.
Link-localfe80::/10Valid on a single link only; routers never forward it. Every IPv6 interface has one, used for neighbour discovery and as routing-protocol next hops.
Multicastff00::/8One-to-many delivery. ff02::1 = all nodes on the link, ff02::2 = all routers on the link.
Loopback::1/128This host — the equivalent of 127.0.0.1.
Unspecified::/128“No address yet” — used before a host has an address.
Documentation2001:db8::/32Reserved for examples, textbooks and labs. Every address on this page uses it.
IPv4-mapped::ffff:0:0/96An IPv4 address embedded in IPv6 software, seen on dual-stack hosts.

The two shortening rules

Nobody writes all 32 hex digits if they can avoid it. Two rules compress an address — and the exam will ask you to apply both:

  1. Drop leading zeros in each group: 0db8 becomes db8, 0042 becomes 42.
  2. Replace the longest run of all-zero groups with :: — but only once per address. So 2001:0db8:0000:0000:0000:ff00:0042:8329 becomes 2001:db8::ff00:42:8329.

A single all-zero group is left alone (no :: for one group) — that is the convention, and exam markers follow it.

Worked examples

Five examples covering the IPv6 question types that actually appear on the exam. Try each one yourself first, then check with the calculator above.

1. What is the network address of 2001:db8:abcd:12:34::5/64?

With a /64, the first 64 bits (four groups) are the network portion: 2001:db8:abcd:12::/64. The last 64 bits (34::5) are the interface ID. The subnet spans 2001:db8:abcd:12:: to 2001:db8:abcd:12:ffff:ffff:ffff:ffff — all 264 addresses usable.

2. Your ISP delegates 2001:db8:abcd::/48. How many /64 subnets can you create?

Subnet bits = 64 − 48 = 16, so 216 = 65,536 /64 subnets: 2001:db8:abcd:0::/64 through 2001:db8:abcd:ffff::/64. This is why ISPs hand out /48s — one delegation subnets a very large organisation.

3. Write 2001:0db8:0000:0000:0000:ff00:0042:8329 in its shortest form.

Drop leading zeros: 2001:db8:0000:0000:0000:ff00:42:8329. The longest all-zero run is three groups → replace with :: once: 2001:db8::ff00:42:8329.

4. Derive the EUI-64 interface ID for the MAC address 00:1A:2B:3C:4D:5E.

Split the MAC in half and insert ff:fe: 00:1A:2B:FF:FE:3C:4D:5E. Flip the 7th bit of the first octet (00 → 02). The interface ID is 021a:2bff:fe3c:4d5e — on a 2001:db8::/64 link the full address would be 2001:db8::21a:2bff:fe3c:4d5e. This is exactly what SLAAC does automatically.

5. What is the solicited-node multicast address for 2001:db8::abcd?

Take the last 24 bits of the address (00:abcd) and append them to ff02::1:ff/104: ff02::1:ff00:abcd. Neighbour solicitations are sent here instead of broadcasting — only devices whose address ends in those 24 bits listen.

Quick-fire practice questions

Five exam-style questions. Answer from memory, then click to reveal — and verify with the calculator.

Q1. How many addresses does a /64 subnet contain?

264 = 18,446,744,073,709,551,616 — about 18.4 quintillion. That is more addresses than the entire IPv4 internet, in a single LAN subnet.

Q2. Which address type is fe80::a299:9bff:fe8e:6d1a?

Link-local (fe80::/10). It is valid on its link only and is never forwarded by routers. Notice the interface ID contains ff:fe — this one was built with EUI-64.

Q3. Compress 2001:0db8:0000:0000:0000:0000:0000:0001 as far as possible.

2001:db8::1. Drop the leading zero in 0db8, then replace the six-group all-zero run with :: (once).

Q4. Your ISP delegates 2001:db8:abcd::/48. How many /64 subnets can you carve out of it?

65,536. 64 − 48 = 16 subnet bits, and 216 = 65,536. Each one is a full /64 with 264 addresses.

Q5. What is the solicited-node multicast address for 2001:db8::1234:5678?

ff02::1:ff34:5678. Take the last 24 bits (34:5678) and append them to ff02::1:ff. Paste the address into the calculator to check.

IPv6 for the CCNA 200-301 exam

IPv6 appears across Network Fundamentals: address types and their prefixes, shortening rules, EUI-64, SLAAC, and comparing IPv6 behaviour with IPv4 (no broadcast, no NAT, link-local on every interface). The exam rewards recognition speed — drill the type table above until fe80::/10, fc00::/7, 2000::/3 and ff00::/8 are reflex.

For the full topic, see our IPv6 basics guide for CCNA. Want timed pressure? Our subnetting drill builds the same exam-room speed for IPv4, and the CCNA practice questions cover both.

Ready to test yourself?

IPv6 is one topic of six on the CCNA 200-301. Take the free 25-question mock test — no sign-up — and find out where you stand. One subscription (£5/month or £39/year) unlocks all 370 exam-style questions, 20 in-browser labs and 300 flashcards across all 10 certifications.

Start the free mock test →