Bit Foundry / Computer Networking

Computer Networking

Understand why networks work, then trace what happens when your software sends a request.

Start with the OSI model

Networking is the system that lets software communicate across machines. Learn the big picture first, then connect protocols, routing, reliability, wireless, security, and media delivery to the decisions developers make.

9 course modules41 guided lessonsInteractive models and labs
A MAP FOR THE WHOLE COURSE

The OSI model: one request, seven jobs

Use this map to ask a practical question during design or debugging: which job is failing, and which component owns it?

INTERACTIVE TRACE

Follow an HTTPS request down, then back up

At each step, notice what this layer adds or checks; the receiver removes or interprets those headers in reverse order.

Start at the application layer. Select any layer above to inspect its job.

How to use the model: OSI is a teaching and troubleshooting map, not a promise that every Internet protocol fits one box. The Internet stack commonly groups OSI layers 5–7 as application, layer 4 as transport, layer 3 as Internet, and layers 1–2 as link. TLS, QUIC, and session behavior can cross these boundaries.

THE COURSE

Nine-Module Interactive Course

Work through nine course modules, each built around the networking knowledge software engineers use in real products. Complete all 41 guided lessons and demonstrate each module’s hands-on lab to earn your certificate of completion.

CHAPTER 01 · LESSON

The Internet under the hood

Start with the whole path: applications create data, networks carry packets, and protocols coordinate each step.

1.1–1.3 · STRUCTURE

Edge, access, core

Applications run on end systems at the edge. Access networks connect them to routers; the core forwards packets across interconnected networks.

1.3 · SWITCHING

Packets share links

Packet switching divides messages and shares link capacity as packets arrive. Circuit switching reserves a path’s capacity in advance.

1.4 · PERFORMANCE

Delay and throughput

Delay includes processing, queueing, transmission, and propagation. End-to-end throughput is limited by the bottleneck link.

dtrans = L / R
1.5–1.7 · PROTOCOLS

Layers and encapsulation

Each layer provides a service to the one above. Headers are added as data moves down the stack, then removed at the receiver. The chapter closes with network attacks and Internet history.

Key distinction: Transmission delay is the time to place packet bits onto a link; propagation delay is the time those bits travel across it.

INTERACTIVE SIMULATION

Explore packet delay

CHAPTER 1
1500 bytes
10 Mbps
100 km
3
2 ms
ESTIMATED ONE-WAY DELAY
0 ms
Transmission Propagation Queueing

Adjust a slider to see how packet size, link rate, distance, and queues shape delay.

Model: store-and-forward links, equal link rates, 200,000 km/s propagation speed.Processing delay is omitted.
CHAPTER 02 · LESSON

Applications at the edge

Applications define the messages exchanged by processes. Transport carries those messages between hosts.

2.1 · ARCHITECTURE

Processes communicate

Client-server applications contact always-on servers. Peer-to-peer applications let hosts act as both clients and servers. Sockets connect an application process to transport.

2.2 · THE WEB

HTTP is request–response

A browser sends an HTTP request; a server returns a response. HTTP is stateless, while cookies and server-side state can support sessions.

2.3–2.4 · MAIL AND DNS

Email is a journey across systems

DNS MX records locate receiving mail servers; SMTP relays and queues messages; IMAP or POP3 gives recipients mailbox access.

2.5–2.7 · DISTRIBUTION

Scale the content

Peer-to-peer systems distribute work across hosts. Video services use HTTP streaming and CDNs to place content closer to viewers. Applications use UDP or TCP sockets.

Connection to Chapter 3: HTTP, email, and streaming define application messages; transport protocols determine how those messages move between processes.

INTERACTIVE SIMULATION

Compare HTTP connection costs

CHAPTER 2
80 ms
5 objects
Connection method
ESTIMATED ROUND TRIPS
Non-persistent
Persistent
Persistent + pipelined

Each additional non-persistent object needs a new TCP connection and a request/response round trip.

Model: one base HTML file plus the selected number of embedded objects.Ignores transmission time, server processing, caching, and parallel connections.
CHAPTER 03 · LESSON

Transport: delivery between processes

Transport uses ports to deliver data to the right process. TCP adds reliability, flow control, and congestion control; UDP keeps the service lightweight.

3.1–3.2 · SERVICE

Ports sort the traffic

Multiplexing gathers data from application sockets. Demultiplexing uses port numbers to pass each segment to the correct process.

