IP Networker

Deconstruct IPv4 addresses into their core binary components. Essential for network engineers calculating subnet masks and identifying host ranges.

. . .
C0.A8.01.0A

Anatomy of an IPv4 Address

An IPv4 address is a 32-bit number. To make it human-readable, we divide it into four 8-bit octets, separated by dots.

While we see "192.168.1.1", the router sees a continuous stream of 32 bits. Understanding this binary form is crucial for defining network boundaries and determining where one network ends and another begins.

Private Address Spaces

Certain ranges are reserved for internal use within a local network and are not routable on the public internet:

  • Class A: 10.0.0.0 — 10.255.255.255
  • Class B: 172.16.0.0 — 172.31.255.255
  • Class C: 192.168.0.0 — 192.168.255.255

CIDR & Subnetting Basics

Network Bitmask

A mask like 255.255.255.0 (or /24) tells the computer that the first 24 bits are the "Network ID" and the remaining 8 bits are for "Host IDs".

The Gateway

Typically the first address in a subnet (.1) is assigned to the router, serving as the exit point for the local network traffic.

Broadcast Address

The final address in a subnet (all host bits are 1) is used to send data to all devices on that network segment.

IPv4 to Binary Conversion Logic

Each octet represents 8 bits. The value of an octet (0-255) is the sum of bits set to 1. The bit values from left to right are:

1286432168421

Example: 192 = 128 + 64 (Binary 11000000)