AP Networking • Evidence & Analysis • Upstream Troubleshooting

Can Ping the Gateway but Not the Internet

Use gateway success as a proven checkpoint, then isolate default-route, WAN, NAT, firewall, provider, DNS, MTU, and return-path failures without restarting from Layer 1.

Independent AP Networking resource • Updated 2026-09-12 • Includes 24 free digital flashcards
Upstream rule: once the gateway works, test one dependency farther away—remote IP first, DNS later.
Practice with Flashcards
What gateway ping proves

Successful gateway reachability moves the failure boundary upstream

If the client can ping its default gateway, the local path has already proven several dependencies for that ICMP exchange: the client has a usable local interface, the IP/prefix is plausible enough to classify the gateway as local, ARP or equivalent neighbor resolution succeeded, the VLAN/link path reaches the gateway, and the gateway interface responded. That is valuable evidence—but it does not prove the router can reach the Internet.

Strong troubleshooting chain: Gateway Works → Remote Numeric IP → Gateway Default Route → WAN State → NAT/PAT → Forwarding Policy → Provider Path → DNS → Application.
Scope first

One client, one subnet, or every LAN client changes the likely cause

One client fails

Endpoint DNS, VPN routes, proxy settings, host firewall, or local application state become stronger.

One subnet fails

Subnet-specific NAT, ACL, policy routing, or VLAN-to-WAN rules become stronger.

All LAN clients fail

WAN session, default route, edge firewall, NAT platform, provider service, or shared DNS become stronger.

Scope prevents you from treating an endpoint problem like an ISP outage—or an ISP outage like a browser problem.

Remote numeric test

Test a known remote IP before touching DNS

A numeric destination bypasses hostname resolution. If a remote IP succeeds, upstream IP forwarding works for that test and DNS becomes a logical next branch. If the remote IP fails too, changing DNS servers cannot repair the underlying path.

Gateway: 192.168.10.1 → replies ✓ Remote numeric IP: 1.1.1.1 → timeout ✕ Hostname: example.com → do not diagnose DNS yet First unresolved boundary: upstream routing / NAT / WAN / firewall
Default route

The router can answer local clients while having nowhere to send Internet traffic

A router automatically knows its directly connected networks, so the LAN can function perfectly even when the router lacks a valid default route. Unknown Internet destinations need either a default route or a more-specific matching route.

Router table: 192.168.10.0/24 directly connected 10.20.0.0/16 via internal core (no 0.0.0.0/0) Result: local/internal traffic works Internet destinations have no route

This is one of the cleanest explanations for “gateway works, Internet does not.”

Wrong default route

A default route can exist and still point to the wrong next hop

Do not stop at “there is a 0.0.0.0/0 route.” Verify the next hop and egress interface. A stale route after an ISP change, VPN tunnel, lab configuration, or failover event can send traffic toward a dead or unintended path.

High-information check: compare the configured default route with the actual WAN interface, provider next hop, and known-good design.
WAN link and session

The LAN side can be healthy while the provider-facing side is down

A SOHO router may continue serving DHCP, responding to pings, switching local traffic, and hosting its management page even when the modem/ONT link, PPPoE session, DHCP lease, or provider circuit is down.

LAN: gateway reachable ✓ DHCP healthy ✓ WAN: link up? no WAN address? none default route? none Conclusion: client reboot is not the right fix
WAN addressing

A valid WAN address narrows the problem, but does not finish the diagnosis

If the router has a provider-assigned WAN address and gateway, the handoff and address acquisition are functioning to some degree. The next questions become whether the router can reach a remote numeric IP, whether NAT is translating client traffic, whether firewall policy permits forwarding, and whether the provider path is usable.

Router-originated test

Compare traffic generated by the router with traffic forwarded for a client

This is one of the highest-information tests on the page. If the router itself can ping a remote IP but LAN clients cannot, the provider path and router's own upstream routing work. The failure becomes more specific to forwarded client traffic.

Router → 1.1.1.1 success ✓ Client → gateway success ✓ Client → 1.1.1.1 fails ✕ Stronger branches: NAT LAN-to-WAN firewall policy routing client-specific path
NAT/PAT

