IP Subnetting

Chapter 8 — IP Subnetting, Troubleshooting IP, and NAT | Network+ Study Map
CompTIA Network+ · N10-009 · Objectives 1.4, 1.7 & 2.1

Chapter 8 — IP Subnetting, Troubleshooting & NAT

Calculate the subnet, see the binary boundary, prove the path, then translate the address. This revised study map combines a full IPv4 subnet engine with VLSM design, IPv4 diagnostics, and NAT/PAT exam workflows.

15 sectionsFull IPv4 calculatorBinary subnet mapVLSM plannerFour-ping simulator15-question exam check
PRIVATE SUBNET192.168.1.0/24NAT / PATPORT TRANSLATIONPUBLIC NETWORK203.0.113.5
01

Why Subnet?

Subnetting divides a larger IPv4 network into smaller logical networks. Each boundary controls broadcasts, organizes addressing, and creates a clearer routing and security design.

Traffic control

Smaller broadcasts

Fewer hosts process each broadcast and local traffic stays within a smaller domain.

Operations

Simpler management

Address ranges can identify buildings, VLANs, departments, and security zones.

Containment

Fault isolation

Failures and policy boundaries can be limited to a smaller segment.

Capacity

Efficient addressing

CIDR and VLSM allocate address space according to actual host needs.

02

Subnet Terms & Formulas

Subnet count

s is the number of borrowed subnet bits. Modern subnetting includes subnet zero and the all-ones subnet.

Addresses

h is the number of remaining host bits.

Usable hosts

2ʰ − 2

Traditional LAN calculations subtract the network and broadcast addresses.

Block size

256 − mask

Subtract the interesting mask octet from 256 to find subnet increments.

High priorityFind the interesting octet and block size first. The next subnet boundary reveals both the broadcast and valid-host range.
03

Interactive IPv4 Subnet Calculator

Enter any IPv4 address and a CIDR prefix from /0 through /32. The network map updates immediately.

04

Binary Boundary & Subnet Map

Teal bits identify the network; amber bits identify hosts. For /24 through /32, the table lists every subnet inside the containing /24.

Network addressUsable host range / endpointsBroadcast
-Short CIDR form
-Unsigned integer ID
-Hexadecimal ID
-Reverse-DNS pointer
-IPv4-mapped IPv6
-6to4 /48 prefix
05

The Six-Step Method

Begin with the IP address and prefix.
06

Worked Examples

Fast checkIf the given IP equals the network or broadcast endpoint, it is not a valid traditional host address.
07

CIDR & Host Requirement Reference

PrefixSubnet maskTotal addressesTraditional usableBlock size
Exam shortcutFind the smallest power of 2 that is at least hosts + 2. Its exponent is h; the prefix is 32 − h. For /31 point-to-point links, RFC 3021 permits both endpoints.
08

VLSM Planner

Allocate the largest requirement first, use aligned contiguous boundaries, and record every network, host range, and broadcast before assigning the next block.

NeedPrefixNetworkValid hostsBroadcast
09

Common Subnetting Traps

10

Four Diagnostic Pings

Run tests from the smallest proven scope outward: stack → interface → local network → remote network.

Start with loopback.
Order mattersA failed ping does not alone prove the target is down; ICMP may be filtered.
11

Symptom-to-Cause Explorer

12

NAT & PAT

Fixed mapping

Static NAT

One private address maps to one public address; useful for publishing a server.

Public pool

Dynamic NAT

Private clients receive temporary one-to-one translations from a public pool.

NAT overload

PAT

Many private sessions share one or a few public IPs and are distinguished by ports.

Security noteNAT hides internal address structure but is not a substitute for a firewall.
13

NAT Address Names & PAT Flow

NameMeaningExample
Inside localInside host before translation192.168.1.10
Inside globalPublic address representing inside host203.0.113.20
Outside globalOutside host on public network198.51.100.40
Outside localOutside host as represented internallyOften same as outside global
INSIDE LOCAL192.168.1.10:51500
PAT TABLERewrite source
INSIDE GLOBAL203.0.113.5:40001
SERVER198.51.100.20:443
Memory aidInside/outside describes host location. Local/global describes where the address is meaningful.
14

PowerShell 7 Practice

Get-NetIPConfigurationAddress, gateway, DNS, interface
Get-NetIPAddress -AddressFamily IPv4IPv4 addresses and prefixes
Get-NetRoute -AddressFamily IPv4Connected and default routes
Get-NetNeighbor -AddressFamily IPv4ARP state
Test-Connection 127.0.0.1 -Count 2Local stack
Test-NetConnection 1.1.1.1Remote IP reachability
Resolve-DnsName example.comDNS separately
route print -4IPv4 routing table
15

Exam Check

Fifteen questions drawn directly from the Chapter 8 manual.

Score: 0 / 0
NETWORK+ STUDY MAP · CHAPTER 8 · IP SUBNETTING, TROUBLESHOOTING & NAT