Why can servers ping each other but not reach the internet?

N10-008 By islever Editorial Last updated

Short answer

C The servers are not configured with default gateway.

Question

An engineer recently installed a new distribution switch and connected two servers provisioned with the following IPs: 192.168.17.20 and 192.168.17.30. The servers cannot connect to the internet, but they can reach themselves. The engineer observes that the distribution switch has the following setup: interface VLAN 100 IP address 192.168.17.5 255.255.255.0 The engineer is able to reach the core router 192.168.17.1 from the distribution switch. Which of the following is the most likely cause of this issue?
  1. A routing loop has occurred.
  2. The subnet mask is incorrect.
  3. The servers are not configured with default gateway. Correct Answer
  4. There is an improper Layer 1 connection between the router and the ISP modem.

Key Takeaways

This question tests the Layer 3 requirement that hosts need a default gateway to forward traffic outside their own subnet; the common trap is overlooking that local connectivity succeeds without a gateway.

When servers on the same VLAN can communicate internally but cannot reach the internet, the most likely cause is a missing or incorrect default gateway configuration. Community consensus strongly supports option C, as the distribution switch can already reach the core router.

Common mistake: Choosing 'The subnet mask is incorrect' or 'A routing loop has occurred' because both can cause partial reachability, but here the servers are on the same /24 subnet and the switch can reach the router, making a missing default gateway the only logical cause.

Expert Analysis

Why the Answer Is Correct

Option C is correct because the servers have valid IP addresses on the same subnet and can communicate locally, but they have no path to the internet. A host must have a default gateway (usually the router or Layer 3 switch interface) configured to send packets to destinations outside its own network. The distribution switch can reach the core router, so routing infrastructure is functioning; the failure is at the server's gateway configuration.

Why the Other Options Are Wrong

A routing loop would cause packets to be forwarded cyclically and would typically show symptoms even from the switch, while the switch can reach the router normally. An incorrect subnet mask would likely cause problems communicating even within the /24 subnet, yet the servers reach each other. A Layer 1 issue with the router-to-ISP connection would not prevent the servers from reaching the distribution switch or each other, and the question indicates the switch can reach the core router.

Community Comment Notes

All provided comments simply select option C with similar reasoning — that internal connectivity works while external connectivity fails, pointing to gateway misconfiguration. No dissenting answers or alternative explanations appear in the comments, reinforcing that this is a standard default-gateway troubleshooting scenario.

Official Reference

These links open the official vendor documentation in a new tab.

Exam Strategy

When troubleshooting reachability, use the command-line tools ping and tracert/traceroute to map where the path fails. If local pings succeed but remote pings fail, the first configuration to verify is the default gateway on the host and the routing table on the gateway device.

Community Votes

C
100%

100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 2 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 2

  1. a7ad6b1 👍 2 Answered C
    C. The servers are not configured with default gateway.
  2. priestb3 👍 1 Answered C
    Can connect internally but not externally. This means default gateway setting are incorrect.

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

← Back to N10-008 Study Guide