Training / Certifications / CompTIA Network+ / IPv6 Addressing and Transition

CompTIA Network+ (N10-009) · Lesson 16

IPv6 Addressing and Transition

Explain how IPv6 mitigates IPv4 address exhaustion, read and shorten IPv6 addresses and recognize their types, and choose between dual stack, tunneling and NAT64 for IPv4 compatibility.

Domain 1.0: Networking Concepts (23%)Objective 1.8About 5:34CaptionsStatic view for reduced motion
Lesson 16: IPv6 addressing and transition Illustrative example: addresses are samples Why IPv6: IPv4 ran outIPv4: 32 bitsabout 4.3 billion addressesIPv6: 128 bitsabout 3.4 × 10³⁸ addresses3 February 2011IANA's free pool of IPv4 addresses ran outStopgap: private addresses behind NATFix: a far bigger address spaceAnatomy of an IPv6 address2001:0db8:0000:0000:0000:ff00:0042:83298 groups × 16 bits = 128 bits, separated by colonsNetwork prefix: 64 bits(where the network is)Interface ID: 64 bits(which device)Hexadecimal: 0–9 and a–fOne hex digit = 4 bits, so 4 digits = 16 bitsPrefixes use slash notation, like CIDR:2001:db8:0:1::/64Writing it shorterFull form2001:0db8:0000:0000:0000:ff00:0042:8329Rule 1: drop leading zeros in each group2001:db8:0:0:0:ff00:42:8329Rule 2: “::” replaces one run of zero groups2001:db8::ff00:42:83292001::ff00::8329“::” only onceff00 → ffnever drop trailing zerosIPv6 address typesTypeStarts withIPv4 cousinGlobal unicast2000::/3Public addressUnique localfc00::/7 (fd…)Private (RFC 1918)Link-localfe80::/10APIPA (169.254)Loopback::1127.0.0.1Multicastff00::/8Multicast, broadcastNo broadcast in IPv6: multicast does that jobEvery interface has a link-local addressA host usually has several IPv6 addresses(link-local plus one or more global)Dual stack: run both side by sideIPv4 customerIPv6 customerStore web server203.0.113.102001:db8:10::10Both stacks runningDNS for shop.example.comA203.0.113.10IPv4 addressAAAA2001:db8:10::10IPv6 addressTunneling: IPv6 inside IPv4IPv4-only networkBranch (IPv6)HQ (IPv6)R1R2tunnelAdded at R1, removed at R2IPv4 headerprotocol 41IPv6 header + data (unchanged)Manual (configured): 6in4, also GREAutomatic: 6to4, ISATAP, TeredoTeredo uses UDP to get through NATNAT64 and DNS64: IPv6-only meets IPv4IPv6-only phoneNAT64gatewayIPv4-only site198.51.100.7DNS64server1Phone asks for AAAA; the site has only an A record,so DNS64 builds one: 64:ff9b::c633:64072Phone sends IPv6 packets to that address(64:ff9b::/96 + the IPv4 address in hex)3NAT64 translates them to IPv4 and back,tracking each session like NATPick the methodIPv6-only phones must reach IPv4-only sitesNAT64 + DNS64Two IPv6 sites joined over an IPv4-only WANTunnelingServers must serve IPv4 and IPv6 customersDual stackShorten 2001:0db8:0000:0000:0000:0000:0000:00012001:db8::1Address exhaustionIPv4 has 2³² addressesIANA's free pool ran outin February 2011NAT and private addressesonly stretched IPv4IPv6 has 2¹²⁸ addresses:a global one for every deviceExam clue“Mitigate address exhaustion”= IPv6The format128 bits, written in hex8 groups of 16 bitsGroups separated by colonsUsually a /64 network prefix+ 64-bit interface IDPrefix length like CIDR: /64Exam clueIPv6 = 128 bits;IPv4 = 32 bitsShortening rulesDrop leading zeros: 0042 → 42“::” replaces one run ofall-zero groupsUse “::” only onceNever drop trailing zeros::1 = loopback:: = unspecified (no address)Exam clueTwo “::” in one address= invalidRead the first digits2 or 3: global unicastfd: unique local (private)fe80: link-local, this linkonly, never routedff: multicast::1: loopbackExam cluefe80:: address only and nointernet = no router/globalDual stackDevices run IPv4 and IPv6at the same timeUses whichever version theother end supportsMost common approachCost: two of everything:addressing, rules, routingExam clueBoth protocols on the samedevices at once = dual stackTunnelingWraps one IP version insidethe otherCrosses a network thatlacks that versionIPv4 protocol 41 = IPv6 insideExtra header: smaller MTUA bridge, not a destinationExam clueIPv6 islands across anIPv4-only network = tunnelNAT64 + DNS64Translates, doesn't wrapIPv6-only clients reachIPv4-only serversDNS64 makes the AAAA recordWell-known prefix:64:ff9b::/96Common on mobile networksExam clueIPv6-only network mustreach IPv4 = NAT64CompareDual stack: run bothTunneling: wrap one inthe otherNAT64: translate betweenthemShorten: zeros first,then one “::”Exam clueRun, wrap or translate?That picks the answerWhy IPv6IPv4 addresses ranout; IPv6 has 128-bitaddressesReading addressesHex format, theshortening rules andaddress typesLiving with IPv4Dual stack, tunnelingand NAT64: how bothversions coexistObjective 1.8: summarize evolving use cases for modern network environmentsThis lesson completes objective 1.8 and domain 1If the question says……think“Mitigate IPv4 address exhaustion”IPv6 (128-bit)“Run IPv4 and IPv6 on the same devices”Dual stack“Carry IPv6 across an IPv4-only network”Tunneling (6in4, 6to4)“IPv6-only clients reach IPv4-only servers”NAT64 with DNS64“Address starting fe80”Link-local“Address starting fd or fc”Unique local (private)“No broadcast in IPv6; what replaces it?”MulticastWhy and howIPv4 ran out (2011)IPv6: 128 bits, hex,8 groups of 16 bitsDrop leading zeros;“::” only onceAddress types2000::/3 globalfd unique localfe80 link-localff multicast, ::1 loopCoexistingDual stack: run bothTunnel: wrap IPv6in IPv4NAT64 + DNS64:translateRun both, wrap one in the other, or translate between them.

