Variable Length Subnet Masking, VLSM, IP V4 Subnetting, subnetting tutorials, IP study guides, IP documentation, IP tutorials
Variable Length Subnet Masking (VLSM) is a way of further subnetting a subnet. Using Variable Length Subnet Masking (VLSM) we can allocate IPv4 addresses to the subnets by the exact need. Variable Length Subnet Masking (VLSM) allows us to use more than one subnet mask within the same network address space. If we recollect from the previous lessons, we can divide a network only into subnets with equal number of IPv4 addresses. Variable Length Subnet Masking (VLSM) allows to create subnets from a single network with unequal number of IPv4 addresses.
Example: We want to divide 192.168.10.0, which is a Class C network, into four networks, each with unequal number of IPv4 addresses requirements as shown below.
Subnet A : 126 IPv4 Addresses.
Subnet B : 62 IPv4 Addresses.
Subnet C : 30 IPv4 Addresses.
Subnet D : 30 IPv4 Addresses.
This type of division is not possible as described in previous lessons, since it divide the network equally, but is possible with Variable Length Subnet Masking (VLSM).
Original Network (Network to be subnetted) – 192.168.10.0/24
Variable Length Subnet Masking (VLSM) - First Division
Divide the two networks equally with 128 IPv4 addresses (126 usable IPv4 addresses) in each network using 255.255.255.128 subnet mask (192.168.10.0/25).
We will get two subnets each with 128 IPv4 addresses (126 usable IPv4 addresses).
1) 192.168.10.0/25, which can be represented in binaries as below.
11000000.10101000.00001010.00000000
11111111.11111111.11111111.10000000
2) 192.168.10.128/25, which can be represented in binaries as below.
11000000.10101000.00001010.10000000
11111111.11111111.11111111.10000000
Variable Length Subnet Masking (VLSM)- Second Division
Divide second subnet (192.168.10.128/25) we got from the first division again into two Networks, each with 64 IP Addresses (62 usable IPv4 addresses) using 255.255.255.192 subnet mask.
We will get two subnets each with 64 IPv4 addresses (62 usable IPv4 addresses).
1) 192.168.10.128/26, which can be represented in binaries as below.
11000000.10101000.00001010.10000000
11111111.11111111.11111111.11000000
2) 192.168.10.192/26
11000000.10101000.00001010.11 000000
11111111.11111111.11111111.11000000
Variable Length Subnet Masking (VLSM) - Third Division
Divide 192.168.10.192/26 Network again into two Networks, each with 32 IPv4 addresses (30 usable IPv4 addresses) using 255.255.255.224 subnet mask
We will get two subnets each with 32 IPv4 addresses (30 usable IPv4 addresses).
1) 192.168.10.192/27, which can be represented in binaries as below.
11000000.10101000.00001010.11000000
11111111.11111111.11111111.11100000
2) 192.168.10.224/27, which can be represented in binaries as below.
11000000.10101000.00001010.11100000
11111111.11111111.11111111.11100000
Now we have split the 192.168.10.0/24 network into four subnets using Variable Length Subnet Masking (VLSM), with unequal number of IPv4 addresses as shown below. Also note that when you divide a network using Variable Length Subnet Masking (VLSM), the subnet mask are also different.
1) 192.168.10.0 - 255.255.255.128 (126 (128-2) usable IPv4 addresses)
2) 192.168.10.128 - 255.255.255.192 (62 (64-2) usable IPv4 addresses)
3) 192.168.10.192 - 255.255.255.224 (30 (32-2) usable IPv4 addresses)
4) 192.168.10.224 - 255.255.255.224 (30 (32-2) usable IPv4 addresses)
You have learned the term Variable Length Subnet Masking (VLSM) and how can we use Variable Length Subnet Masking (VLSM) for subnetting a subnet. Click "Next" to continue.