Computer Networks: Layers and Models
A computer network connects devices so they can exchange data. Networks are built in layers: each layer offers a service to the one above and hides the…
Data Link Layer and LANs
The data link layer moves frames between devices on the same network segment.
IP Addressing, Subnetting and Routing
An IPv4 address is 32 bits, written as four octets (192.168.10.25). It has a network part and a host part, separated by the subnet mask or CIDR prefix.
Transport Layer: TCP and UDP
The transport layer provides process-to-process delivery using ports (0 to 65535).
DNS and HTTP
How DNS resolves a name to an IP address and how HTTP works on top: record types, caching, methods, status codes and headers.
TLS and Network Security
TLS provides confidentiality, integrity and authentication for a connection. HTTPS is HTTP over TLS.
What Happens When You Type a URL
A classic interview question that ties every layer together. Typing https://prepverse.vercel.app/docs and pressing Enter does roughly the following.