Networking turns local computation into communication between failure domains. A request depends on name resolution, routing, transport state, protocol semantics, and the remote application. Along that path, data may be delayed, rejected, duplicated, reordered, or hidden behind a higher layer’s recovery behavior.

The practical model starts with one question: which component last observed the request in a valid state? An HTTP timeout might begin with slow DNS, lost TCP segments, a TLS handshake, proxy queueing, or application work. Logs become useful only when they are tied to that path.

The Layer Model

The stack separates responsibilities without pretending implementations are perfectly isolated. A single request crosses every row:

LayerOwnsExamplesTypical failure
LinkFrames on the local wireEthernet, Wi-Fi, ARPDriver/physical issues, local congestion
InternetAddressing and routing between networksIP, ICMP, routingUnreachable host, wrong route, MTU/fragmentation
TransportEnd-to-end delivery between processesTCP, UDP, portsRefused/reset connections, retransmit-driven latency
ApplicationWhat the bytes meanHTTP, DNS, TLS, gRPCWrong status, slow handshakes, protocol mismatch

TLS uses a transport connection to secure application protocols. DNS is itself an application-layer protocol and often precedes that connection. Resolution and handshake timings therefore belong beside application latency in any request trace.

Delivery Modes

The destination address determines who may receive an IP packet. The transport protocol does not change that fact: UDP supports all four patterns where the network does, while a TCP connection is still a unicast conversation between two endpoints.

ModeAddress ownershipSender → receiversRouting scopeConcrete use
UnicastOne interface owns the destination1 → 1Local or routedA client connects to one API address. Ordinary DNS replies are usually unicast
BroadcastEvery IPv4 host on the attached broadcast domain accepts the destination1 → all on-linkIPv4 subnet only. Routers normally do not forward itA DHCP client without an address sends to 255.255.255.255
MulticastReceivers join a group address. No host owns it1 → subscribed groupLink-local or routed only where multicast is configuredmDNS uses 224.0.0.251/ff02::fb. Controlled networks distribute media or market data
AnycastMultiple nodes advertise the same unicast address1 → one topologically selected nodeRoutedPublic DNS and CDN edges route a client to one advertised site; separate policy may withdraw an unhealthy advertisement

Anycast does not send a packet to every site advertising the address. Routing selects one path, and a route change can move later packets or a new connection elsewhere. Stateful services need an explicit plan for that movement. Multicast has different cardinality: the network replicates traffic toward joined receivers where multicast routing exists. IPv6 uses multicast rather than broadcast for functions such as Neighbor Discovery.

Destination ownership narrows the failure search. Unicast points to one addressed endpoint and its route. Broadcast remains on the local IPv4 link. Multicast depends on group membership and replication state. Anycast can fail selectively because different source networks choose different advertisements.

References

5 items under this folder.