A user with a self-configured, static IP address cannot connect to the internet. The technician runs an ipconfig command and receives the following output:

Which of the following should the technician edit?
Correct Answer: D
The correct answer is D. Default gateway.
A default gateway is the device that connects a local network to other networks, such as the internet. A default gateway is usually a router or a modem that has an IP address on the same subnet as the local network. A default gateway is necessary for a device to communicate with devices outside its local network.
In this case, the user has a self-configured, static IP address of 192.168.1.20, which belongs to the subnet
192.168.1.0/24 (with a subnet mask of 255.255.255.0). However, the default gateway is set to 192.168.0.1, which belongs to a different subnet (192.168.0.0/24). This means that the user's device cannot reach the default gateway, and therefore cannot connect to the internet.
The technician should edit the default gateway to match the correct subnet of the user's device, such as
192.168.1.1 or 192.168.1.254, depending on the configuration of the network.
Reference: CompTIA A+ Core 1 Sample Questions and Study Guide
Recent Comments (The most recent comments are at the top.)
Analysis of the Output:
IPv4 Address: 192.168.1.20 (which seems fine for a private network)
Subnet Mask: 255.255.255.255 (this is incorrect)
This mask allows only one usable IP (itself), meaning the PC cannot communicate with other devices, including the gateway.
Default Gateway: 192.168.1.1 (which is correct for a typical home or office network)
DHCP Server: 192.168.1.1 (this confirms the network has DHCP enabled)
Solution:
The technician should change the subnet mask to 255.255.255.0, which is standard for a network using 192.168.1.x addresses.
Steps to Fix:
Open Network and Sharing Center.
Go to Adapter Settings > Right-click on the network adapter > Properties.
Select Internet Protocol Version 4 (TCP/IPv4) > Click Properties.
Change the Subnet Mask to 255.255.255.0.
Save and restart the network adapter.
Once the subnet mask is corrected, the computer should be able to communicate with the gateway and access the internet. 🚀