nerdexam
CompTIA

SK0-004 · Question #849

A server has the following network setup: IP address 192.168.10.27 Netmask 255.255.255.0 Gateway 192.168.9.1 DNS address 192.168.1.1 The server can ping other servers on its subnet, but nothing…

The correct answer is D. The netmask should be 255.255.254.0. The server cannot reach its default gateway because the current subnet mask places the gateway on a different network segment, blocking all routing beyond the local subnet.

Troubleshooting

Question

A server has the following network setup:

IP address 192.168.10.27 Netmask 255.255.255.0 Gateway 192.168.9.1 DNS address 192.168.1.1 The server can ping other servers on its subnet, but nothing beyond that. Which of the following should the administrator change?

Options

  • AThe gateway should be 192.168.1.1.
  • BThe DNS address should be 192.168.9.1.
  • CThe IP address should be 192.168.11.27.
  • DThe netmask should be 255.255.254.0

How the community answered

(29 responses)
  • A
    10% (3)
  • B
    3% (1)
  • C
    21% (6)
  • D
    66% (19)

Why each option

The server cannot reach its default gateway because the current subnet mask places the gateway on a different network segment, blocking all routing beyond the local subnet.

AThe gateway should be 192.168.1.1.

Changing the gateway to 192.168.1.1 points to a completely different network range that is also unreachable on the current subnet and would not resolve the routing failure.

BThe DNS address should be 192.168.9.1.

The DNS address only affects name resolution, not IP routing - changing it to 192.168.9.1 would not enable the server to reach hosts beyond its subnet.

CThe IP address should be 192.168.11.27.

Moving the IP address to 192.168.11.27 still places the server on a /24 network separate from the gateway at 192.168.9.1, leaving the routing problem unsolved.

DThe netmask should be 255.255.254.0Correct

With the current 255.255.255.0 (/24) mask, the server resides on the 192.168.10.0 network while the gateway at 192.168.9.1 belongs to the 192.168.9.0 network - these are separate subnets, so the server has no path to forward packets off-segment. Changing the mask to 255.255.254.0 (/23) expands the subnet boundary to span adjacent /24 blocks, making the gateway address locally reachable and restoring the ability to route traffic beyond the local segment.

Concept tested: Subnet mask and default gateway reachability

Source: https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/tcpip-addressing-and-subnetting

Topics

#network configuration#default gateway#subnet mask#IP addressing

Community Discussion

No community discussion yet for this question.

Full SK0-004 Practice