Networking
Trace name resolution, addressing, routing, traffic controls, HTTP and TLS by layer.
Plan your study
Use this suggested order to move from foundations to related topics. Availability is shown for each topic.
01Review the foundations
02Follow these topics
03Continue with related subjects
Questions to guide your study
- Define its role: inputs, outputs and responsibility boundaries.
- Trace dependencies: required network, operating system, access and data conditions.
- Include operations: observable state, change impact and recovery procedures.
Topics in this subject
Available lessons and tools
CIDR and subnetting explained: prefixes, ranges and splitting a /24
CIDR (Classless Inter-Domain Routing) writes an address range as an address followed by a prefix length. An IPv4 /24 contains 256 addresses; a /25 contains 128. Learn how a prefix defines a range, how to split it, and how to detect overlap. The number of addresses in a range is separate from the number a particular network lets you assign.
TCP vs UDP: ports, listeners and message boundaries
TCP provides an ordered byte stream; UDP carries datagrams. Both use port numbers, but the same number does not make them interchangeable. Use a fictional document service to distinguish an intended endpoint, TCP listening and establishment, and an application response.
Names, IP addresses, MAC addresses and ports: what each identifies
Names, IP addresses, MAC addresses and ports have different roles, even when they concern the same service. A name is a key for looking up information; an IP address specifies a network-layer destination; a MAC address serves delivery on a link; a port distinguishes a TCP or UDP endpoint. Read them separately in a fictional document-service example.
IPv4 next hops: direct delivery and Ethernet frames across a router
A next hop is the neighbor to which a packet is delivered next. For an on-link destination, that neighbor can be the destination itself. For a destination on another link, the selected route may first send the packet to a router. Compare these cases using a specified IPv4 and Ethernet configuration.
IPv4 routing tables: longest prefix match and next hops
Longest prefix match selects the longest prefix among routes that match the destination IP. It does not select the longest entry in the entire table regardless of the destination. Use a fictional three-route table to read the matching set, the longest entry and its next hop for different destinations.
How DNS works: resolution, records and caching explained
DNS (Domain Name System) is a distributed system for querying information about names. For a website, it can resolve a hostname to an IP address. Receiving a DNS answer does not establish that a web page can be loaded. Separate the client, the resolver that finds an answer and the authoritative server that holds the zone’s information.
HTTP vs HTTPS vs TLS: web requests, protection and errors
HTTP (Hypertext Transfer Protocol) defines requests and responses; TLS (Transport Layer Security) protects a connection and authenticates its peer; HTTPS uses HTTP with that protection. A protected connection does not establish that an application authorizes a user or serves trustworthy content. Follow a page request to identify which layer has actually succeeded.
IPv4 CIDR calculator: address range, subnet mask and total count
Calculate an IPv4 range’s first and last addresses, subnet mask and total count locally from an address and prefix such as /24. CIDR fixes a prefix of the 32-bit address. The total is not a count of assignable hosts.