Private clients may have a route upstream but no usable return path without translation

Clients using RFC 1918 private space commonly depend on source NAT/PAT at the Internet edge. The router can possess a valid WAN address and default route while still failing to translate traffic from one LAN subnet.

Inside: 192.168.20.25 → 203.0.113.50:443 Expected translation: 198.51.100.20:53014 → 203.0.113.50:443 Observed: no translation entry Strong branch: NAT rule / NAT match criteria
NAT scope mistakes

One subnet can lose Internet while another works if translation rules are incomplete

A NAT policy may include 192.168.10.0/24 but omit a newly created 192.168.20.0/24 VLAN. That produces a very specific scope pattern: both subnets can reach the gateway, but only one reaches the Internet.

Diagnostic value: subnet-specific failure with shared WAN success strongly supports policy/NAT differences rather than a total ISP outage.
Forwarding firewall policy

Traffic to the router and traffic through the router are separate policy cases

A firewall can allow ICMP to the gateway's LAN interface while denying client-to-Internet forwarding. That is why a successful gateway ping proves very little about outbound TCP/UDP policy.

Rule 10: LAN → Router ICMP ALLOW Rule 20: LAN → WAN TCP/UDP DENY Observed: gateway ping works web traffic fails

Inspect the rule that matches the actual forwarded flow, including source subnet, destination, protocol, service, and egress zone.

Policy counter evidence

Firewall hit counts can show whether traffic reaches the expected rule

If the expected outbound rule never increments while the client is testing, traffic may be matching a different rule, taking another route, or failing before the firewall decision. If a deny rule increments exactly during the test, you have much stronger policy evidence.

Do not infer from configuration alone: verify which rule actually matches the live flow.
Provider path

Traceroute can help show whether traffic leaves the local gateway

If the first provider hop responds, the packet is making it beyond the local edge. If the trace never advances beyond the gateway, inspect the local route, WAN state, NAT, and edge policy first.

1 192.168.10.1 1 ms 2 198.51.100.1 9 ms 3 203.0.113.17 15 ms 4 * * * 5 192.0.2.80 31 ms

Hop 4 alone is not proof of failure because later hops respond. Interpret traceroute as path evidence, not a guaranteed list of every forwarding device.

ISP outage vs local edge

Use multiple artifacts before blaming the provider

EvidenceStronger interpretation
No WAN carrier/addressHandoff/provider-edge issue
WAN valid, router remote ping failsProvider/upstream route or edge policy
Router remote ping works, clients failNAT/forwarding policy/client path
Remote IP works, names failDNS
One public service fails, others workRemote/service-specific problem

Swipe horizontally to see the boundary matrix.

DNS branch

Move to DNS only after numeric reachability works

If the client can reach a known remote numeric IP but cannot open sites by hostname, inspect the configured resolver, reachability to that resolver, UDP/TCP 53 policy, and the returned records.

ping 1.1.1.1 reply ✓ nslookup example.com timeout ✕ First failed dependency: DNS resolution

This is exactly why the numeric test belongs before DNS changes.

Router DNS vs client DNS

Compare who is actually performing the lookup

Some home gateways advertise themselves as the DNS resolver and forward queries upstream; others hand clients public or provider resolver addresses directly. If the router can resolve names but clients cannot, inspect DHCP-provided DNS values, client policy, or LAN-to-resolver access.

If neither the router nor clients can resolve while remote numeric IPs work, the shared upstream resolver path becomes stronger.

MTU and tunnel effects

Small ICMP probes can succeed while larger application flows stall

A successful gateway ping—and even a successful remote ping—does not prove that larger packets survive the path. PPPoE, VPNs, tunnels, and other encapsulation can reduce effective MTU. If small probes work but HTTPS, VPN, or file transfer stalls, investigate path MTU and fragmentation-related behavior.

Evidence boundary: “ping works” proves only the specific packet size and protocol exchange that succeeded.
Asymmetric return path

The forward path can work while replies take a broken route back

Internet traffic is not guaranteed to return along the same path. A misrouted return route, upstream ACL, stateful firewall, or NAT issue can cause replies to disappear even after outbound packets leave successfully.

