Subnetting in binary: /25 and /26
Sign in to read this lesson
To create more subnets you borrow bits from the host part. Every borrowed bit doubles the number of subnets. Borrowing 1 bit from 192.168.1.0 /24 gives the mask 255.255.255.128 and two subnets of 128 addresses (192.168.1.0 and 192.168.1.128). Borrowing 2 bits gives the mask 255.255.255.192 and four subnets of 64 addresses (.0, .64, .128, .192). For each subnet you find, in binary, the network address (host bits 0), the first host, the last host and the broadcast address (host bits 1).
What you will learn
- To create subnets you borrow bits from the host part. Every borrowed bit doubles the number of subnets: 1 bit = 2 subnets, 2 bits = 4 subnets.
- 1 bit (/25): mask 255.255.255.128 (
10000000= 128). 7 host bits → 128 addresses, 126 hosts. Subnets: 192.168.1.0 and 192.168.1.128. - 2 bits (/26): mask 255.255.255.192 (
11000000= 128 + 64). 6 host bits → 64 addresses, 62 hosts. Subnets: .0, .64, .128, .192. - 4 answers per subnet: network (host bits 0), first host (network + 1), last host (broadcast − 1), broadcast (host bits 1).
- The next subnet starts right after the previous broadcast address: after 192.168.1.127 comes 192.168.1.128.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.