A host with the IP address 192.168.1.50 and a subnet mask of 255.255.255.0 is attempting to send data to a server at 10.1.1.5. Which address must be configured on the host to allow the data to exit the local subnet?
The default gateway is the IP address of the router interface connected to the local subnet. When a host determines that a destination IP is on a remote network, it forwards the packet to the gateway's MAC address, allowing the router to handle the transition to other network segments.
Why this answer
The host 192.168.1.50/24 and the server 10.1.1.5 are on different subnets, so the host cannot ARP for the server directly. It must forward the frame to its default gateway, which is the router interface on the local subnet that knows how to reach remote networks. Without a default gateway, the host can only communicate with devices in 192.168.1.0/24.
Exam trap
The trap is that candidates confuse DNS with routing; DNS resolves names but does not move packets between subnets, so the default gateway is the only correct answer for off-subnet communication.
How to eliminate wrong answers
Option A is wrong because DNS resolves hostnames to IP addresses; it does not route packets off the local subnet. Option C is wrong because the loopback address (127.0.0.1) is a virtual interface for testing the local TCP/IP stack and never carries traffic to remote hosts. Option D is wrong because the broadcast address (192.168.1.255) is used to reach all hosts on the local subnet, not to reach remote networks.