A+ IPv4 and IPv6 Addressing Differences Quiz

Reviewed by Joshua Gelman
Joshua Gelman, CompTIA Certified |
CompTIA Expert
Review Board Member
Joshua G. is a cybersecurity specialist and instructor with over a decade of hands-on experience in incident response, secure system design, and risk management. He holds CompTIA Security+, CySA+, SecurityX (CASP+), CSAP, and CSAE certifications, as well as the CISSP, and teaches cybersecurity as an adjunct instructor at Texas A&M Engineering Extension Service (TEEX). He earned his MS in Information Science from the University of Pittsburgh.
, CompTIA Certified
By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 13 | Questions: 20 | Updated: Dec 1, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. The maximum number of hosts in a /24 IPv4 subnet is ____________

Explanation

A /24 subnet uses 24 bits for the network portion, leaving 8 bits for hosts and 256 total addresses (2^8). Two of these are reserved: the first is the network address and the last is the broadcast address. That leaves 254 usable addresses that can be assigned to hosts on the subnet.

Submit
Please wait...
About This Quiz
A+ Ipv4 and IPv6 Addressing Differences Quiz - Quiz

This quiz evaluates your understanding of IPv4 and IPv6 addressing schemes, their key differences, and practical networking applications. You'll explore address formats, header structures, and how modern networks transition between these protocols. Essential knowledge for CompTIA A+ certification and real-world network administration.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. True or False: IPv4 and IPv6 packets can be routed through the same router interface without special configuration.

Explanation

The statement is false. A router interface can carry both IPv4 and IPv6 traffic only after it is configured for dual-stack operation, with addresses assigned for each protocol and IPv6 routing enabled. Without that configuration, the interface processes only the protocol it was set up for and drops or ignores traffic from the other.

Submit

3. In IPv6, which of the following is responsible for fragmenting packets?

Explanation

In IPv6, only the source host fragments packets. It uses Path MTU Discovery to find the smallest MTU along the route and sizes packets to fit. Routers never fragment IPv6 packets; if a packet is too large, the router drops it and sends an ICMPv6 Packet Too Big message back to the source.

Submit

4. In the IPv4 header, the ____ field marks each fragment's position within the original packet.

Explanation

The Fragment Offset field marks where each fragment's data belongs within the original packet, measured in 8-byte units, so the destination can reassemble fragments in the correct order. It works alongside the Identification field, which groups fragments from the same packet, and the Flags field, which shows whether fragmentation is allowed and whether more fragments follow.

Submit

5. IPv6 link-local addresses start with which hexadecimal prefix?

Explanation

IPv6 link-local addresses use the fe80::/10 prefix. Every IPv6-enabled interface generates one automatically, and it is used for communication on the local link, including Neighbor Discovery. Routers never forward this traffic to other networks. The prefix ff00::/8 is multicast, fc00::/7 is unique local, and 2001::/16 falls within global unicast address space.

Submit

6. Which IPv4 address range is reserved for link-local addresses?

Explanation

169.254.0.0/16 is reserved for IPv4 link-local addresses, also known as APIPA. A host assigns itself one of these addresses when it cannot reach a DHCP server, allowing communication only on the local segment. The other three ranges, 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16, are the private address blocks defined for use on internal networks.

Submit

7. IPv6 eliminates the checksum field to improve processing speed. True or False?

Explanation

The statement is true. IPv6 removed the header checksum because error checking is already performed at the data link layer and by transport protocols such as TCP and UDP. Dropping it means routers no longer recalculate a checksum at every hop, which simplifies the header and speeds up packet forwarding across the network.

Submit

8. The IPv4 header includes a checksum field for the ____________

Explanation

The IPv4 header checksum verifies the integrity of the header only, not the data payload it carries. Because the TTL value changes at every hop, each router must recalculate the checksum before forwarding the packet. This repeated recalculation adds processing overhead, which is one reason IPv6 removed the header checksum entirely.

Submit

9. Which technique lets IPv6 traffic cross a network that supports only IPv4?

Explanation

Tunneling encapsulates IPv6 packets inside IPv4 packets, or the reverse, so traffic can cross parts of a network that support only one protocol. Fragmentation splits packets to fit a link’s MTU, bridging connects segments at Layer 2, and routing forwards packets between networks, but none of these is a protocol coexistence technique.

Submit

10. True or False: IPv6 requires manual configuration and does not support DHCP.

Explanation

The statement is false. IPv6 supports automatic configuration through SLAAC, where a host builds its own address from the router’s advertised prefix, and it also supports DHCPv6 for centrally managed addressing. Manual configuration is possible, often for servers and routers, but it is not required for most hosts on an IPv6 network.

Submit

11. IPv4 addresses are expressed in how many octets separated by periods?

Explanation

An IPv4 address is made up of four octets, each containing 8 bits, written in dotted decimal notation such as 192.168.1.10. Each octet can hold a value from 0 to 255. The four octets together form the full 32-bit address, which identifies both the network and the host on that network.

Submit

12. IPv6 uses which field instead of IPv4's TTL?

