Skip to content
CCNA 200-301 v1.1 reference — Network Fundamentals

IPv4 addressing

IPv4 address and prefix structure, public versus private ranges, address classes and the role of NAT for RFC 1918 space.

Objective 1.6Objective 1.7v1.1 exam target

Address structure

An IPv4 address is 32 bits, written as four dotted-decimal octets. With a prefix length it splits into a network portion (shared by every host on the subnet) and a host portion (unique per device). The same address means different things under different masks — 10.1.2.3/24 and 10.1.2.3/16 describe different networks.

Historical address classes (context)

Classes are obsolete for allocation (CIDR replaced them) but still referenced in documentation and exam questions.
ClassFirst octetDefault maskNotes
A1–126/8127.x is reserved for loopback
B128–191/16
C192–223/24
D224–239—Multicast, not host addresses
E240–255—Reserved/experimental

Classes are obsolete for allocation (CIDR replaced them) but still referenced in documentation and exam questions.

Classify an address
Address
172.20.5.9
  1. First octet 172 falls in 128–191 → class B shape, but classification is context only.
  2. 172.20.x.x sits inside 172.16.0.0/12 → it is RFC 1918 private space.
  3. Without a mask you cannot name the network or broadcast — always pair the address with its prefix.

172.20.5.9 is a private host address; it needs NAT to reach the internet.

Private addressing and NAT

RFC 1918 private ranges

Private addresses are not routed on the public internet; NAT translates them at the edge.
RangeCIDRAddresses
10.0.0.0 – 10.255.255.25510.0.0.0/8~16.7 million
172.16.0.0 – 172.31.255.255172.16.0.0/12~1 million
192.168.0.0 – 192.168.255.255192.168.0.0/1665,536

Private addresses are not routed on the public internet; NAT translates them at the edge.

Private addressing exists because IPv4 space ran out: organizations reuse the RFC 1918 ranges internally and share a small pool of public addresses through NAT/PAT. Private space also removes the need to renumber when changing providers. 169.254.0.0/16 is link-local autoconfiguration (APIPA) — a host holding only an address from this range indicates DHCP discovery never completed.

Special IPv4 ranges

RangePurpose
127.0.0.0/8Loopback — traffic never leaves the host
169.254.0.0/16Link-local (APIPA) — self-assigned when DHCP fails
224.0.0.0/4Multicast groups
255.255.255.255Limited broadcast (this subnet only)
0.0.0.0Unspecified source / default route notation

Configuration and verification

Assign and verify an IPv4 address

Configure a router interface address — Privileged EXEC → Interface configuration

Cisco IOS / IOS XE

configure terminal
interface gigabitethernet0/1
 ip address 192.168.10.1 255.255.255.0
 no shutdown
 end
Verify
show ip interface brief
show ip interface gi0/1
ping 192.168.10.2
  • Interface shows the configured address with up/up status.
  • Ping to a host on the same subnet confirms L3 reachability.

Changes device configuration.

Common mistakes

  • Calling 172.16–172.31.x.x 'public' — only the /12 is private; 172.15.x.x and 172.32.x.x are public.
  • Forgetting that an address without a prefix is ambiguous — 192.168.1.10/24 vs /26 are different subnets.
  • Treating 169.254.x.x as a valid DHCP lease — it signals the host self-assigned after DHCP timed out.
  • Using classful logic for real networks — modern masks are arbitrary prefix lengths, not just /8 /16 /24.
Host cannot reach its gateway

Observation: PC shows 169.254.10.40 and cannot ping its gateway.

Hypotheses
  • DHCP server unreachable or exhausted
  • Client on the wrong VLAN
  • Static misconfiguration
CheckIndicates
Client address details (ipconfig /all, ip addr)169.254.x.x means no lease was obtained — confirm DHCP is enabled and check server/snooping logs for missing Offers.
DHCP scope and relay configurationMissing ip helper-address on the SVI blocks broadcast discovery.
Client VLAN vs intended subnetWrong access VLAN places the host in a different broadcast domain.

Correction: Restore DHCP reachability (scope, relay, VLAN) or fix the static settings.

Client receives an address in the expected subnet and pings the gateway.

On this page

Related resources

Sources

Targets CCNA 200-301 v1.1 objectives. Supplemental blocks are labeled beyond exam scope.

Search guided lessons, transcript chapters, flashcards, CLI drills and cheat sheets

IPv4 addressing | CCNA Study