IP Subnetting, Troubleshooting IP, and NAT

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

Find the interesting octet, calculate the block, prove the path, then translate the address. This study map turns subnet math, VLSM design, IPv4 diagnostics, and NAT/PAT into repeatable exam workflows.

15 sectionsSubnet calculatorCIDR explorerVLSM 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

CIDR & Mask Explorer

Select a prefix to see its mask, address capacity, traditional usable hosts, and block size.

Memory stringPartial-octet masks rise 128, 192, 224, 240, 248, 252, 254. Block sizes fall 128, 64, 32, 16, 8, 4, 2.
04

Interactive Subnet Calculator

Enter an IPv4 address and prefix from /8 through /30.

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

Host Requirement Shortcut

Needed hostsHost bitsPrefixUsable
22/302
63/296
144/2814
305/2730
626/2662
1267/25126
2548/24254
Exam shortcutFind the smallest power of 2 that is at least hosts + 2. Its exponent is h; the prefix is 32 − h.
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