IPv4 addressing gives every device a unique 32-bit address so packets can be identified and delivered correctly.

Facts / key topics

Why does it exist?

How does it solve it?

Step by step

  1. Init: a host gets an IP (static or DHCP).
  2. Interpretation: the subnet mask decides – destination local? Or remote → send to default gateway.
  3. Normal operation: routers forward based on the destination network.
  4. Edge cases (CCNP): overlapping subnets, wrong summarization, asymmetric routing.

Address classes (historical)

Class First octet Default mask
A 1–126 /8
B 128–191 /16
C 192–223 /24

⚠️ Exam tip: classes are historical only – CIDR replaced them.

CIDR (Classless Inter-Domain Routing)

Subnet masks

Subnetting – purpose

Private vs public IP

Type Range
Private 10.0.0.0/8
172.16.0.0 – 172.31.255.255
192.168.0.0/16
Public Globally routable

Exam tips ⚠️

Quick summary

Level Expectation
CCNA Subnetting + understanding
CCNP Design, summarization, edge cases