Variable Length Subnet Mask (VLSM) refers to a subnet design that uses multiple masks within a single network or a single class A, B, or C. It also describes the process of subnetting a subnet.
Note: The starting address of every subnet is called the subnet address, and the ending address is called the broadcast address.
VLSM provides an effective method to match the address needs with the subnet's requirement. For instance, a mask with fewer host bits for subnets requires fewer addresses, resulting in fewer host IP addresses for the subnet. This approach reduces the number of unused IP addresses in each subnet. Less address wastage makes room for more subnets.
Suppose the network administrator has to manage three departments in terms of IP address allocation as follows:
The provided IP address 192.200.10.1/24 belongs to class C.
Only the most significant bit of the host part will be fixed to find the subnetwork addresses of these departments. A table is given below for a better understanding of the solution:
Fixing the most significant bit | Possible hosts/subnets |
/24 | 256 |
/25 | 128 |
/26 | 64 |
/27 | 32 |
/28 | 16 |
/29 | 8 |
/30 | 4 |
/31 | 2 |
Using the table above to fulfill the requirement of 120 devices for the academic department, we'll only fix the leading first bit of the host part. In this way, we get a total of 126 usable IP addresses. The illustration is given below:
For the accounts department, we'll fix 2 bits. In the end, we get 62 usable host IP addresses.
As only 40 devices will be used in the research department, the most efficient subnet will be the one having 2 fixed bits. Consequently, we'll get 62 usable host IP addresses.
The salient features of VLSM are discussed below:
VLSM has a wide range of applications in network systems and services, such as the following:
Free Resources