Tip: turn your phone sideways or use full screen for larger labels.

Captions match the narration word for word. Press Space to play or pause and the arrow keys to change scenes.

Learning objective

Explain how IPv6 mitigates IPv4 address exhaustion, read and shorten IPv6 addresses and recognize their types, and choose between dual stack, tunneling and NAT64 for IPv4 compatibility.

Exam mapping

Domain 1.0: Networking Concepts (23%). Objective 1.8 in the official N10-009 exam objectives.

Key takeaways

  • IPv4's 32-bit space (about 4.3 billion addresses) ran out: IANA's free pool was depleted in February 2011. NAT only stretched it; IPv6 mitigates exhaustion with 128-bit addresses.
  • An IPv6 address is eight groups of four hex digits (16 bits each) separated by colons, usually a /64 network prefix plus a 64-bit interface ID.
  • Shorten by dropping leading zeros in each group and replacing one run of all-zero groups with "::" (only once). Trailing zeros are never dropped.
  • Main types: global unicast 2000::/3, unique local fc00::/7 (fd…, like RFC 1918), link-local fe80::/10 (every interface has one), multicast ff00::/8, loopback ::1. IPv6 has no broadcast.
  • Dual stack runs IPv4 and IPv6 on the same devices at once; tunneling (6in4/protocol 41, GRE, 6to4, ISATAP, Teredo) wraps IPv6 in IPv4 to cross an IPv4-only network.
  • NAT64 translates between IPv6 and IPv4 so IPv6-only clients reach IPv4-only servers; DNS64 synthesizes the AAAA record, often with the 64:ff9b::/96 prefix.

Exam tips

How the exam asks about this

Questions describe a situation and expect you to recognize the concept behind it.

If the question mentions…Think
Solve IPv4 address exhaustionIPv6 (128-bit addresses)
Hosts and routers run IPv4 and IPv6 at the same timeDual stack
IPv6 packets carried inside IPv4 across an IPv4-only networkTunneling (6in4, 6to4, Teredo)
IPv6-only network reaches IPv4-only serversNAT64 with DNS64
Address beginning fe80Link-local (never routed)
Address beginning fdUnique local (like private RFC 1918)
IPv6 replacement for broadcastMulticast (ff00::/8)
::1IPv6 loopback

