AP Networking • Endpoint routing diagnosis

Wrong Subnet Mask Symptoms: Diagnose Too-Broad and Too-Narrow Prefixes

A wrong subnet mask does more than produce a bad number. It changes which destinations a host believes are local, whether it uses its default gateway, what it tries to resolve with ARP, and which connected route appears in its routing table. Learn to prove the failure from the packet path.

Independent AP Networking resource • 24 free diagnostic flashcards • Updated 2026-09-08
Free diagnostic deck: Practice recognizing overbroad masks, narrow masks, gateway conflicts, connected-route clues, DHCP scope errors, and misleading DNS symptoms.
Start Flashcards
The core mechanism

The mask decides whether the host sends to the destination or to a router

The most useful way to understand a wrong subnet mask is to stop thinking of the mask as a formatting field. The host uses its IP address and prefix to create an on-link network. Every destination is compared with that boundary before normal default-gateway forwarding occurs.

If the destination is considered local, the host normally tries to resolve the destination on the local IPv4 link and builds a frame for that local destination. If the destination is considered remote, the host normally uses a route—often the default route—and builds the local frame toward the next-hop router instead. A wrong prefix can therefore change the first forwarding decision even when the destination IP, gateway, switch, router, and server are all correctly configured.

This explains the hallmark symptom: selective reachability. A bad mask does not necessarily make everything fail. Destinations that fall inside the same classification under both the correct and incorrect masks may continue to work. Destinations whose classification changes can fail or take an unintended path. That pattern is more informative than a generic “network unavailable” message.

Too broad

The host considers too many addresses local and may try local resolution for networks that should be routed.

Too narrow

The host considers some intended local peers remote and may send them toward a gateway.

Gateway conflict

The wrong prefix can even place the configured gateway outside the host's calculated local subnet.

Symptom map

What the evidence can look like before you know the mask is wrong

Observed behaviorMask mechanism that could explain itHigh-value checkWhat not to conclude yet
Some nearby addresses work; another routed subnet failsToo-broad prefix classifies the remote destination as on-linkCompare prefix and connected route with a working peer; inspect ARP behaviorDo not assume the router lacks a route
One intended local peer is sent toward the gatewayToo-narrow prefix puts the peer outside the calculated local blockCalculate both addresses under the configured prefixDo not assume the switch cannot forward locally
All remote destinations failWrong mask may make the documented gateway nonlocal or otherwise disrupt next-hop useValidate host/gateway subnet relationship and gateway reachabilityRemote failure alone does not prove a mask error
Hostname access fails because DNS server is remoteMask error prevents reaching the resolverTest gateway and remote numeric IP before changing DNSA DNS-looking symptom does not prove DNS is the root cause
Only one statically configured device failsLocal prefix differs from DHCP peersCompare interface configuration and connected routeDo not change the shared DHCP scope without evidence

Swipe horizontally to see the full table.

Too broad

An overbroad mask can keep a packet away from the router that knows how to route it

Intended design: client 10.20.5.25/24, gateway 10.20.5.1. Destination 10.20.8.40 is across a router.

Actual error: client is configured 10.20.5.25/16.

Host's mistaken belief: 10.20.8.40 belongs to its on-link 10.20.0.0/16 network.

Under the correct /24, the destination is outside 10.20.5.0/24, so the client normally forwards toward 10.20.5.1. Under the incorrect /16, the destination falls inside 10.20.0.0/16. The client can try to resolve 10.20.8.40 locally instead. If that device is actually on another routed network, local resolution does not reach it and the router may never receive the packet.

This is why adding a route to the router can be a completely ineffective response. The router cannot route a packet the endpoint never sends to it. The stronger diagnosis starts at the endpoint: calculate its on-link prefix, inspect the connected route, and compare its behavior with a correctly configured peer.

Diagnostic clue: ARP requests for an address that the network design says is remote are valuable evidence that the endpoint believes that address is local. That belief can come from the mask, a host route, or another local routing decision, so confirm the actual prefix rather than treating ARP alone as proof.
Too narrow

A narrow mask can turn an intended local peer into a routed destination

Now reverse the error. The intended LAN is 192.168.8.0/24, but a host at 192.168.8.70 is configured /27. A /27 has blocks of 32. Address .70 belongs to 192.168.8.64/27. An intended local peer at .20 belongs to the .0/27 block. According to the incorrect /27, .20 is not local.

The host may therefore choose its default route and send the frame toward its gateway rather than directly resolving .20. Whether the connection visibly fails can depend on the network. A router may reject, route, or in some environments mask the mistake through behavior such as proxy ARP. That is precisely why “it works” is not proof that the mask is correct.

A useful comparison is a peer on the same intended LAN that has the documented /24. The working peer's connected route covers 192.168.8.0/24; the affected host's connected route covers only 192.168.8.64/27. The route-table difference expresses the error more clearly than a vague connectivity test.

Gateway edge case

The wrong prefix can make a perfectly typed gateway logically wrong for the host

