Your DevOps study space

Real explanations. Videos with tests. Fresh exams every time. Keep the streak alive and watch the XP stack up.

Models & addressing · Networking Docs · StackwisePlanDevOps Models & addressing · Networking Docs · StackwiseCodePython Models & addressing · Networking Docs · StackwiseBuildDocker Models & addressing · Networking Docs · StackwiseTestDevOps Models & addressing · Networking Docs · StackwiseReleaseGit Models & addressing · Networking Docs · StackwiseDeployKubernetes Models & addressing · Networking Docs · StackwiseOperateLinux Models & addressing · Networking Docs · StackwiseMonitorDevOps

Pick a topic

Eight tracks, each with docs, a cheat sheet, videos and tests.

How it works

One loop, repeated until it sticks.

Jump back in

Picked up from where you left off.

Free forever

Your DevOps journey starts with one click.

Sign in with Google or GitHub to open every chapter, video, test and challenge. Your progress is saved wherever you learn.

Models & addressing

Networking is how one machine finds and talks to another. Several of your videos follow one app as it grows from a single server into a cloud system; this first chapter covers the basics every step builds on: layers, addresses and how a packet leaves your local network.

Layers: the OSI and TCP/IP models

Sending data is split into layers, each solving one problem and relying on the layer below. The OSI model has 7:

  1. Physical: cables, Wi-Fi radio, electrical signals.
  2. Data link: getting a frame to the next device on the same local network, using MAC addresses (Ethernet, Wi-Fi, switches).
  3. Network: getting packets across many networks using IP addresses and routers.
  4. Transport: delivering data to the right program on the machine, reliably (TCP) or quickly (UDP), using ports.
  5. Session: opening, managing and closing conversations.
  6. Presentation: formatting, compression and encryption of the data.
  7. Application: what the program actually speaks: HTTP, DNS, SSH, SMTP.

In practice people use the simpler 4-layer TCP/IP model (Link, Internet, Transport, Application), which folds the top three OSI layers into one. The layer numbers are still used as shorthand: a "layer 4 load balancer" works with IPs and ports, a "layer 7" one understands HTTP.

Each layer wraps the data from the layer above with its own header, like envelopes inside envelopes:

MAC addresses and switches

Every network card has a MAC address burned in (like 3c:22:fb:1a:9e:01). It only matters on the local network. A switch connects the devices of one local network and learns which MAC address sits on which port, so it can pass frames only to the right device. ARP is how a machine finds the MAC address that belongs to a local IP address.

IP addresses

An IP address identifies a device across networks. IPv4 addresses are 32 bits written as four numbers from 0 to 255 (192.168.1.10), about 4.3 billion in total, which isn't enough for the modern internet. IPv6 uses 128 bits written in hex (2001:db8::1) and has practically unlimited addresses.

Some ranges are reserved as private (RFC 1918): 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. They're used inside homes, offices and cloud networks and are never routed on the public internet, so millions of networks can reuse them. A public IP is unique on the internet. 127.0.0.1 (localhost) always means "this machine".

Addresses are handed out either by hand (static, typical for servers, so their address never changes) or automatically by a DHCP server, which is what your laptop gets when it joins Wi-Fi.

Subnets and CIDR

A subnet is a block of addresses that belong to one network. CIDR notation writes it as an address plus a slash number: the number says how many bits, from the left, are the network part. The rest are for hosts.

192.168.1.0/241928 bits1688 bits18 bits0-2558 bits24 network bits: fixed8 host bits/1665,536 addressesa whole cloud network (VPC)/24256 addressesa typical subnet/2816 addressesa tiny subnet
The slash number counts the fixed bits from the left. Every bit you take away from it doubles the number of addresses.
  • 192.168.1.0/24: the first 24 bits (192.168.1) are fixed, the last 8 bits vary, so 28 = 256 addresses (192.168.1.0 to 192.168.1.255). The same as subnet mask 255.255.255.0.
  • 10.0.0.0/16: 16 bits vary, so 65,536 addresses. A typical size for a whole cloud network.
  • 10.0.1.0/28: 4 bits vary, so 16 addresses. Bigger slash number, smaller network.

Two addresses in each subnet are special (the network address and the broadcast address), and clouds reserve a few more, so a /24 gives you slightly fewer than 256 usable hosts.

Routers and the default gateway

If the destination is in your own subnet, your machine delivers directly. Otherwise it sends the packet to its default gateway, the router for its network. A router connects networks and forwards each packet one hop closer to its destination using its routing table. Small networks use static routes typed in by hand; large ones share routes automatically with routing protocols: OSPF inside an organisation, and BGP between the big networks that make up the internet.

Your home router also does NAT (network address translation): all your private devices go out to the internet sharing its one public IP, and it remembers which reply belongs to which device.

Questions

Pick an answer. Get it wrong and you can try again right away, no waiting. 10 questions per topic - pick a filter below, then use Recreate questions for a fresh set on that topic.

Fresh questions every time

Exam

A mixed test across the whole site, shuffled so you never know which topic comes next. When you submit, every mistake comes with the reason and a jump to the exact moment in the video that explains it.

30 questions 6 topics 20 minute limit Up to 70 XP
1–4 answer · ←→ move
History

Essay

0 / 200-250 words
Sample answer
History
0:00 / 0:00
Not started

on YouTube
Subscribe

Topic progress

Activity

Achievements

Settings

Your profile and your account.

Profile details

* Required. Saved in this browser until you sign in.

Letters, numbers, dots, dashes and underscores.
0 / 160

Account

Checking…

App

Install Stackwise on your phone or computer. It opens in its own window from your home screen, and the Docs and cheat sheets you've opened keep working without internet.

Only admins can see this

Dashboard

Sign-ups, activity, messages and reviews in one place.

Prove it

Certificates

Pass a topic's test and get a certificate with its own public page you can share or add to LinkedIn. Each test is 10 questions drawn at random and graded on the server; you need 8 right, you have 15 minutes, and you get one try per topic a day.

From first command to production

Linux for DevOps

A path through Linux the way DevOps engineers use it: ten stages, every command explained with its flags, examples, real output and mistakes, the combinations engineers chain together, and incidents worked through step by step. Practise everything in a safe lab folder.

Before the interview

Interview prep

Questions that come up in real DevOps interviews, with the kind of answer that lands. Say yours out loud first, then compare. Each one links to the chapter that goes deeper.

    Private to you

    My notes

    Everything you wrote down while watching and reading, in one place. Saved to your account, never shown to anyone.