Common traps

  • The double colon can appear only once in an address; 2001::ff00::8329 is invalid because the zero runs would be ambiguous.
  • Only leading zeros may be dropped: 0db8 becomes db8, but ff00 can't become ff.
  • Tunneling wraps (encapsulates) packets; NAT64 translates them. If the clue is IPv6-only clients reaching IPv4-only servers, think NAT64, not a tunnel.
  • IPv6 has no broadcast addresses. An answer that mentions an IPv6 broadcast address is wrong; multicast does that job.

Practice

Exam-style questions

Answer each one before you open the explanation.

Question 1. Which is a valid shortened form of 2001:0db8:0000:0000:0000:0000:0000:0001?

  1. 2001:db8:::1
  2. 2001::db8::1
  3. 2001:db8::1
  4. 2001:db8:1
  5. 21:db8::1
Show answer

C. 2001:db8::1. Drop the leading zeros (0db8 becomes db8) and replace the single run of zero groups with "::". Two double colons, a triple colon or dropping zero groups without "::" are invalid, and 2001 can't lose its inner zeros.

Question 2. A mobile carrier gives its phones only IPv6 addresses, but subscribers must still reach websites that have only IPv4 addresses. Which solution should the carrier use?

  1. Dual stack on every website
  2. NAT64 with DNS64
  3. A 6in4 tunnel between two IPv6 sites
  4. Link-local addressing
Show answer

B. NAT64 with DNS64. NAT64 translates IPv6 packets to IPv4 and back, and DNS64 creates the IPv6 address the phone connects to. A tunnel connects IPv6 islands across IPv4 but doesn't let IPv6-only clients talk to IPv4-only servers, and the carrier can't change other organizations' websites.

Question 3. A company's branch office and headquarters both run IPv6, but the WAN provider between them supports only IPv4. Which method lets the sites exchange IPv6 traffic without changing providers?

  1. NAT64
  2. APIPA
  3. Dual stack on the branch PCs
  4. Tunneling IPv6 inside IPv4
Show answer

D. Tunneling IPv6 inside IPv4. A tunnel encapsulates each IPv6 packet in an IPv4 header (protocol 41 for 6in4) so it can cross the IPv4-only network and be unwrapped at the far end. NAT64 translates for IPv6-only clients reaching IPv4 servers, and dual stack on the PCs doesn't make the WAN carry IPv6.

Question 4. Which TWO statements about IPv6 addresses are true? (Select TWO.)

  1. Every IPv6 interface has a link-local address starting with fe80
  2. IPv6 uses ff:ff:ff:ff:ff:ff as its broadcast address
  3. Unique local addresses beginning fd are routed on the public internet
  4. Multicast takes over the job of broadcast in IPv6
  5. An IPv6 address is 64 bits long
Show answer

A. Every IPv6 interface has a link-local address starting with fe80 and D. Multicast takes over the job of broadcast in IPv6. RFC 4291 requires a link-local (fe80::/10) address on every interface, and IPv6 has no broadcast: multicast replaces it. Unique local addresses are private, like RFC 1918, and an IPv6 address is 128 bits (64 is the usual interface ID).

Question 5. An organization configures its routers, servers and workstations to run IPv4 and IPv6 at the same time during its migration. Which transition method is this?

  1. Dual stack
  2. Tunneling
  3. NAT64
  4. Port address translation
Show answer

A. Dual stack. Running complete IPv4 and IPv6 implementations side by side on the same devices is dual stack. Tunneling wraps one version inside the other, and NAT64 translates between them.

Transcript

Lesson transcript

The full narration, scene by scene. The captions file contains the same text with timings.

Scene 1 · 0:00

Lesson 16: IPv6 addressing and transition. Welcome to lesson sixteen. Objective 1.8 ends with IPv6 addressing, and that's our topic. We'll cover two ideas. First, why IPv6 exists and how to read its addresses: the format, the shortening rules and the main address types. Second, how IPv6 and IPv4 live together, using dual stack, tunneling and NAT64. This lesson completes objective 1.8 and the whole networking concepts domain.

Scene 2 · 0:27

Why IPv6: IPv4 ran out. IPv4 addresses are 32 bits, which allows about 4.3 billion addresses. That sounded like plenty in the 1980s, but not with phones, laptops and smart devices everywhere. On 3 February 2011, IANA handed out its last free blocks of IPv4 addresses. Private addresses behind NAT only stretched the supply. IPv6 is the real fix: its addresses are 128 bits long, which allows about 340 undecillion addresses, enough to give every device a global address.

Scene 3 · 0:59