Explanation

IPv6 replaces the IPv4 TTL field with the Hop Limit field. Like TTL, it is decreased by one at each router, and the packet is discarded when it reaches zero. The new name reflects how TTL had always worked in practice, counting router hops rather than measuring actual time in seconds.

Submit

13. IPv4 uses a ____ -bit header field for the Time to Live (TTL) value.

Explanation

The TTL field in the IPv4 header is 8 bits long, so its maximum value is 255. Each router that forwards the packet decreases the TTL by one, and the packet is discarded when the value reaches zero. This prevents packets caught in a routing loop from circulating across the network indefinitely.

Submit

14. Which IPv6 feature replaces IPv4 Address Resolution Protocol (ARP)?

Explanation

IPv6 uses the Neighbor Discovery Protocol, which runs over ICMPv6, to resolve IP addresses to MAC addresses, replacing ARP. It also handles router discovery and duplicate address detection. DHCP assigns IP addresses, DNS resolves hostnames to IP addresses, and IGMP manages IPv4 multicast group membership, so none of them replaces ARP.

Submit

15. What does the IPv4 address 127.0.0.1 represent?

Explanation

127.0.0.1 is the IPv4 loopback address, which a host uses to send traffic to itself to test its own network stack. Broadcast addresses reach every host on a subnet, network addresses identify the subnet itself, and multicast addresses, from 224.0.0.0 to 239.255.255.255, deliver traffic to a specific group of hosts.

Submit

16. The IPv6 loopback address is ____________

Explanation

The IPv6 loopback address is ::1, the compressed form of 0:0:0:0:0:0:0:1, where seven groups of zeros are collapsed into a double colon. Like 127.0.0.1 in IPv4, it lets a host send traffic to itself, which is useful for testing whether the local network stack is working correctly without involving any physical network interface.

Submit

17. An IPv4 address belongs to the private range 10.0.0.0/8. Which class is this?

Explanation

Class A covers IPv4 addresses with a first octet from 1 to 126, so the 10.0.0.0/8 private range falls within Class A. Class B covers 128 to 191, Class C covers 192 to 223, and Class D, from 224 to 239, is reserved for multicast rather than for assigning addresses to individual hosts.

Submit

18. IPv6 addresses use which notation to represent hexadecimal groups?

Explanation

IPv6 addresses are written as eight groups of four hexadecimal digits separated by colons, such as 2001:0db8:0000:0000:0000:0000:0000:0001. Leading zeros can be dropped and one run of zero groups can be compressed to a double colon. Periods separate IPv4 octets, hyphens appear in MAC addresses, and slashes indicate prefix length in CIDR notation.

Submit

19. IPv6 addresses are expressed in how many bits?

Explanation

IPv6 addresses are 128 bits long, four times the length of a 32-bit IPv4 address. This creates a vastly larger address space, enough for every device to have a globally unique address without relying on NAT. The 128 bits are written as eight groups of four hexadecimal digits separated by colons.

Submit

20. What is the total size of an IPv4 address in bits?

Explanation

An IPv4 address is 32 bits long, made up of four 8-bit octets. This allows roughly 4.3 billion unique addresses, which proved too few as the number of internet-connected devices grew. That shortage was a major driver behind techniques like NAT and private addressing, and ultimately behind the move to IPv6.

Submit
×
Saved
Thank you for your feedback!
View My Results
Joshua Gelman |CompTIA Certified |
CompTIA Expert
Joshua G. is a cybersecurity specialist and instructor with over a decade of hands-on experience in incident response, secure system design, and risk management. He holds CompTIA Security+, CySA+, SecurityX (CASP+), CSAP, and CSAE certifications, as well as the CISSP, and teaches cybersecurity as an adjunct instructor at Texas A&M Engineering Extension Service (TEEX). He earned his MS in Information Science from the University of Pittsburgh.
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
The maximum number of hosts in a /24 IPv4 subnet is ____________
True or False: IPv4 and IPv6 packets can be routed through the same...
In IPv6, which of the following is responsible for fragmenting...
In the IPv4 header, the ____ field marks each fragment's position...
IPv6 link-local addresses start with which hexadecimal prefix?
Which IPv4 address range is reserved for link-local addresses?
IPv6 eliminates the checksum field to improve processing speed. True...
The IPv4 header includes a checksum field for the ____________
Which technique lets IPv6 traffic cross a network that supports only...
True or False: IPv6 requires manual configuration and does not support...
IPv4 addresses are expressed in how many octets separated by periods?
IPv6 uses which field instead of IPv4's TTL?
IPv4 uses a ____ -bit header field for the Time to Live (TTL) value.
Which IPv6 feature replaces IPv4 Address Resolution Protocol (ARP)?
What does the IPv4 address 127.0.0.1 represent?
The IPv6 loopback address is ____________
An IPv4 address belongs to the private range 10.0.0.0/8. Which class...
IPv6 addresses use which notation to represent hexadecimal groups?
IPv6 addresses are expressed in how many bits?
What is the total size of an IPv4 address in bits?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!