Given an IP address is 172.168.10.0/24, an administrator wants to create 32 subnets, and then find out subnet mask, number of address of each subnet, first and last address of subnet 1, first and last address of subnet 32 ~ Ofuran

Given an IP address is 172.168.10.0/24, an administrator wants to create 32 subnets, and then find out subnet mask, number of address of each subnet, first and last address of subnet 1, first and last address of subnet 32

Given an IP address is 172.168.10.0/24, an administrator wants to create 32 subnets, and then find out subnet mask, number of address of each subnet, first and last address of subnet 1, first and last address of subnet 32


To create 32 subnets, we need to borrow 5 bits from the host portion of the IP address. The subnet mask for 32 subnets would be /27 (24 + 5).

Subnet mask: 255.255.255.224 (/27)

Number of addresses in each subnet: 2^(32-27) - 2 = 30

To find the first and last address of each subnet, we can use the following formula:

First address = (network address) + 1
Last address = (broadcast address) - 1

The network address of the given IP address (172.168.10.0/24) is 172.168.10.0, and the broadcast address is 172.168.10.255.

For the first subnet:

Network address: 172.168.10.0
First address: 172.168.10.1
Last address: 172.168.10.30
Broadcast address: 172.168.10.31

For the 32nd subnet:

Network address: 172.168.10.224
First address: 172.168.10.225
Last address: 172.168.10.254
Broadcast address: 172.168.10.255
'