Anatomy of an IPv6 address. An IPv6 address is written in hexadecimal, as eight groups of four hex digits separated by colons. Each hex digit is four bits, so each group is sixteen bits, and eight groups make 128. Most networks use a /64 prefix: the first sixty-four bits say which network, and the last sixty-four, the interface ID, identify the device. Prefix lengths use the same slash notation as CIDR, such as 2001:db8:0:1::/64.

Scene 4 · 1:29

Writing it shorter. Full addresses are long, so two rules shorten them. Rule one: drop the leading zeros in any group, so 0db8 becomes db8 and 0042 becomes 42. Rule two: replace one run of all-zero groups with a double colon. You can use the double colon only once, otherwise nobody could tell how many zeros each one hides. And never drop trailing zeros: ff00 stays ff00. The loopback address shortens all the way to ::1.

Scene 5 · 2:01

IPv6 address types. You can recognize the main types by their first digits. Global unicast addresses, from 2000::/3, are public and routable, like IPv4 public addresses. Unique local addresses start with fd and work like RFC 1918 private ones. Link-local addresses start with fe80, stay on the local link, and every interface has one. Multicast starts with ff. And IPv6 has no broadcast at all: multicast does that job.

Scene 6 · 2:30

Dual stack: run both side by side. Now the big question: the internet can't switch overnight, so how do both versions coexist? The most common answer is dual stack. Our online store's web server runs IPv4 and IPv6 at the same time, with one address of each. DNS publishes an A record for IPv4 and a AAAA record for IPv6, and each customer connects with whichever version both ends support. The cost is running two of everything: addressing, firewall rules and routing.

Scene 7 · 3:02

Tunneling: IPv6 inside IPv4. What if the store's branch and headquarters both run IPv6, but the provider between them only carries IPv4? Tunneling solves it. The router at one end wraps each IPv6 packet inside an IPv4 header, marked as protocol 41, and the router at the far end unwraps it. Configured tunnels like 6in4 or GRE are set up by hand; 6to4, ISATAP and Teredo build tunnels automatically. The extra header slightly reduces the MTU.

Scene 8 · 3:34

NAT64 and DNS64. Some networks, especially mobile ones, give phones only IPv6. How do they reach a site that has only IPv4? With NAT64 and DNS64. The phone asks DNS for an IPv6 address. DNS64 finds only an IPv4 one, so it builds an IPv6 address by adding the prefix 64:ff9b::/96. The phone sends IPv6 packets to it, and the NAT64 gateway translates them to IPv4 and back. Translation, not wrapping, is the difference from tunneling.

Scene 9 · 4:05

Pick the method. Let's practice. IPv6-only phones that must reach IPv4-only sites need NAT64 with DNS64. Two IPv6 sites joined across an IPv4-only WAN need a tunnel. Servers that must serve both IPv4 and IPv6 customers run dual stack. And to shorten an address that is 2001:db8 followed by six groups of zeros and a final 1, drop the leading zeros, then replace the zero run with a double colon: 2001:db8::1.

Scene 10 · 4:35

How the exam asks about this. On the exam, match the clue to the answer. Mitigating IPv4 address exhaustion means IPv6. Running both versions on the same devices is dual stack. Carrying IPv6 across an IPv4-only network is tunneling. IPv6-only clients reaching IPv4-only servers is NAT64 with DNS64. An address starting fe80 is link-local, fd or fc is unique local, and when a question asks what replaced broadcast, the answer is multicast.

Scene 11 · 5:04

Recap: IPv6. To recap: IPv4's free pool ran out in 2011, and IPv6 fixes exhaustion with 128-bit addresses written as eight hex groups. Drop leading zeros and use one double colon to shorten them. Global addresses come from 2000::/3, fd is unique local, fe80 is link-local and ff is multicast. To coexist with IPv4, run both with dual stack, wrap IPv6 in IPv4 with tunneling, or translate with NAT64. Next: routing.

Download captions (WebVTT)

Sources and accuracy

Checked against the official CompTIA N10-009 exam objectives and the standards below on October 24, 2026. Diagrams and addresses in the animation are illustrative.

This free course is independent and isn't affiliated with or endorsed by CompTIA. CompTIA and Network+ are trademarks of CompTIA, Inc.

← Lesson 15Zero Trust, SASE and Infrastructure as Code
Lesson 17Arrives

Preparing a team for Network+?

I run hands-on networking and cloud training for teams, built around your own environment and goals.