Consider 192.168.10.70/27 with default gateway 192.168.10.1. The /27 block containing .70 is .64–.95, with traditional host addresses .65–.94. Gateway .1 is outside that calculated subnet. The gateway address may be correct in the network documentation for a /24 design, but it is not local according to the endpoint's mistaken /27 configuration.

This creates a different symptom from the overbroad-mask case. Instead of merely mishandling selected remote networks, the client can have trouble using the very next hop needed for remote connectivity. If the operating system cannot resolve or otherwise use that gateway as an on-link next hop, many remote destinations can fail together.

When an artifact gives you IP, prefix, and gateway, validate them as a set. “The gateway field matches the answer key” is not enough. The prefix determines whether that gateway makes sense for that endpoint. Use Wrong Default Gateway Symptoms to distinguish a correct-address/wrong-boundary problem from an actually incorrect gateway value.

Free digital flashcards

24 wrong-subnet-mask diagnostic flashcards

These are deliberately evidence-driven. Some cards ask for calculations, while others ask what the endpoint will do, which artifact should change, or which tempting fix is unsupported.

All topics
Click or press Enter/Space to reveal.
Now name the evidence you would collect to confirm this answer.
0 seen•24 cards
Route-table evidence

The connected route is the mask translated into forwarding behavior

Operating systems represent directly attached IP networks with connected or on-link routes. The exact display differs by platform, but the idea is stable: interface addressing creates a route that tells the host which destination prefix is directly reachable through that interface.

A host at 10.30.12.44/24 should have a connected network corresponding to 10.30.12.0/24. Configure it /16 and the connected coverage becomes much broader: 10.30.0.0/16. That is not merely a cosmetic difference in an interface panel. It changes route matching for destinations such as 10.30.20.10.

This makes the route table a powerful artifact when several interfaces, VPNs, virtual adapters, or manual routes complicate a case. Instead of guessing from the symptom, ask: Which route does this destination match on the affected host, and is that route consistent with the intended design? Then compare with a known-good peer. Review Routing Table Explained when you need the broader route-selection model.

DHCP or static?

Find out how the wrong mask arrived before deciding where to fix it

If every client receiving a lease from one DHCP scope has the same wrong mask, the shared configuration source becomes the obvious place to investigate. Correcting twenty endpoints individually would treat the copies rather than the source. Inspect the subnet declaration or scope configuration that supplies addressing information.

★ Addressing Practice • Wrong Subnet Mask Symptoms: Diagnose Too-Broad and Too-Narrow Prefixes

A five-minute warm-up for Wrong Subnet Mask Symptoms: Diagnose Too-Broad and Too-Narrow Prefixes

Tomorrow’s opening question can pick up where this page leaves off: have students explain where the addresses come from and what they would check when a device cannot connect. The 300 Bell Ringers give you short questions and teacher answers you can use without preparing a new starter each morning.

300 AP Networking Bell Ringers
$74.99
BUY TEACHER PACK → See what is included in the 300 Bell Ringers →
Instant Access • Full-Year Teacher Resource

If DHCP clients are correct and one manually configured endpoint differs, the evidence points in the other direction. Compare that endpoint's address, prefix, gateway, and route table with a working peer. A local static mistake should not trigger an unnecessary DHCP redesign.

Mixed behavior can reveal multiple populations: an old static device, a reservation, a second DHCP server, or clients retaining prior configuration. The goal is not to memorize “DHCP causes mask errors.” It is to trace the configuration to its source. The DHCP Troubleshooting Guide covers the shared-service side in more depth.

Addressing & Subnetting Lab • 120 Missions

Let students try Wrong Subnet Mask Symptoms: Diagnose Too-Broad and Too-Narrow Prefixes for themselves

Reading the explanation is a start. In the browser simulator, students work through a broken network, choose what to test and see whether their fix worked. It gives them another chance to use what they learned about Wrong Subnet Mask Symptoms: Diagnose Too-Broad and Too-Narrow Prefixes.

AP Networking Browser Troubleshooting Simulator
$29.99
120 Missions • 60 Failure Patterns • Offline Copy
GET THE SIMULATOR → See all 120 missions & features
Why DNS gets blamed

A mask error can create a DNS symptom without creating a DNS failure

Suppose the configured DNS resolver is on another subnet. If the client's prefix causes it to mishandle the path to that resolver, hostname lookups can fail. From the user's perspective, websites “do not resolve.” But replacing the DNS server or flushing a cache does not repair the underlying Layer 3 classification.

Separate name resolution from reachability. Can the host reach its default gateway? Can it reach an appropriate remote numeric IP? Does the host treat the DNS server as local when documentation says it should be remote? Does a working peer use the same resolver but a different prefix? Those comparisons tell you whether DNS is the failing service or simply an unreachable dependency.

This is a general troubleshooting lesson: the layer where the user notices failure is not necessarily the layer where the failure begins. Use DNS Troubleshooting Guide after basic path evidence shows that the resolver is actually reachable.

Addressing Exam Practice • Wrong Subnet Mask Symptoms