Client SYN → server seen at server ✓ Server SYN-ACK → client sent by server ✓ Client capture: no SYN-ACK ✕ Strong branch: return path / firewall state / NAT
One-client failure

If peers have Internet, move back toward the endpoint

When the gateway and Internet work for neighboring clients, inspect the failing endpoint's DNS configuration, VPN software, proxy settings, local firewall, route table, interface metrics, or browser/application state. Shared WAN troubleshooting becomes lower value.

Worked case 1

Gateway works, router has no default route

Observed: every client reaches the gateway. The router route table has connected LAN routes but no default route.

Inference: Internet traffic has no upstream forwarding path. Fix route/WAN configuration before touching DNS.

Worked case 2

Router can reach the Internet, clients cannot

Observed: the router successfully pings a public IP. LAN clients reach the router but cannot reach the same public IP.

★ Routing Practice • Can Ping the Gateway but Not the Internet

A five-minute warm-up for Can Ping the Gateway but Not the Internet

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

Inference: provider reachability and the router's own default route work. Inspect NAT, LAN-to-WAN firewall policy, or client-specific routing.

Worked case 3

One VLAN has no Internet after a network expansion

Observed: original VLAN works; new VLAN reaches its gateway but cannot reach the Internet. NAT configuration includes only the original subnet.

Inference: translation policy does not include the new subnet.

Worked case 4

Remote IP works but websites fail by name

Observed: 1.1.1.1 replies, while DNS queries to the configured resolver time out.

Inference: upstream IP forwarding is working for the numeric test. DNS is the first failed dependency.

Worked case 5

Small pings work but VPN and large HTTPS transfers stall

Observed: gateway and remote pings succeed; larger encapsulated flows fail after a tunnel change.

Inference: investigate MTU/path-MTU behavior instead of declaring the Internet path fully healthy.

Evidence matrix

Each successful checkpoint removes entire branches from the diagnosis

CheckpointWhat it provesWhat remains unproven
Gateway pingLocal ICMP first hopWAN/NAT/DNS/app
Router remote pingRouter upstream IP pathClient NAT/forwarding
Client remote IPClient upstream IP forwardingDNS/application
DNS lookupName resolutionRequired application
Application transactionEnd-to-end service for that testOther services/paths

Swipe horizontally to see the evidence matrix.

Routing Lab • 120 Missions

Let students try Can Ping the Gateway but Not the Internet 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 Can Ping the Gateway but Not the Internet.

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

Use the nearest successful checkpoint to choose the next branch

Gateway ping succeeds | +-- Remote numeric IP succeeds? | +-- Yes | | +-- Hostname fails? | | → DNS branch | | | +-- No | | | +-- Router itself reaches remote IP? | | +-- Yes → NAT / forwarding firewall / client path | | +-- No | | | +-- WAN address/default route present? | +-- No → WAN/route/provider handoff | +-- Yes → edge policy / provider path | +-- Small probes work, large apps fail? → MTU / tunnel / stateful path
Change-one-variable testing

Make one controlled change so the result creates new evidence

Keep the client and destination constant while testing a different DNS resolver only after numeric reachability is proven. Keep the route and WAN constant while temporarily disabling one outbound policy rule in a safe lab. Compare router-originated and client-forwarded tests without changing both at once.

Avoid multi-variable resets: rebooting the client, router, modem, and AP together can restore service while hiding the actual cause.
Verification sequence

Restore service in layers and prove each one

1. Gateway: local first hop still works.

2. Remote IP: upstream forwarding works from the client.

3. DNS: hostname resolution returns the expected answer.

4. Application: the original web, VPN, or cloud workflow succeeds.

5. Negative control: restricted traffic remains blocked where required.

This sequence prevents a repaired route from being mistaken for a fully repaired user experience.

Routing Exam Practice • Can Ping Gateway But Not Internet

Check whether Can Ping the Gateway but Not the Internet 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
Common exam traps

Do not overstate what a gateway ping tells you

Router-source vs client-source testing

Change the traffic origin without changing the destination

When the same public IP is reachable from the router but not from a LAN client, the difference is not the provider destination—it is the forwarding path through the router. That makes NAT, client-to-WAN firewall policy, policy routing, and client-specific state far more useful places to investigate than the modem or ISP.

