Get AI summaries of any video or article — Sign up free
i bet you can't do this (because you still suck at subnetting) thumbnail

i bet you can't do this (because you still suck at subnetting)

NetworkChuck·
4 min read

Based on NetworkChuck's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.

TL;DR

An IPv4 address is 32 bits total, split into four octets of 8 bits each.

Briefing

An IP address is just 32 bits of on/off data, and mastering how to convert between that binary “matrix code” and the familiar decimal form is the foundation for subnetting. The core insight is that each octet in an IPv4 address is eight bits long, and those bits map directly to powers of two—so every 1 and 0 is either contributing a specific value or contributing nothing.

The lesson starts by reframing what an IPv4 address “looks like” to computers. While humans see four decimal numbers separated by dots, computers operate on binary: sequences of 1s and 0s. An IPv4 address contains 32 bits total, grouped into four octets. Each octet is eight bits, and eight bits make one byte—so the “size” of the address is not an abstract idea but a concrete storage unit. From there, the binary digits are treated like switches: 1 means “on,” 0 means “off.” The missing piece is what those switches mean numerically.

That numerical meaning comes from a powers-of-two chart. The chart lists values for each bit position within an octet: 2^0 through 2^7 (1, 2, 4, 8, 16, 32, 64, 128). Converting binary to decimal becomes a matter of lining up the bits with the chart, marking which positions are “on,” and adding only the corresponding powers of two. The walkthrough demonstrates this with multiple octets: for example, a binary pattern like 11000000 turns into 128 + 64 = 192, and other octets follow the same rule until the full dotted-decimal address emerges.

The reverse conversion—decimal to binary—uses the same chart but flips the process. Starting with a decimal octet value, the method repeatedly asks whether each power of two can be subtracted. If subtraction is possible, that bit becomes 1 and the value is reduced; if not, the bit becomes 0. The example with 172 shows the sequence clearly: 172 − 128 leaves 44, then 44 − 32 leaves 12, then 12 − 8 leaves 4, then 4 − 4 leaves 0, producing the binary octet 10101100. Additional octets (like 16, 34, and 3) are converted the same way, building the full 32-bit binary representation of the IPv4 address.

By the end, the takeaway is practical: this conversion skill is “leg day” for subnetting. Subnetting depends on being able to move confidently between binary and decimal because network boundaries and masks are expressed in bit-level terms. The lesson emphasizes practice—rewatching and doing the conversions repeatedly—so the powers-of-two mapping becomes automatic. (The transcript also includes unrelated sponsor segments, but the technical core remains the binary/decimal conversion workflow for IPv4 octets.)

Cornell Notes

IPv4 addresses are stored and processed as 32 bits, grouped into four octets of 8 bits each. Binary digits act like switches: 1 means “on” and 0 means “off,” but the real meaning comes from a powers-of-two chart (1, 2, 4, 8, 16, 32, 64, 128). To convert binary to decimal, match each bit to its power of two and add only the “on” values. To convert decimal to binary, work top-down through the same powers of two, subtracting when possible (turning that bit on) and leaving bits off when subtraction can’t be done. This conversion fluency is presented as essential groundwork for subnetting.

Why does an IPv4 address become “32 bits” in computer terms?

An IPv4 address is written as four decimal numbers (four octets). Each octet contains 8 bits, and 4 octets × 8 bits = 32 bits total. The transcript ties this to the idea that computers store raw data at the bit level, where each digit is either 1 or 0.

How does the powers-of-two chart turn binary into decimal for one octet?

Each bit position in an octet corresponds to a power of two: 2^0=1, 2^1=2, 2^2=4, 2^3=8, 2^4=16, 2^5=32, 2^6=64, 2^7=128. For a given 8-bit pattern, only the positions with a 1 contribute their power-of-two value. The transcript’s example: 11000000 maps to 128 + 64 = 192.

What’s the step-by-step method for converting decimal to binary for an octet?

Start with the decimal value and check powers of two from largest to smallest. If the power can be subtracted, set that bit to 1 and reduce the remaining value; if it can’t be subtracted, set that bit to 0. The transcript’s 172 example: 172−128=44, 44−32=12, 12−8=4, 4−4=0, yielding 10101100.

How does the “subtract when possible” approach determine which bits are on?

A bit is turned on exactly when its power of two fits into the remaining decimal value. Once subtraction reaches 0, all remaining lower powers must be off (0), because nothing is left to subtract. This is why the 172 walkthrough ends with trailing zeros after the remainder becomes 0.

Why is binary/decimal conversion framed as essential for subnetting?

Subnetting relies on bit-level operations and network masks, which are defined in terms of bits rather than dotted-decimal numbers. The transcript emphasizes that becoming fluent at converting between the two representations makes later subnetting tasks manageable instead of confusing.

Review Questions

  1. Given an 8-bit binary octet, how do you decide which powers of two to add to get the decimal value?
  2. Convert decimal 34 into binary using the powers-of-two chart method described (show which subtractions are possible).
  3. If an octet’s binary is 10101100, what decimal value does it represent, and which powers of two are “on”?

Key Points

  1. 1

    An IPv4 address is 32 bits total, split into four octets of 8 bits each.

  2. 2

    Binary digits function as switches: 1 means on, 0 means off.

  3. 3

    Each bit position in an octet corresponds to a power of two: 1, 2, 4, 8, 16, 32, 64, 128.

  4. 4

    Binary-to-decimal conversion adds only the powers of two where the bit is 1.

  5. 5

    Decimal-to-binary conversion works by subtracting powers of two when possible, turning those bits on.

  6. 6

    Subnetting depends on bit-level understanding, so conversion fluency is a prerequisite skill.

Highlights

Each IPv4 octet is exactly 8 bits, and the full address is 32 bits—so subnetting ultimately operates on a fixed 32-bit structure.
A single powers-of-two chart turns binary-to-decimal into a straightforward “match and add” process.
Decimal-to-binary uses the same chart in reverse: subtract the largest possible power of two, set that bit to 1, and repeat until the remainder hits 0.
The 172 example demonstrates the full workflow: 172 → 10101100 by subtracting 128, 32, 8, and 4.

Topics

Mentioned

  • Safe DNS
  • manscaped
  • Manscaped
  • NetworkChuck
  • IP
  • AI
  • DNS
  • CIPA
  • PJM
  • CIPAB
  • NS
  • RTU
  • SRA