Networking, DNS & TLS
OSI and TCP IP layers
Explain the TCP/IP layers and the header each one adds, so a connection fault can be tied to the link, IP, transport or application layer with a short test at each step.
What you will be able to do
- Explain what each TCP/IP layer adds, and which test reads that layer.
- Decide which layer to test first when a connection times out but ping works.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Networking, DNS & TLS
- L4 load balancing: TCP-level balancing and idle timeoutsIntermediate · 5 min
Balancing connections instead of requests: why idle database connections die after exactly 10 minutes, and why every backend suddenly sees the balancer's address.
- L7 load balancing: host and path routingIntermediate · 5 min
How a balancer that reads the request picks a backend by host and path, and the two ordering rules, one in nginx and one in AWS, that send a request to the wrong place.
- Ethernet frames and ARPIntermediate · 4 min
Explain how Ethernet frames carry MAC addresses and how ARP maps an IPv4 address to a MAC address on one segment, including its cache and its replies.
- IPv4 subnettingIntermediate · 4 min
Explain how a prefix length splits an IPv4 address into network and host parts, and how a host uses its mask to decide whether a destination is local or behind the…
- IPv6 addressingIntermediate · 4 min
Explain how IPv6 addresses are written in full and compressed form, what the three address types are, and why a copied address must be checked against the interface.
- Routing tablesIntermediate · 4 min
Explain how a routing table picks the longest matching prefix, what route types and proto fields show, and how to ask the kernel which route a destination uses.