/24 subnet mask

/24 subnet mask with example

/24 subnet mask is the default subnet mask of the class c network which means all IP addresses in the range from 192.0. 0.0 to has the subnet mask of

/24 in subnet mask in binary is

It has 4 octets, all ones represent a network and Zeroes represent a host so /24 subnet mask gives us 256 host addresses. We can use 254 of those host addresses as two are reserved for network ID and broadcast address.

This address range is the most common range used in private networks because it gives relatively fewer host addresses which reduces the requirement of subnetting.

However, we can further create more networks by changing the default subnet mask.

If we want to create more networks then we can change the existing host bits to network bits then a new subnet mask will be created however it will reduce the number of host IPs available to be assigned to the devices.

If we have a default class b network address with the default subnet mask of /16 then we can change it to /24 to create a subnetted network address.

For E.g. address with a subnet mask of now, we will change the host bits to network bits so the new subnet mask will be and the IP range will be from to

Most of the home routers available in the markets use the class c range to assign an IP address to the hosts and we use the IP address from the same network to manage the device.


Creating more networks from IP address range to
To create two subnets, we have to convert one host bit to a network bit so the new subnet mask will be or /25 in CIDR notation

IP ranges will be as below – –

Now, we have to use the new subnet mask while assigning the IP addresses to the end devices. Using the /24 subnet mask will place the devices in one network however using the /25 subnet mask will place the host in a different subnet if we use the address from the above two ranges.

Leave a Reply