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).
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.
- Network address — the first address in the prefix; identifies the subnet itself.
- Last address — the final address in the prefix. There is no broadcast address in IPv6, so unlike IPv4 there is no “minus 2” — every address in the range is usable.
- Total addresses — 2 raised to the number of host bits. A /64 holds 264 addresses (about 18.4 quintillion).
- Address type — the opening bits reveal what kind of address it is: global unicast, unique local, link-local, multicast and more. The table below is worth memorising.
- Solicited-node multicast — the multicast group a device listens on for neighbour discovery (IPv6's replacement for ARP). It is always
ff02::1:ffplus the last 24 bits of the address. - Reverse DNS — the PTR record name for the address, written nibble-by-nibble under
ip6.arpa.
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.
| Type | Prefix | What it means |
|---|---|---|
| Global unicast | 2000::/3 | Routable across the internet — the “public address” of IPv6. This is what your ISP delegates to you. |
| Unique local | fc00::/7 | Private addresses for use inside one organisation — roughly the IPv6 equivalent of 10.0.0.0/8. Never routed on the internet. |
| Link-local | fe80::/10 | Valid on a single link only; routers never forward it. Every IPv6 interface has one, used for neighbour discovery and as routing-protocol next hops. |
| Multicast | ff00::/8 | One-to-many delivery. ff02::1 = all nodes on the link, ff02::2 = all routers on the link. |
| Loopback | ::1/128 | This host — the equivalent of 127.0.0.1. |
| Unspecified | ::/128 | “No address yet” — used before a host has an address. |
| Documentation | 2001:db8::/32 | Reserved for examples, textbooks and labs. Every address on this page uses it. |
| IPv4-mapped | ::ffff:0:0/96 | An 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:
- Drop leading zeros in each group:
0db8becomesdb8,0042becomes42. - Replace the longest run of all-zero groups with
::— but only once per address. So2001:0db8:0000:0000:0000:ff00:0042:8329becomes2001: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.
More free tools: Subnet calculator Subnetting drill CIDR cheat sheet Binary–decimal converter Flashcards
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 →