101 · Question #628
An administrator configures a default gateway for the host. What is the purpose of a default gateway?
The correct answer is C. to forward packets to remote networks. A default gateway provides a host with a next-hop router address used to reach destinations outside the local subnet.
Question
An administrator configures a default gateway for the host. What is the purpose of a default gateway?
Options
- Ato replace the destination IP address with the default gateway
- Bto pass all traffic to the default gateway
- Cto forward packets to remote networks
- Dto populate the ARP table
How the community answered
(22 responses)- B5% (1)
- C86% (19)
- D9% (2)
Why each option
A default gateway provides a host with a next-hop router address used to reach destinations outside the local subnet.
The destination IP address in a packet is never replaced by the default gateway address - the source host keeps the original destination IP intact and only changes the destination MAC address to that of the gateway when building the frame.
Only traffic destined for remote networks is sent to the default gateway; traffic bound for hosts on the same local subnet is sent directly via ARP resolution without involving the gateway.
When a host determines that a destination IP address is not on its local subnet (by comparing it against the subnet mask), it forwards the packet to the default gateway IP address for routing to remote networks. The default gateway acts as the exit point for all off-subnet traffic, allowing communication beyond the local broadcast domain.
The ARP table is populated as a side effect of ARP request/reply exchanges; the default gateway's role is routing decisions, not ARP table management.
Concept tested: Default gateway function for off-subnet packet forwarding
Source: https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/tcpip-addressing-and-subnetting
Topics
Community Discussion
No community discussion yet for this question.