Subnetting Based on Network Requirement – Exclusive Guide

Sometimes, the number of sub-networks is more critical than the number of host addresses per sub-network. For example, an organization wants to separate network traffic based on internal structure or department setup. In this case, the number of subnets is most important in determining how many bits to borrow. Accommodating the maximum number of hosts, including the required number of subnets, is the best practice in networking. The addressing scheme must allow for expansion in the number of host addresses per subnet and the total number of subnets. In this lesson, I will discuss subnetting based on network requirements.

Subnetting Based on Network Requirement

We borrow bits from the host portion into the network portion to create subnets. The formula used to calculate the subnet for borrowing bits is 2n (where n is the number of bits borrowed). The important thing is to balance the number of hosts required and the number of hosts needed for the largest subnet. The more bits borrowed to create additional subnets, the fewer hosts per subnet.

Examples of Subnetting Based on Network Requirement

In this example, an organization has allocated a network address of 115.255.240.0/22. You can see that the network prefix is 22, meaning there are 8 bits available in the host portion. So, the number of hosts is 210-2=1022. Now, the organization must isolate the traffic of all departments from each other. So, we will do the subnetting based on network requirements. The topology for the departments is shown in the figure below, consisting of 5 LAN segments and one router segment. So, six subnets are required for this topology. The largest subnet requires 120 hosts, and the smallest segment requires 30 hosts.

The 115.255.240.0/22 network address has 10 host bits. The largest subnet requires 120 hosts, which requires 7 host bits to provide 126 usable IP addresses for hosts. The formula for determining a host is 27 – 2 = 126 hosts. So, if we require 7 bits for the host portion, we can borrow 3 bits from the host portion for subnetting.

We can determine the subnet using the formula 23 = 8. Therefore, the first 3 bits of the host portion can be assigned subnets, as shown in the Figure below. When 3 bits are borrowed, the new prefix length is /25 with a subnet mask of 255.255.255.128. For example, Internetwork requires 6 subnets; the available subnet is 8. This will allow for some additional growth in the network.

WP Table Builder

The above table lists the network ID, first usable IP address, last usable IP Address, and broadcast ID for all sub-networks. You can see the borrowed bits are marked with red. Examine whether the borrowed bits in each network are the binary of that network number. For example, if we convert 5 into binary, which is “101,” you can see the borrowed bis in Net-5, which is the same as “101