01Chapter 1: Why networks are modeled in layersThis chapter assumes you know what a computer network and the internet are. It also assumes you recognize terms such as IP address, web server, and router, and that you can run simple commands in a terminal. You do not need to know the individual OSI layers yet. Later chapters cover them one by one.4 min read
02Chapter 2: How data is wrapped on the way down and unwrapped on the way upThis chapter assumes you know what an IP address, a router, and a web server are, and that you can run simple commands in a terminal. It covers encapsulation and decapsulation, the mechanism that makes layering work. The chapters that follow look at each layer in detail.3 min read
03Chapter 3: Layer 1: Physical, bits on the mediumThis chapter assumes you know what a network, an IP address, and a router are. It also assumes you can run simple commands in a Linux terminal. Layer 1 is the bottom of the OSI model. Every higher layer depends on it.4 min read
04Chapter 4: Layer 2: Data Link, frames and MAC addressesThis chapter assumes you know what an IP address is and can run commands in a terminal. It also assumes you have met the idea of layers and encapsulation from earlier chapters. Here you will see how Layer 2 moves data between two devices on the same link.3 min read
05Chapter 5: Layer 3: Network, IP addressing and routingThis chapter assumes you know what an IP address, a router, and a MAC address are, and that you can run simple terminal commands. Layer 2 moves frames between devices on the same link. Layer 3 moves packets between networks, so that two hosts with no direct link can still talk.3 min read
06Chapter 6: Layer 4: Transport, TCP, UDP, and portsThis chapter assumes you know what an IP address is, that Layer 3 delivers packets from one host to another, and that you can run simple commands in a terminal. Layer 3 gets a packet to the right machine. Layer 4 gets the data to the right program on that machine, and it decides how reliable the del3 min read
07Chapter 7: Layer 5: Session, managing dialoguesThis chapter assumes you know the layers below it. Layer 4 gives you a TCP connection or a UDP exchange identified by ports. It also assumes you are comfortable reading short Python snippets.3 min read
09Chapter 9: Layer 7: Application, protocols that applications speakThis chapter assumes you know how Layers 1 to 4 move data between hosts, including IP addresses, ports, and the difference between TCP and UDP. Layer 7 sits at the top of the stack. It defines the rules that two programs use to talk to each other once the lower layers have delivered their bytes.3 min read
10Chapter 10: Data units and devices at each layerThis chapter assumes you know the seven OSI layers by name, understand encapsulation, and can run simple terminal commands. Here you will connect each layer to its data unit (the name for the chunk of data at that layer) and to the devices that work at that layer.3 min read
11Chapter 11: OSI versus the TCP/IP modelThis chapter assumes you know the seven OSI layers and their jobs, and that you understand encapsulation. You should also be comfortable with terms like IP address, port, and frame.3 min read
12Chapter 12: Using the layers to troubleshootThis chapter assumes you know the seven OSI layers and what each does. It also assumes you can run basic commands in a Linux terminal. Here you will turn the layer model into a repeatable troubleshooting method.3 min read