Check whether Wrong Subnet Mask Symptoms: Diagnose Too-Broad and Too-Narrow Prefixes has really stuck

Once students have worked through this topic, give them questions mixed in with the rest of the course. The Exam Prep Vault includes practice exams, multiple-choice questions and artifact labs so they cannot rely on a chapter heading to tell them what to do.

AP Networking Complete Exam Prep Vault
$39.99
GET THE EXAM PREP VAULT → See the Exam Prep Vault contents →
4 Practice Exams • 320 MCQs • 60 Artifact Labs
Evidence ladder

A fast wrong-mask diagnosis can be built from four increasingly specific checks

1. Compare configuration

Check IP address, prefix/mask, and gateway against documentation and a known-good peer on the same intended subnet.

2. Calculate the boundary

Do not stop at “the masks differ.” Calculate what the affected host considers on-link and identify a destination whose classification changes.

3. Inspect behavior

Use the route table, ARP/neighborhood information, or packet evidence to see whether the host actually treats that destination as local or remote.

4. Correct and verify both sides

After fixing the prefix, test one destination that should be local and one that should be remote, then retest the original application.

This sequence is stronger than changing settings until connectivity returns. It creates a causal chain: configuration → calculated boundary → forwarding behavior → corrected behavior. That chain is useful when answering scenario questions because it explains not only what is wrong but why the observed symptom follows from it.

Premium Routing Feedback

Spend less time marking explanations about Wrong Subnet Mask Symptoms: Diagnose Too-Broad and Too-Narrow Prefixes

When students explain their answer, it takes more than a right-or-wrong check to see what they understand. The Grading Copilot helps you review how they used the clues, where their explanation falls short and what feedback to give next. You make the final grading decision.

AP Networking Artifact Analysis Grading Copilot
$49.99
8 Criteria • 5 Task Modes • Offline Premium Copy
GET THE GRADING COPILOT → See the free Copilot preview
Three cases

Distinguish a mask problem from nearby look-alikes

Case A: mask likely

One host has /16 while working peers on the same intended LAN have /24. It ARPs for a documented remote 10.20.x.x destination. The mismatch and behavior support the same mechanism.

Case B: gateway more likely

The host's /24 matches peers, its connected route is correct, local peers work, but the configured gateway value differs from every working device. Investigate the gateway rather than forcing a mask theory.

Case C: routing/filtering still open

The host has the correct prefix, reaches its gateway, and sends the remote flow to that gateway. The failure occurs farther along the path. Endpoint subnet classification has passed its test.

Good troubleshooting removes hypotheses as well as adding them. If the connected route matches the documented subnet and packet behavior shows the host correctly handing a remote flow to its gateway, continuing to edit the mask wastes evidence you already earned.

Verification design

One successful website is a weak post-fix test

A subnet mask defines a boundary, so verify the boundary. Choose a known peer that should be on-link under the intended prefix. Then choose a destination that should be remote. Confirm the first is handled locally and the second is forwarded through the expected gateway. Finally retest the user's original service.

NEW • COMPLETE 180-DAY TEACHER CURRICULUM

Teach Wrong Subnet Mask Symptoms: Diagnose Too-Broad and Too-Narrow Prefixes as part of a planned school year

This page gives you one topic. The 180-Day Teacher Curriculum puts it into a full course plan, with daily teaching notes, student activities and checks for understanding. Use it when you need to know what comes before this lesson and what to teach next.

AP Networking Complete 180-Day Teacher Curriculum
$199.99
180 Lessons • 180 Daily Simulators • 36 Teaching Weeks
GET THE 180-DAY CURRICULUM → See 3 free curriculum examples

For a corrected 10.44.8.70/24 client, a peer such as 10.44.8.20 should now fall inside 10.44.8.0/24. A destination such as 10.44.20.10 should fall outside and use the route toward the gateway. If both classifications are correct, you have tested the mechanism the repair was intended to restore.

Also verify persistence. If DHCP delivered the bad prefix, renew or reconnect a test client after correcting the shared configuration. If the device is static, confirm the saved configuration survives the relevant restart or interface cycle. A repair that disappears on the next lease or reboot is not complete.

Exam reasoning

Turn a subnet-mask question into a forwarding explanation

When a scenario presents an endpoint address, prefix, gateway, and a failed destination, first calculate the endpoint's local network. Then classify the destination. If the mask is suspected, compare that classification with the intended design. Finally predict the host's next action: direct local resolution or forwarding toward a gateway.

This method helps reject distractors. Changing DNS cannot fix a host that incorrectly ARPs for a remote numeric IP. Adding a router route does not help if the endpoint never sends the packet to the router. Replacing a switch is unsupported when the failure is explained by an endpoint's connected route. Conversely, do not force a mask answer when the configured boundary is correct and evidence shows the packet already leaving through the expected gateway.

High-information answer pattern: “The /16 makes 10.20.8.40 appear on-link to 10.20.5.25, so the client attempts local resolution instead of forwarding to its default gateway. Correct the client to the documented /24, then verify one local /24 peer and the remote 10.20.8.40 destination.”