Networking handbook
Networking Learning Center
Study networking from link delivery to DNS operations. Every chapter includes a worked scenario, configuration guidance and related calculators.
Foundations and addressing
Networking fundamentals
A workstation sends a document to an application on another network. The application, the host, the switch and the router each make a different decision. Following one message through them explains why a working Ethernet link alone cannot establish application connectivity.
Chapter 2IP addressing and scope
An address plan must answer who may use a value, which interface has it, which prefixes contain it and how packets reach it. A familiar-looking address settles only part of that question.
Chapter 3IPv4 addresses and packet headers
The same four bytes can appear as a dotted address, an integer in an inventory or a field in a packet diagram. Reading those bytes alongside the IPv4 header connects address arithmetic to packet delivery.
Chapter 4IPv6 addresses, prefixes and neighbors
An IPv6 LAN can give one interface several addresses with different scopes and lifetimes. Reading an address accurately requires both its 128-bit value and the link or routing context where it will be used.
Chapter 5Subnetting and address planning
A subnet plan divides a parent allocation into disjoint blocks. Choosing sizes requires three counts: the interfaces a LAN needs, the addresses each rounded block consumes, and the space still free in the parent.
Chapter 6CIDR and route aggregation
One prefix can describe an interface subnet, an allocation or an aggregate route. CIDR gives each the same mathematical notation. The routing decision depends on which matching prefix is most specific.
Chapter 7Binary mathematics for network engineers
Prefix boundaries, wildcard masks and address ranges become easier to verify when you can reproduce one octet by hand. Work with an explicit bit width, then extend the same operations to a whole address.
Chapter 8DNS records, delegation and caching
A name lookup crosses two administrative boundaries. A client trusts a recursive resolver to find an answer, while authoritative servers publish data for particular zones. The time a client sees a change also depends on cached copies.
Chapter 9DHCPv4 leases, relays and renewal
DHCPv4 gives a client an address and configuration options for a limited time. A correct pool must agree with the subnet plan, the relay's link information and the lease timers understood by the client.
Chapter 10IPv4 translation and port mappings
An IPv4 address observed inside a site can differ from the source seen by a remote service. Network address translation explains that change. With address-and-port translation, several local endpoints can share an outward-facing address.
Protocols and models
TCP
A program writing 600 bytes to a TCP connection can expect its peer to read those bytes in order while the connection succeeds. The peer may read them in several pieces. Sequence numbers, acknowledgments and windows make that byte-stream contract possible.
Chapter 12UDP
A telemetry sender can put one sample in one UDP datagram. The receiving application gets a message boundary it can interpret immediately, but it must decide how to handle missing, duplicated or late samples.
Chapter 13HTTP and HTTPS
A web request asks an origin to perform a method on a resource. HTTPS preserves those HTTP semantics while securing the connection to the origin. Reading the URL, method, headers and status together explains what the browser requested and which answer it received.
Chapter 14TLS fundamentals
Two endpoints can agree on encryption keys and still need to establish whom those keys belong to. A certificate-authenticated TLS 1.3 handshake combines key establishment, service identity and verification of the handshake transcript.
Chapter 15Routing fundamentals
A router usually needs to know only the next hop for a destination. A useful forwarding worksheet records the destination prefix, next hop and output interface, then applies the same longest-prefix comparison a router would use.
Chapter 16Switching fundamentals
On an Ethernet LAN, a bridge can learn where a station sits simply by receiving a frame from it. A switch uses that observation and the destination on the next frame to decide which ports should carry a copy.
Chapter 17Ethernet
A 1500-byte IP packet typically occupies 1518 bytes from the destination MAC address through the frame check sequence on an untagged Ethernet link. The two numbers describe different boundaries. Choosing a boundary first makes a packet budget reproducible.
Chapter 18MAC addresses
A device sending to a server across a router usually places the router’s MAC address on its outgoing Ethernet frame. Understanding which recipient each address names prevents a common inventory and gateway configuration error.
Chapter 19OSI model
The seven-layer OSI reference model gives engineers a vocabulary for locating responsibilities. A lit link, a matching VLAN and a successful transport connection answer three different questions about the same application path.
Chapter 20TCP/IP model
An application message becomes transport data, an IP packet and then a frame suited to the next link. The Internet architecture organizes these jobs into application, transport, internet and link layers.
Operations and troubleshooting
Common ports and service endpoints
An application log says a client connected from 53124 to 443. Those numbers describe the two ends of one conversation. To interpret them, start with the transport and the direction of the first exchange.
Chapter 22Network units, bandwidth and transfer time
A 100 Mbit/s link and a file marked 100 MiB carry different kinds of numbers. Converting both to compatible units gives a transfer estimate you can compare with an application log.
Chapter 23Latency and packet loss
A report that says ‘30 milliseconds and one percent loss’ is incomplete until you know what traveled, in which direction, during what interval and how the receiver treated late arrivals.
Chapter 24MTU and packet payload
A link can accept an IP packet only up to a certain size. An additional tunnel or a smaller link elsewhere on the path can reduce the amount of application data that fits in one packet.
Chapter 25Wi-Fi fundamentals
Two laptops can display the same Wi-Fi signal level and experience very different calls. The receiver's background noise, the other users sharing airtime and the path beyond the access point all affect delivery.
Chapter 26Network troubleshooting with observed evidence
A useful incident report describes a particular failing task. ‘Payroll timed out on two office laptops at 09:10’ gives the next engineer a service, a location and a time window to investigate.
Chapter 27Network configuration from interface to domain
An address, a default route and a DNS resolver answer three different questions. A domain also needs authoritative servers and records. Use a configuration worksheet to place each value on the system that consumes it.
Chapter 28Troubleshooting DNS answers and delegation
When a new hostname works for one user and fails for another, write down the complete question, resolver and time. Two answers can both be consistent with DNS if one resolver still holds an earlier positive or negative response.
Chapter 29IPv6 transition with dual stack and translation
A migration plan needs a path for each client and service combination. Giving a client an IPv6 address solves one part. Name resolution, routing and the server's supported address families determine how the application can connect.
Chapter 30Network glossary
Use this glossary to read an interface configuration, a route or a performance report. Each term identifies a particular object or measurement. Carry its layer, units and scope with it when interpreting a real system.

