Subnetting Example
Subnetting Example
Subnetting Example
Assume that an ISP has given you a block of IPv4 addresses that includes the
following address:
136.50.40.100/22
Create five contiguous subnets from the given block beginning with the first address
of the block, as follows:
1. The first subnet with 512 addresses
2. A second subnet with 256 addresses
3. A third subnet with 128 addresses
4. Two subnets with 64 addresses each
For each subnet, show its prefix in CIDR format, its subnet network address, and its
direct broadcast address.
First Step
• The given address may not be the first address, so we first find the first address (network
address) of the given block
136.50.40.100 = 136. 50. 0010 1000. 0110 0100
Mask: /22 = 255.255. 1111 1100. 0000 0000 (green part: net ID)
Bitwise And: 136. 50. 0010 1000. 0000 0000 = 136.50.40.0
This is the first address of this block.