3.3 · UDP

Connectionless transport

UDP sends independent segments without a handshake or built-in retransmission. Its checksum helps detect errors in a segment.

3.4–3.5 · RELIABILITY

TCP repairs loss

Sequence numbers, acknowledgments, timers, and retransmissions let TCP provide reliable, in-order delivery over IP.

3.5–3.7 · CONTROL

Two different limits

Flow control keeps a fast sender from overwhelming the receiver. Congestion control responds to load inside the network.

Reliable transfer: Go-Back-N retransmits the missing packet and later unacknowledged packets. Selective Repeat retransmits only missing packets and buffers out-of-order arrivals.

SLOW INTERACTIVE SIMULATION

Recover from packet loss

CHAPTER 3
Advance one network event at a time, or run slowly.
GO-BACK-N · WINDOW 4Ready · 4 packets in the send window

    Go-Back-N discards packets received beyond a gap. A timeout makes the sender repeat every unacknowledged packet in its window.

    Four packets are sent in one window; the selected packet is lost once.Event pacing: one step, or one event every 900 ms.
    CHAPTER 04 · DATA PLANE

    How routers forward packets

    Routing plans paths across the network. Forwarding moves each arriving packet from a router’s input to its chosen output.

    4.1 · TWO PLANES

    Route, then forward

    The control plane determines routes. The data plane uses a local forwarding table to move each packet to an output link.

    4.2 · ROUTER

    Lookup to output

    An input port examines the packet header; the switching fabric carries it across the router; an output port queues and transmits it.

    4.3 · IP

    Address the destination

    IPv4 and IPv6 datagrams carry addresses. Subnets and longest-prefix matching guide forwarding; NAT translates addresses at network boundaries.

    4.4 · SDN

    Match and act

    Generalized forwarding can match on packet fields and apply actions such as forwarding, dropping, or modifying the packet.

    Queueing matters: If packets arrive at an output faster than its link can send them, they wait in a queue; when the buffer fills, packets are dropped. Scheduling decides which waiting packet goes next.

    INTERACTIVE SIMULATION

    Find the forwarding entry

    CHAPTER 4
    Try 203.0.113.20, 203.0.113.200, or 198.51.100.7.
    ROUTER DECISION

    Forward to Link 3

    INPUT→LONGEST PREFIX→LINK 3
    Network prefixNext hop
    0.0.0.0/0Link 4 · default
    203.0.113.0/24Link 1
    203.0.113.128/25Link 2
    203.0.113.144/28Link 3
    Several entries may match one destination.Choose the matching prefix with the most bits.
    CHAPTER 05 · GUIDED LESSONS

    Network Layer: Control Plane

    How routers find paths and coordinate across networks. Open any module for a five-page lesson with an explanation, a worked example, guided practice, and a checkpoint.

    5.1 · MODULE

    Link-state routing

    Routers build a view of network links, then run Dijkstra’s algorithm to find least-cost paths.

    5.2 · MODULE

    Distance-vector routing

    Routers exchange distance estimates with neighbors and update paths using the Bellman–Ford relation.

    5.3 · MODULE

    OSPF and hierarchical routing

    OSPF distributes link-state information inside an autonomous system; areas limit the scope of updates.

    5.4 · MODULE

    BGP and inter-AS routing

    BGP advertises reachability between autonomous systems, combining policy choices with path information.

    5.5 · MODULE

    SDN control plane

    A logically centralized controller can compute and distribute forwarding rules to network devices.

    5.6 · MODULE

    ICMP and network management

    ICMP reports network-layer errors and diagnostics; SNMP provides a framework for monitoring managed devices.

    CHAPTER 06 · GUIDED LESSONS

    Link Layer and LANs

    How neighboring devices deliver frames over a link. Open any module for a five-page lesson with an explanation, a worked example, guided practice, and a checkpoint.

    6.1 · MODULE

    Link services and error detection

    Link protocols frame datagrams and detect corruption with tools such as checksums, parity, and CRC.

    6.2 · MODULE

    Error detection and correction

    Parity, checksums, and cyclic redundancy checks detect corrupted frames; recovery requires retransmission or additional redundancy.

    6.3 · MODULE

    Multiple-access protocols

    Channel partitioning, random access, and taking-turns protocols coordinate devices that share a broadcast medium.

    6.4 · MODULE

    ARP and Ethernet switching

    ARP resolves a local IPv4 next hop to a MAC address; Ethernet switches learn source addresses and forward frames across a LAN.

    6.5 · MODULE

    VLANs, MPLS, and data centers

    VLANs segment switched LANs, MPLS steers provider traffic with labels, and data-center fabrics connect large server populations.

    CHAPTER 07 · GUIDED LESSONS

    Wireless and Mobile Networks

    How networks handle radio links and moving devices. Open any module for a five-page lesson with an explanation, a worked example, guided practice, and a checkpoint.

    7.1 · MODULE

    Wireless link behavior

    Radio signals face attenuation, interference, and multipath; wireless links adapt to changing conditions.

    7.2 · MODULE

    Wi-Fi and local wireless

    802.11 uses association and channel access rules to connect stations through an access point.

    7.3 · MODULE

    Wi-Fi, Bluetooth, and Zigbee

    Wireless LANs and personal-area networks use different link rules; Bluetooth and Zigbee trade range, rate, and power for nearby devices.

    7.4 · MODULE

    Cellular networks and mobility

    Cellular radio access, carrier-core services, and handoff keep a device connected as its point of attachment changes.

    CHAPTER 08 · GUIDED LESSONS

    Security in Computer Networks

    How communication is protected and attacks are detected. Open any module for a five-page lesson with an explanation, a worked example, guided practice, and a checkpoint.

    8.1 · MODULE

    Security foundations

    Threat models identify what an attacker can observe, modify, impersonate, or disrupt.

    8.2 · MODULE

    Cryptography and integrity

    Symmetric and public-key cryptography support confidentiality, message integrity, and digital signatures.

    8.3 · MODULE

    Authentication and signatures

    Authentication verifies identity; signatures bind a message to a signer and help detect changes.

    8.4 · MODULE

    Endpoint authentication

    Fresh challenges and certificate validation help a client prove which server it is talking to and resist replay.

    8.5 · MODULE

    Applied network security

    Secure email, TLS, IPsec/VPNs, wireless protection, firewalls, and intrusion detection protect different trust boundaries.

    CHAPTER 09 · GUIDED LESSONS

    Multimedia Networking

    How networks deliver audio and video under timing constraints. Open any module for a five-page lesson with an explanation, a worked example, guided practice, and a checkpoint.

    9.1 · MODULE

    Multimedia applications

    Audio and video traffic has timing and rate needs that differ from ordinary file transfers.

    9.2 · MODULE

    Streaming video

    Adaptive streaming selects chunk quality based on bandwidth, buffer state, and playback conditions.

    9.3 · MODULE

    VoIP and real-time audio

    Real-time voice systems trade a small amount of loss tolerance for low end-to-end delay.

    9.4 · MODULE

    RTP and SIP

    RTP carries real-time media; SIP helps establish, manage, and end multimedia sessions.

    9.5 · MODULE

    Quality of service

    QoS tools such as scheduling, resource reservation, and Diffserv classes can manage competing traffic.

    COURSE PREVIEW · CHAPTER 6 RETROSPECTIVE

    Trace a web request

    6 STAGES
    01
    You ask for a pageBrowser · example.org
    ⌕
    02
    Find its addressDNS · name becomes an IP address
    #
    03
    Open a connectionTCP · reliable transport
    ↔
    04
    Encrypt the connectionTLS · authenticate and encrypt
    ◇
    05
    Send the requestHTTP · ask the server for the page
    →
    06
    Receive the responseServer → browser · the page arrives
    ▤
    OPTIONAL CAPSTONE · APPLY THE WHOLE MODEL
    DEBUG A REQUEST

    Find where the request breaks

    Use the evidence to locate the first failing boundary, then choose a testable cause. This short practice lab is optional and does not change certificate requirements.

    CLIENTDNS / NAMETCP / TLSHTTP / API
    CASE 1 OF 3READ THE EVIDENCE

    THE FINISH LINE

    Demonstrate what you can do

    Finish the 41 guided lessons, then demonstrate one hands-on lab in each of the nine course modules. Your progress is saved in this browser.

    0 of 41 lessons · 0 of 9 labs demonstrated

    Complete the lessons and demonstrate each module lab to unlock your certificate.

    BIT FOUNDRY · LEARNING

    CERTIFICATE OF COMPLETION

    has completed the Nine-Module Interactive Course in Computer Networking, including all 41 guided lessons and nine demonstrated hands-on labs.

    Completed