Subnet Match
All gamesN10-009
Study for CompTIA Network+
Ten-question drills, short study cards and every answer explained, in CertPrep+.
Subnetting cheat sheet
What subnetting is, explained simply, then everything in CompTIA Network+ N10-009 objective 1.7 (private ranges, APIPA, loopback, CIDR, VLSM and the address classes), a prefix chart from /8 to /30 with masks and host counts, and the four steps to find any subnet.
Show the full subnetting list
Core 13 is everything named in CompTIA Network+ N10-009 objective 1.7: public vs. private (APIPA, RFC1918, loopback), subnetting (VLSM, CIDR) and the address classes. Ext. 27 adds addresses to identify, the kind of scenario 1.7 asks for. Masks, Hosts and Find it drill the subnetting math. The prefix chart is our own.
| Item | What it is |
|---|---|
| What subnetting is | |
| Subnetting | Splitting one network into smaller networksEach subnet gets its own range of addresses. That keeps traffic local, cuts down broadcasts and gives each team, floor or VLAN only the addresses it needs. |
| ELI5 | One big apartment building split into smaller onesThe network part of an address is the building's street number and the host part is the apartment number. Subnetting turns one huge building into several smaller ones, each with its own street number, so mail for one building never wanders through the others. The mask tells you where the street number ends and the apartment number starts. |
| /n (prefix) | How many of the 32 bits name the network/26 means the first 26 bits are the network and the last 6 count the hosts. 6 host bits give 64 addresses. |
| Network address | The first address in a subnetIt names the subnet itself, so it isn't given to a host. |
| Broadcast | The last address in a subnetA message sent to it reaches every host in the subnet. It isn't given to a host either. |
| Usable hosts | Addresses minus 2The network and broadcast addresses are taken, so a /26 has 64 − 2 = 62 hosts. |
| Core 13 | |
| 10.0.0.0/8 | RFC1918 privatePrivate range 10.0.0.0 to 10.255.255.255. Not routed on the internet |
| 172.16.0.0/12 | RFC1918 privatePrivate range 172.16.0.0 to 172.31.255.255 |
| 192.168.0.0/16 | RFC1918 privatePrivate range 192.168.0.0 to 192.168.255.255, the one most home routers use |
| 169.254.0.0/16 | APIPASelf-assigned when a DHCP client gets no answer. Works on the local link only |
| 127.0.0.0/8 | LoopbackThe host talking to itself. 127.0.0.1 is localhost |
| First octet 1–126 | Class ADefault mask 255.0.0.0 (/8). 127 is set aside for loopback |
| First octet 128–191 | Class BDefault mask 255.255.0.0 (/16) |
| First octet 192–223 | Class CDefault mask 255.255.255.0 (/24) |
| First octet 224–239 | Class D · MulticastMulticast, one sender to a group of listeners. No default mask |
| First octet 240–255 | Class E · ExperimentalReserved for experimental use. Not assigned to hosts |
| Public address | Routable on the internetAny address outside the private, APIPA, loopback, multicast and reserved ranges |
| CIDR | Prefix written as /n, like /26Classless Inter-Domain Routing. The /n counts the network bits, replacing classes |
| VLSM | Different mask sizes in one networkVariable Length Subnet Mask. Size each subnet to fit, like a /30 for a link and a /24 for a LAN |
| Added in Ext. 27 | |
| 10.200.4.17 | RFC1918 privateInside 10.0.0.0/8 |
| 172.31.250.9 | RFC1918 privateInside 172.16.0.0/12, which runs to 172.31.255.255 |
| 192.168.1.254 | RFC1918 privateInside 192.168.0.0/16 |
| 169.254.10.3 | APIPAA 169.254 address usually means DHCP failed |
| 127.0.0.53 | LoopbackAll of 127.0.0.0/8 is loopback, not just 127.0.0.1 |
| 224.0.0.5 | Class D · MulticastMulticast (OSPF routers use it) |
| 239.255.255.250 | Class D · MulticastMulticast (SSDP device discovery uses it) |
| 8.8.8.8 | PublicA public address (Google DNS) |
| 172.32.0.5 | PublicPublic. The private 172 range stops at 172.31 |
| 192.169.0.1 | PublicPublic. Only 192.168 is private |
| 255.0.0.0 | Class A · default maskThe Class A default mask, /8 |
| 255.255.0.0 | Class B · default maskThe Class B default mask, /16 |
| 255.255.255.0 | Class C · default maskThe Class C default mask, /24 |
| 240.1.2.3 | Class E · ExperimentalClass E, reserved. You will not see it on a host |
| Prefix chart · /8 to /30 | |
| /8 | 255.0.0.016,777,216 addresses · 16,777,214 usable |
| /9 | 255.128.0.08,388,608 addresses · 8,388,606 usable |
| /10 | 255.192.0.04,194,304 addresses · 4,194,302 usable |
| /11 | 255.224.0.02,097,152 addresses · 2,097,150 usable |
| /12 | 255.240.0.01,048,576 addresses · 1,048,574 usable |
| /13 | 255.248.0.0524,288 addresses · 524,286 usable |
| /14 | 255.252.0.0262,144 addresses · 262,142 usable |
| /15 | 255.254.0.0131,072 addresses · 131,070 usable |
| /16 | 255.255.0.065,536 addresses · 65,534 usable |
| /17 | 255.255.128.032,768 addresses · 32,766 usable |
| /18 | 255.255.192.016,384 addresses · 16,382 usable |
| /19 | 255.255.224.08,192 addresses · 8,190 usable |
| /20 | 255.255.240.04,096 addresses · 4,094 usable |
| /21 | 255.255.248.02,048 addresses · 2,046 usable |
| /22 | 255.255.252.01,024 addresses · 1,022 usable |
| /23 | 255.255.254.0512 addresses · 510 usable |
| /24 | 255.255.255.0256 addresses · 254 usable |
| /25 | 255.255.255.128128 addresses · 126 usable |
| /26 | 255.255.255.19264 addresses · 62 usable |
| /27 | 255.255.255.22432 addresses · 30 usable |
| /28 | 255.255.255.24016 addresses · 14 usable |
| /29 | 255.255.255.2488 addresses · 6 usable |
| /30 | 255.255.255.2524 addresses · 2 usable |
| Find it · the method | |
| 1 | Find the octet the prefix ends in/25 to /30 is the fourth octet, /17 to /24 the third |
| 2 | Block size = 256 minus that mask octet/26: mask .192, so 256 − 192 = 64 |
| 3 | Count up in blocks to find the IP's block0, 64, 128, 192. 200 falls in 192–255 |
| 4 | Network is the block's first address, broadcast its lastFirst usable host = network + 1, last = broadcast − 1 |
Printable cheat sheetDownload PDF
More games
All gamesProCourses + CertPrep+
Build the skills, and pass the cert.
All four ProCourses plus CertPrep+ for 12 certs from CompTIA, AWS, Microsoft and ISC2.
$15/mo
$120/yr
opnF.sh