Master IPv4 classes, CIDR notation, subnet calculations, IPv6 addressing, and address services with scenario-based practice and the interactive Subnet Advisor.
IP Addressing & Subnetting
The foundation of every network โ understanding how addresses are structured, assigned, and divided is Domain 1 of the N10-009 exam (23% of total score).
IPv4 uses 32-bit addresses written in dotted-decimal notation. Five address classes define default network sizes, with three private ranges reserved for internal use.
CIDR (Classless Inter-Domain Routing) notation specifies how many bits are the network prefix. Subnetting divides a larger network into smaller, manageable segments.
IPv6 uses 128-bit addresses in colon-separated hexadecimal. It eliminates broadcast, uses multicast and anycast, and includes SLAAC for stateless auto-configuration.
Address services automate IP assignment (DHCP), translate private to public addresses (NAT/PAT), and provide the glue that connects private networks to the internet.
Every device on a network needs a unique IP address to send and receive data. The subnet mask determines which part of the address identifies the network and which part identifies the host. Getting this wrong causes misrouting, connectivity failures, and security gaps โ all common real-world troubleshooting scenarios the exam tests.
How It Works
From binary bits to usable subnets โ the mechanics of IP addressing explained step by step.
Subnet Calculation โ Step by Step
Given: 192.168.10.200/26 โ find network, broadcast, usable range, and host count.
/26 โ 32 โ 26 = 6 host bits. Usable hosts = 26 โ 2 = 62 hosts. (Subtract 2 for network and broadcast addresses.)
/26 means first 26 bits are 1, last 6 are 0 โ 11111111.11111111.11111111.11000000 โ 255.255.255.192
Block size = 256 โ 192 = 64. Subnets increment by 64: .0, .64, .128, .192. Four subnets total from a /24.
200 รท 64 = 3 remainder 8. The block containing 200 starts at 3 ร 64 = 192. Network address: 192.168.10.192
Broadcast = next block start โ 1 = 256 โ 1 = 192.168.10.255. Usable range: 192.168.10.193 โ 192.168.10.254 (62 hosts).
IPv6 Compression Rules
Two rules reduce verbose 128-bit addresses to readable shorthand.
2001:0db8:0000:0001 โ 2001:db8:0:1. Remove leading zeros from every 16-bit group independently. Trailing zeros must remain.
2001:db8:0:0:0:0:0:1 โ 2001:db8::1. The :: can only be used once. When two equal-length runs exist, replace the leftmost one per RFC 5952.
:: more than once in a single address is invalid. 2001::db8::1 is illegal โ the router cannot determine how many zero groups each :: represents.DHCP DORA Process
Source: 0.0.0.0 (no IP yet). Destination: 255.255.255.255 (broadcast). UDP port 67 (server) and 68 (client).
DHCP server responds with an available IP, subnet mask, default gateway, DNS servers, and lease time. May be unicast or broadcast.
Client broadcasts to let all DHCP servers know which offer it accepted (there may be multiple servers). Confirms the IP it wants.
DHCP server sends final confirmation with full configuration. Client begins using the IP. Lease timer starts.
Compare & Reference
Filter by topic to study specific address categories, subnet sizes, IPv4 vs IPv6 differences, and NAT types.
| Concept | Range / Value | Details | Key Notes |
|---|---|---|---|
Class A IPv4 |
1.0.0.0 โ 126.255.255.255 | Default mask /8 (255.0.0.0) ยท ~16.7M hosts per network ยท Private: 10.0.0.0/8 | 127.x.x.x is reserved for loopback โ NOT a usable Class A range |
Class B IPv4 |
128.0.0.0 โ 191.255.255.255 | Default mask /16 (255.255.0.0) ยท 65,534 hosts ยท Private: 172.16.0.0/12 (172.16โ172.31) | 172.16โ172.31 are private; 172.32+ is public |
Class C IPv4 |
192.0.0.0 โ 223.255.255.255 | Default mask /24 (255.255.255.0) ยท 254 hosts ยท Private: 192.168.0.0/16 | Most common in home/small office networks |
Class D IPv4 |
224.0.0.0 โ 239.255.255.255 | Multicast โ one source, multiple receivers ยท No subnet mask | Not assigned to hosts; used by routing protocols (e.g., OSPF uses 224.0.0.5) |
Class E IPv4 |
240.0.0.0 โ 255.255.255.255 | Experimental / Reserved ยท 255.255.255.255 = limited broadcast | Never used in production networks |
APIPA IPv4 |
169.254.0.0 โ 169.254.255.255 | /16 mask ยท Auto-assigned by OS when DHCP fails (Zeroconf) | Link-local only โ no routing between subnets. Seeing this = DHCP problem. |
/24 Subnet |
255.255.255.0 ยท Block: 256 | 256 addresses ยท 254 usable hosts ยท 1 subnet from /24 | Standard LAN segment โ most common in practice |
/25 Subnet |
255.255.255.128 ยท Block: 128 | 128 addresses ยท 126 usable hosts ยท 2 subnets from /24 | Subnets: .0โ.127 and .128โ.255 |
/26 Subnet |
255.255.255.192 ยท Block: 64 | 64 addresses ยท 62 usable hosts ยท 4 subnets from /24 | Subnets: .0, .64, .128, .192 |
/27 Subnet |
255.255.255.224 ยท Block: 32 | 32 addresses ยท 30 usable hosts ยท 8 subnets from /24 | Subnets: .0, .32, .64, .96, .128, .160, .192, .224 |
/28 Subnet |
255.255.255.240 ยท Block: 16 | 16 addresses ยท 14 usable hosts ยท 16 subnets from /24 | Small segments: server rooms, management VLANs |
/29 Subnet |
255.255.255.248 ยท Block: 8 | 8 addresses ยท 6 usable hosts ยท 32 subnets from /24 | Very small segments; IoT devices or printers |
/30 Subnet |
255.255.255.252 ยท Block: 4 | 4 addresses ยท 2 usable hosts ยท 64 subnets from /24 | Point-to-point WAN links โ exactly 2 endpoints needed |
Address Length IPv4 vs IPv6 |
IPv4: 32 bits ยท IPv6: 128 bits | IPv4: ~4.3B addresses ยท IPv6: 340 undecillion | IPv6 was created to solve IPv4 exhaustion |
Notation IPv4 vs IPv6 |
IPv4: dotted decimal ยท IPv6: colon hex | IPv4: 192.168.1.1 ยท IPv6: 2001:db8::1 | IPv6 can compress consecutive zero groups with :: |
Broadcast IPv4 vs IPv6 |
IPv4: Yes ยท IPv6: No | IPv6 uses multicast (ff00::/8) instead of broadcast | Eliminates broadcast storms โ significant performance benefit |
Auto-Config IPv4 vs IPv6 |
IPv4: APIPA (169.254/16) ยท IPv6: SLAAC | SLAAC (Stateless Address Autoconfiguration) uses Router Advertisements + EUI-64 | IPv6 devices can self-configure without a DHCP server |
Loopback IPv4 vs IPv6 |
IPv4: 127.0.0.1 ยท IPv6: ::1 | Both test the local protocol stack without sending traffic | ::1/128 is the full IPv6 loopback notation |
Link-Local IPv4 vs IPv6 |
IPv4: 169.254.0.0/16 ยท IPv6: fe80::/10 | IPv6 fe80:: is auto-configured on every interface, always present | IPv4 APIPA = failure state; IPv6 fe80:: = normal operation |
Static NAT NAT |
1 private IP โ 1 public IP | Permanent, fixed mapping. Used for servers needing consistent inbound access. | Requires one public IP per device โ does not conserve addresses |
Dynamic NAT NAT |
Pool of public IPs shared | Private IPs mapped to available public IPs from a pool. Mapping changes each session. | Limited by pool size โ if pool exhausted, new connections fail |
PAT / Overload NAT |
Many private IPs โ 1 public IP | Uses unique port numbers to track sessions. Most common NAT type. Used by virtually all home routers. | Up to ~65,000 simultaneous sessions per public IP |
Real Examples
Worked exam-style scenarios โ the kind of problems that appear on the N10-009.
ipconfig /release then ipconfig /renew. If APIPA persists, the problem is network connectivity or the DHCP server โ not the client's configuration.0:0:1 cannot be further compressed.Practice Quiz
10 scenario-based questions aligned to N10-009 exam style. Each tests a specific IP addressing concept.
Subnet Advisor
Answer a few questions and get instant guidance on subnet calculations, address identification, mask selection, and troubleshooting.
๐ง What do you need help with?
๐ข What is your subnet prefix length?
๐ Which best describes the address?
๐ How many hosts do you need per subnet?
๐ ๏ธ What symptom are you seeing?
Memory Hooks
Click each card to flip it and reveal the answer. Then use the cheat sheet for instant reference.
Quick Reference Cheat Sheet
| Prefix | Subnet Mask | Usable Hosts | Block Size | Typical Use |
|---|---|---|---|---|
| /8 | 255.0.0.0 | 16,777,214 | โ | Class A default; 10.0.0.0/8 private |
| /12 | 255.240.0.0 | 1,048,574 | โ | 172.16.0.0/12 private Class B range |
| /16 | 255.255.0.0 | 65,534 | โ | Class B default; 192.168.0.0/16 private |
| /24 | 255.255.255.0 | 254 | 256 | Standard LAN segment |
| /25 | 255.255.255.128 | 126 | 128 | Split /24 in half |
| /26 | 255.255.255.192 | 62 | 64 | 4 subnets from /24 |
| /27 | 255.255.255.224 | 30 | 32 | 8 subnets from /24 |
| /28 | 255.255.255.240 | 14 | 16 | Small VLANs, server rooms |
| /29 | 255.255.255.248 | 6 | 8 | Tiny segments, IoT |
| /30 | 255.255.255.252 | 2 | 4 | Point-to-point WAN links |
| 127.0.0.1 | โ | โ | โ | IPv4 loopback (127.0.0.0/8 reserved) |
| 169.254/16 | 255.255.0.0 | โ | โ | APIPA โ DHCP failure indicator |
| ::1/128 | โ | โ | โ | IPv6 loopback |
| fe80::/10 | โ | โ | โ | IPv6 link-local (always present) |
| ff00::/8 | โ | โ | โ | IPv6 multicast (replaces broadcast) |