The Default Gateway's Job
Learn how a device reaches networks beyond its own subnet.
Reaching Beyond Home
A device can talk directly to others on its own subnet, but how does it reach a server on the other side of the world? The answer is the default gateway, the router that connects your local network to everything beyond it. This lesson explains the gateway role and how a device decides when to use it. It is foundational to all routing.
Local vs Remote
Before sending a packet, a device asks a key question: is the destination on my local subnet or not? It uses its IP address and subnet mask to figure this out. If the destination falls within the local subnet, the device delivers the frame directly. If not, the destination is remote, and the device must hand the packet to its default gateway.
All lessons in this course
- The Default Gateway's Job
- Inside the Routing Table
- Static vs Dynamic Routing
- Meeting RIP, OSPF, and BGP