basforge

Search titles, text and the “If it doesn’t work” cases.

    RU
    Section · Linux

    Networking

    How the network stack works from a frame on the wire to a browser response, and how to inspect it on Linux. Move layer by layer across TCP/IP: live command output or a failure first, then the mechanism. Practice covers server diagnostics, with packet capture in the tcpdump topic.

    OverviewNetworking in practice: from a wire frame to a browser response
    13 chapters · 5 parts13 of 13 written
    Dark — read, light — written, empty — in progress. Marks stay in this browser only.
    Start: chapter 1 · Packets, layers and encapsulation

    Chapters

    Part 1

    The wire and LAN (L1–L2)

    How data is split into packets and reaches a neighbour on the same network.
    Part 2

    Addresses, routing and NAT (L3)

    How subnets work, how the kernel picks an outgoing interface, and what a router rewrites.
    Part 3

    Ports, TCP and UDP (L4)

    How a packet reaches the right process and how TCP delivery checks differ from connectionless UDP.
    Part 4

    Names and the web (L7)

    What you hit every day: name resolution, encryption and HTTP.
    Part 5

    The Linux network stack

    How a packet moves inside Linux: virtual interfaces, containers, netfilter and packet capture.

    Practice: network diagnostics

    Step-by-step walkthroughs verified on a live server. Each lists the chapter after which every step is clear.

    Reference

    Cheat sheets for commands, masks and flags to keep open next to the terminal.