Same destination: 203.0.113.50 Router-originated ping: success LAN client ping: fails Difference: forwarded client path not provider destination

This is a classic controlled comparison because only the traffic source and forwarding context change.

Why ARP is no longer the first branch

Once the gateway responds, local neighbor discovery has already done its job for that exchange

A successful gateway ping means the client resolved and reached its first-hop neighbor well enough for ICMP. Repeatedly clearing ARP or replacing local cables after that success usually adds little information unless the problem is intermittent or scope evidence points back to the LAN.

Preserve the checkpoint: do not restart at Layer 2 when the first hop is already proven. Move to the first unresolved upstream dependency.
Provider CPE vs customer router

Separate the customer edge from the provider handoff

In many environments the Internet path includes a customer router, a modem or ONT, and then a provider next hop. The customer's LAN gateway can be perfectly healthy while the modem/ONT loses registration, the WAN lease expires, or the provider-facing session fails.

Premium Routing Feedback

Spend less time marking explanations about Can Ping the Gateway but Not the Internet

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
Client → LAN gateway ✓ LAN gateway → WAN port ? WAN port → modem/ONT ? modem/ONT → ISP next hop ? ISP → Internet ?

Breaking the path into these boundaries keeps “the router works locally” from being mistaken for “the provider path is healthy.”

Public IP comparison

Use more than one remote destination before declaring the entire Internet unreachable

A single public host may filter ICMP, rate-limit probes, or be temporarily unavailable. Test more than one known destination and, when possible, more than one protocol. If multiple unrelated public IPs fail from both the router and clients, the shared upstream path becomes much stronger.

If only one destination fails while others work, move toward remote-service or route-specific troubleshooting instead of declaring a universal WAN outage.

NEW • COMPLETE 180-DAY TEACHER CURRICULUM

Teach Can Ping the Gateway but Not the Internet 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
DNS false positives

A browser error can look like DNS even when the failure is elsewhere

Some browser messages are vague, and cached DNS entries can hide resolver problems. Use a direct lookup tool to see whether the name resolves, what address is returned, and which resolver answered. Then test the returned address directly.

nslookup app.example → 203.0.113.25 ping / TCP test to 203.0.113.25 → fails Interpretation: DNS returned an address; the failure is after resolution.

This prevents a valid DNS answer from being blamed for a transport or application failure.

NAT state exhaustion

NAT can fail because of state capacity, not only because the rule is missing

Busy gateways maintain translation/session tables. If those tables are exhausted or corrupted, new outbound sessions may fail even though the NAT policy is logically correct. Evidence can include high session counts, allocation failures, logs, or a pattern where established flows continue while new ones fail.

Information-gain clue: “existing sessions work, new sessions fail” is different evidence from “one subnet was never included in NAT.”
Policy routing

A special routing rule can override the normal default route for selected clients

Some routers send traffic from specific VLANs, users, or applications through a VPN, secondary ISP, or security appliance. If one subnet reaches the gateway but not the Internet while another works, inspect policy-based routing in addition to NAT and ACLs.

Default: 0.0.0.0/0 → ISP A Policy: source 192.168.30.0/24 → ISP B ISP B down Result: VLAN 30 fails other VLANs work

The default route can be healthy while policy-selected traffic follows a failed path.

Application-layer finish

Internet reachability is not fully verified until the original user workflow succeeds

A remote numeric ping proves only that one ICMP exchange completed. DNS success proves name resolution. A TCP connection proves transport reachability to a port. The final check should be the actual web, cloud, VPN, or other application transaction that originally failed.

Strong closeout: document which layer was repaired, which checkpoints now pass, and whether the original application requirement is restored.
Free digital flashcards

24 Can Ping Gateway but Not Internet digital flashcards

Practice default routes, WAN state, NAT/PAT, firewall forwarding, provider-path evidence, DNS branching, MTU, asymmetry, scope, and verification order.

All upstream cards
Click or press Enter/Space to reveal.
Preserve the gateway checkpoint and move exactly one dependency upstream.
0 seen•24 cards
Continue studying

Move from gateway success into routing, NAT, DNS, and CLI evidence