PracticeBlogFlashcardsEspañol

IPv4 Classes, Private/Public, APIPA, and Loopback

Key Takeaways

  • IPv4 addresses are 32-bit values written as four decimal octets, but subnet masks determine the network boundary.
  • Legacy classes are useful for recognition, but modern networks use CIDR rather than classful routing.
  • Private IPv4 ranges are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16.
  • APIPA addresses in 169.254.0.0/16 usually indicate a host could not obtain DHCP configuration.
  • Loopback 127.0.0.0/8 tests the local TCP/IP stack and never represents a remote host.
Last updated: April 2026

IPv4 addressing is foundational for Network+ N10-009. The exam expects you to recognize address types, interpret masks, and troubleshoot symptoms such as APIPA addresses or incorrect default gateways.

CompTIA Network+ N10-009 uses these official domain weights: Networking Concepts 23%, Implementation 20%, Operations 19%, Security 14%, and Troubleshooting 24%. Subnetting sits mainly in Networking Concepts, but it also appears in implementation and troubleshooting scenarios.

IPv4 conceptMeaningExample
IPv4 address32-bit address written in dotted decimal192.168.10.25
Octet8-bit decimal field from 0 to 255192 is one octet
Subnet maskMarks network bits and host bits255.255.255.0
CIDR prefixSlash notation for mask length/24
Network IDFirst address in the subnet192.168.10.0/24
Broadcast addressLast address in the subnet192.168.10.255/24
Usable host rangeAddresses between network and broadcast192.168.10.1-192.168.10.254

Legacy Classes

Classful addressing is mostly historical, but the ranges still appear in questions. CIDR is the modern method, so do not assume a mask only from the first octet unless the question explicitly asks about classes.

ClassFirst octet rangeDefault maskHistorical purpose
A1-126/8Very large networks
B128-191/16Medium networks
C192-223/24Small networks
D224-239Not for hostsMulticast
E240-255Not normal host useExperimental or reserved

127.x.x.x is reserved for loopback, so class A host ranges do not include it for normal addressing. 0.0.0.0 has special meanings such as unspecified address or default route, depending on context.

Private, Public, APIPA, and Loopback

RangeTypeWhat it tells you
10.0.0.0/8PrivateInternal addressing, normally NATed to internet
172.16.0.0/12PrivateIncludes 172.16.0.0 through 172.31.255.255
192.168.0.0/16PrivateCommon home and small office range
169.254.0.0/16APIPA/link-localDHCP likely failed on an IPv4 client
127.0.0.0/8LoopbackLocal TCP/IP stack testing
224.0.0.0/4MulticastOne-to-many delivery group address
Public rangesInternet-routable except reserved blocksAssigned by ISP, cloud, or registry process

Troubleshooting Clues

SymptomLikely interpretation
Host address is 169.254.23.44DHCP failed or unavailable
Host can ping 127.0.0.1 but not gatewayLocal stack works; check local NIC, VLAN, cable, gateway, or address
Host has 192.168.1.25 but gateway is 192.168.2.1/24Gateway is not in the local subnet
Two hosts have the same IPv4 addressDuplicate IP conflict
Host has public IP where private was expectedWrong DHCP scope, static misconfiguration, or exposed placement

PBQ-Style Thinking

Scenario: A workstation shows 169.254.77.19 with mask 255.255.0.0. It cannot reach file shares or the internet. The best first checks are DHCP server availability, relay/IP helper configuration, VLAN assignment, switch port status, and local cable or wireless association. APIPA is a symptom, not the root cause.

Scenario: A printer is assigned 192.168.10.50/24 with default gateway 192.168.11.1. It can talk to some local hosts but cannot leave the subnet. The gateway is outside the printer subnet. Fix the gateway or address plan so the default gateway is reachable on the local network.

Address Recognition Drill

AddressClassification
10.44.3.2Private IPv4
172.20.5.6Private IPv4
172.40.5.6Public IPv4 unless otherwise reserved by context
192.168.100.10Private IPv4
169.254.8.9APIPA/link-local
127.0.0.1Loopback
224.0.0.5Multicast
Test Your Knowledge

A workstation has IPv4 address 169.254.18.9 and cannot reach network resources. What is the most likely issue?

A
B
C
D
Test Your Knowledge

Which IPv4 range is private?

A
B
C
D
Test Your KnowledgeMulti-Select

Which addresses should not be assigned as normal remote host addresses? Choose two.

Select all that apply

127.0.0.1
192.168.1.25
224.0.0.5
10.10.10.10