# Subnetting: Accommodate more than 225 hosts

I have a subnetting question. First I’ll give an example:

An organization has the IP 200.1.1.0 and needs 4 subnets with the following characteristics:

Subnet A =>72 hosts

Subnet B => 35 hosts

Subnet C => 20 hosts

Subnet D => 18 hosts

Provide the IPs per subnet.

# Solution

Subnet A = 72 host

For 72 hosts we need 2^7 - 2 = 128 - 2 = 126 host. We need 7 bits for the hosts.

Network => 200.1.1.0/25

First Host => 200.1.1.1/25

Last Host => 200.1.1.126/25

Subnet B = 35 host

For 72 hosts we need 2^6 - 2 = 64 - 2 = 62 host. We need 6 bits for the hosts.

Network => 200.1.1.128/25

First Host => 200.1.1.129/26

Last Host => 200.1.1.190/26

Subnet C = 20 host

For 72 hosts we need 2^5 - 2 = 32 - 2 = 30 host. We need 5 bits for the hosts.

Network => 200.1.1.192/27

First Host => 200.1.1.193/27

Last Host => 200.1.1.222/27

Subnet D = 18 host

For 72 hosts we need 2^5 - 2 = 32 - 2 = 30 host. We need 5 bits for the hosts.

Network => 200.1.1.224/27

First Host => 200.1.1.225/27

Last Host => 200.1.1.254/27