Subnetting is a powerful technique used in networking to divide a larger IP address range into smaller subnets. In this example, we will explore how to subnet the network 192.168.1.0/24 into two /25 networks.
The original network, 192.168.1.0/24, has a default subnet mask of 255.255.255.0. This means that the first 24 bits represent the network portion, and the remaining 8 bits represent the host portion. In decimal and binary representations, it looks like this:
Network Address: 192.168.1.0
Subnet Mask: 255.255.255.0 (11111111.11111111.11111111.00000000)
To divide the /24 network into two /25 networks, we borrow one bit from the host portion, resulting in a subnet mask of 255.255.255.128 (/25). This allows us to create two subnets within the original network.
This means that the 2 different network addresses would be
Network address 192.168.1.0 - 11000000.10101000.00000001.00000000
Network Mask 255.255.255.128 - 11111111.11111111.11111111.10000000
Network address 192.168.1.128 - 11000000.10101000.00000001.10000000
Network Mask 255.255.255.128 - 11111111.11111111.11111111.10000000
You can see that this means that there are only 7 “bits” available for the host address. This means that each network will only be able to count up to 127 (1+2+4+8+16+32+64)
This therefore means that each network will have the following details: