One bit
0 or 1The smallest binary value: off/on, false/true or no/yes.
LAB-NET-101 · Networking foundations
See exactly how an IPv4 address becomes a network, a subnet mask separates network and host bits, and a /26 creates 62 ordinary usable host addresses.
Estimated time: 35 minutes · Browser-only · Suited to Network+, CCNA, Microsoft networking and general TCP/IP study
Lab summary
1 means network bit; 0 means host bit.255.255.255.192 and identify its subnet boundaries.Module 1
A bit is a single 0 or 1. Eight bits make one byte, called an octet in IPv4. Four octets make a 32-bit IPv4 address.
One bit
0 or 1The smallest binary value: off/on, false/true or no/yes.
One octet
8 bitsAn IPv4 octet holds a decimal value from 0 through 255.
IPv4 address
4 octetsFour bytes sit beside each other in dotted-decimal notation.
IPv4 size
32 bitsThat gives an IPv4 address its fixed length.
Visual breakdown
Octet 1
11000000192Octet 2
10101000168Octet 3
0000101010Octet 4
0100110177Module 2
In a normal CIDR mask, leading binary 1s identify the network prefix and trailing 0s identify the host portion. The slash number tells you how many network bits there are.
Mask explorer
Binary subnet mask
11111111.11111111.11111111.11000000
For a /26, the first 26 bits are 1s. The remaining 6 bits are 0s. The final octet is 11000000, which equals 192 in decimal.
Meaning check
Module 3
A /26 leaves six host bits. Six bits can form 64 combinations, so a /26 contains 64 total addresses. In an ordinary LAN subnet, the all-zero host value is the network address and the all-one host value is the broadcast address.
Worked /26 example
IPv4 address11000000.10101000.00001010.01001101
/26 mask11111111.11111111.11111111.11000000
77 falls in the 64-127 block because floor(77 / 64) x 64 = 64.
Subnet boundary check
Module 4
Count the host bits, calculate 2 to that power for total addresses, then subtract the network and broadcast addresses for the ordinary IPv4 LAN-host convention.
| Prefix | Final mask octet | Decimal mask | Host bits | Total | Usable hosts |
|---|---|---|---|---|---|
| /24 | 00000000 | 255.255.255.0 | 8 | 256 | 254 |
| /25 | 10000000 | 255.255.255.128 | 7 | 128 | 126 |
| /26 | 11000000 | 255.255.255.192 | 6 | 64 | 62 |
| /27 | 11100000 | 255.255.255.224 | 5 | 32 | 30 |
| /28 | 11110000 | 255.255.255.240 | 4 | 16 | 14 |
| /30 | 11111100 | 255.255.255.252 | 2 | 4 | 2 |
Important scope: this lab uses the conventional LAN-host formula. Point-to-point IPv4 links can use /31 under RFC 3021, and /32 is a single-host route; do not blindly subtract two in those cases.
Host-count challenge 1 of 4
An ordinary /27 subnet has 5 host bits. How many usable host addresses does it have?
Module 5
Score at least six of seven questions to complete the lab. Review the feedback and retry as often as needed.
Lab complete
Make a personal completion record below. It stays in your browser unless you print or save it.
This confirms that the learner completed the self-paced interactive lab on this device.
This is a local learning record, not an accredited certificate, verified assessment or digital badge.