LOGBOOK

HELP

Quiz Entry - updated: 2026.07.05

What is the default gateway and why is it important for hosts?

The default gateway is the local router interface address a host sends packets to when the destination is on another network; without it a host can only reach its own local network.

A host delivers locally if the destination is on its subnet, otherwise it forwards to its default gateway, which routes the packet onward

* On-subnet traffic is delivered directly; anything off-subnet goes to the default gateway, which must itself sit in the host's own network. *

Default Gateway on a Host:

The default gateway is used when a host needs to send a packet to a device on another network.

Key requirements:

  • The default gateway address is the router interface connected to the host's local network
  • The host's IP address and the router interface must be in the same network

Example:

  • PC1 (192.168.10.10/24) wants to reach PC3 (192.168.11.10/24)
  • PC1's default gateway = R1's G0/0/0 interface (192.168.10.1)
  • PC1 addresses packet to PC3's IP but forwards frame to R1's MAC

How hosts learn the default gateway:

  • Manual configuration - Administrator enters gateway IP
  • DHCP - Server provides gateway address automatically
  • IPv6 Router Advertisement - Router sends RA messages with gateway info

Why the gateway must be on the same network: A host can only deliver a frame directly to a device in its own subnet (it ARPs for the gateway's MAC). If the configured gateway address sat in a different network, the host could never resolve or reach it, so it could not forward any off-network traffic at all.

Critical: Without a valid default gateway, hosts can only communicate with devices on their local network.

Go deeper:

From Quiz: NETW1 / Basic Router Configuration | Updated: Jul 05, 2026