About this video
IPv4 addresses are 32-bit binary values that computers process as sequences of ones and zeros, but are expressed in human-readable form as four decimal numbers separated by dots, each ranging from 0 to 255. This dotted-decimal notation divides the 32 bits into four 8-bit groups called octets, and the full address space spans from 0.0.0.0 to 255.255.255.255, yielding more than 4.2 billion possible addresses. Every IPv4 address contains two logical sections: a network portion that identifies which network the address belongs to, and a host portion that identifies a specific device within that network.
Subnet masks determine where the boundary between the network and host portions falls. Represented in the same dotted-decimal format as an IP address, a subnet mask uses binary ones to designate network bits and binary zeros to designate host bits, always assigning network bits from left to right. Because of this binary structure, valid subnet mask values within any octet are limited to a specific set of numbers: 0, 128, 192, 224, 240, 248, 252, 254, and 255. A Class C address, for example, assigns the first three octets to the network and the last octet to hosts, corresponding to a subnet mask of 255.255.255.0.
Within any IPv4 network, three address categories serve distinct roles. The network address is the first address in the range and identifies the network itself rather than any individual device. The broadcast address is the last address in the range and is used to send traffic to all devices on that network simultaneously, defining what is known as a broadcast domain. All addresses between those two boundaries are usable host addresses that can be assigned to individual machines, with the first usable address immediately following the network address and the last usable address immediately preceding the broadcast address.
About TechKnowSurge
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →