PREP WITH PROOF
Menu
CERTIFICATION STUDY GUIDES / PRACTICAL GUIDE

CCNA 200-301 Study Guide: IPv4 Subnetting and Route Selection

Practice CCNA 200-301 IPv4 subnetting, address plans, default gateways, and longest prefix match with a worked office network example.

THE QUICK ANSWER

For CCNA IPv4 subnetting questions, find the network boundary, broadcast address, and usable host range before assigning interfaces. For route selection, compare the prefix lengths of the routes that match the destination.

Build an IPv4 address plan from host requirements

An office has a lab that needs 46 IPv4 addresses and a guest network that needs 24. Both requirements include the default gateway. You have 192.0.2.0/24 for this paper exercise. Start with the larger network. A /26 has 64 total addresses and 62 available for ordinary host assignments after reserving its network and broadcast addresses. Use 192.0.2.0/26 for the lab. Its network address is .0, its broadcast address is .63, and its usable range is .1 through .62.

The next aligned block starts at .64. A /27 provides 32 total addresses and 30 ordinary host addresses, so 192.0.2.64/27 works for the guest network. The broadcast address is .95 and the usable range is .65 through .94. Reserving .65 as the gateway leaves 29 addresses in that block for other interfaces. If a requirement counts client devices separately from the gateway, add the gateway to the host count before choosing a prefix.

Check prefix alignment before assigning addresses

Write the /26 network starts for the last octet: 0, 64, 128, and 192. Write the /27 starts every 32 addresses. A proposed guest subnet of 192.0.2.80/27 belongs to the block whose network address is .64. Its host address can be valid with that mask, but writing .80 as the subnet boundary obscures where the block actually starts.

Now suppose a guest workstation has address .72/26 while the gateway uses .65/27. Both addresses may still communicate locally, so that single connection gives weak evidence about the mask. Ask what the workstation does with a destination at .110. With the incorrect /26 it treats .110 as local. With the intended /27 it sends traffic for .110 to its default gateway. Test behavior on both sides of a boundary when checking an addressing plan.

Apply longest prefix match to a routing table

A router has installed routes for 192.0.2.0/24 via router A, 192.0.2.64/26 via router B, 192.0.2.64/27 via router C, and a default route via router D. For destination 192.0.2.74, the /24, /26, /27, and default all match. The /27 is the longest matching prefix, so the packet goes toward router C. For .110, the /27 no longer matches. The /26 is now the most specific match.

This exercise starts with routes already installed. A separate control-plane question might ask how a router selects routes learned from different sources for the same prefix. In that case, check whether administrative distance or protocol metrics are relevant. First decide whether the question is about choosing between candidate routes or forwarding a packet using the installed table.

Rehearse subnetting without memorizing examples

Pick two new requirements, such as 27 addresses and 12 addresses. Allocate aligned blocks, then write the network address, usable range, broadcast address, and gateway for each. Draw a routing table in which one broad route contains both blocks and one more specific route applies to only one block. Test the first and last usable addresses and the first address beyond the smaller block. You should be able to explain both the calculation and the forwarding decision.

Keep a separate tally of errors caused by the mask, the starting address, or the route comparison. If you repeatedly miss the starting address, write out the increment for each prefix until you can locate a block even when the destination is near its upper boundary.

KEEP THESE THREE THINGS

Your next steps

  1. Size subnets using the required number of host addresses and the gateway.
  2. Use aligned network boundaries and check the usable range independently.
  3. Forward using the longest installed prefix that matches the destination.

Sources & official resources

Linked resources checked on 2026-11-30. Technical behavior and provider guidance can change; check the documentation for the version you use.

About this guide and its recommendations

Published by Prep With Proof with AI-assisted drafting. Study routines and examples are editorial suggestions, not official exam instructions or claims of a learner's personal results. Cited provider facts are linked; ownership of recommended Prep With Proof products is disclosed. No competitor endorsement or guaranteed certification outcome is implied.

Suggest a correction →