About This Route

Central question: How does a host decide where to send traffic when it needs to reach another host?

This route builds a host-centered network model. A host does not send traffic directly to an application idea such as “the website” or “the server code.” It uses local interfaces, IP addresses, prefixes, routes, next hops, gateways, and link-layer delivery to move traffic toward a destination.

The route is about network reachability before application protocol meaning. It explains how a machine decides whether the destination is local, which interface should be used, whether a gateway is needed, and why local link delivery is different from higher-level protocols such as HTTP or WebSocket.

Contents

  1. Why Reaching a Host Is Not Reaching an Application
  2. What a Network Means From a Host Perspective
  3. LANs, Local Sites, and Layer 2 Reachability
  4. Network Interfaces, IP Addresses, and Host Identity
  5. Subnets, Prefixes, and Connected Routes
  6. Direct Delivery, Gateways, and ARP
  7. Sockets as the Program Boundary Above Network Reachability
  8. Final Mental Model: Host, Route, Link, and Socket

Reading Path

Read the notes in order. The path starts by separating host reachability from application behavior, then builds the host’s view of networks, LANs, interfaces, addresses, prefixes, routes, gateways, ARP, and sockets.

What You Will Understand

  • A host reaches another host through network-layer and link-layer decisions before any application protocol is interpreted.
  • LAN, subnet, route, gateway, interface, IP address, MAC address, and socket each play different roles.
  • “Same network” is not a vague physical claim. It is a routing and reachability decision made from interface configuration and routes.

Connected Reading

Builds on

Extends

  • How a Web Request Really Runs. This route develops the network reachability layer that the web request path depends on after request bytes leave the client.