A few months back, I showed you how to organize your network into smaller subnets. My post covered the details of the concept of subnetting.
So if you missed that article, I would suggest taking a look at it to make sure you understand VLSM and this article in its entirety.
For now, I will assume that you are already familiar with subnetting and know how to divide a network into smaller subnets.
In today’s article, we’ll subnet an already subnetted network into multiple subnets with variable subnet masks and then allocate them within our sample network.
Variable Length Subnet Mask (VLSM) is a key technology on large scalable networks. Mastering the concept of VLSM is not an easy task, but it’s well worth it. The importance of VLSM and its beneficial contribution to networking design is unquestionable.
At the end of this article you will be able to understand the benefits of VLSM and describe the process of calculating VLSMs. I will use a real world example to help you understand the whole process and its beneficial effects.
VLSM provides the ability to subnet an already subnetted network address. The benefits that arise from this behavior include:
The following diagram shows a sample internetwork which uses a network C address 192.168.10.0 (/24) subnetted into 8 equal size subnets (32 available IP addresses each) to be allocated to the various portions of the network.
This specific network consists of 3 WAN links that are allocated a subnet address range each from the pool of available subnets. Obviously 30 IP address are wasted (28 host addresses) since they are never going to be used on the WAN links.
In order to be able to implement VLSMs in a quick and efficient way, you need to understand and memorize the IP address blocks and available hosts for various subnet masks.
Create a small table with all of this information and use it to create your VLSM network. The following table shows the block sizes used for subnetting a Class C subnet.

Having this table in front of you is very helpful. For example, if you have a subnet with 28 hosts then you can easily see from the table that you will need a block size of 32. For a subnet of 40 hosts you will need a block size of 64.
Let us use the sample network provided above to implement VLSM. According to the number of hosts in each subnet, identify the addressing blocks required. You should end up with the following VLSM table for this Class C network 192.168.10.0/24.

Take a deep breath … we’re almost done. We have identified the necessary block sizes for our sample network.
The final step is to allocate the actual subnets to our design and construct our VLSM network. We will take into account that subnet-zero can be used in our network design, therefore the following solution will really allow us to save unnecessary addressing waste:
With VLSM we have occupied 140 addresses. Nearly half of the address space of the Class C network is saved. The address space that remains unused is available for any future expansion.
Isn’t that amazing? We have reserved a great amount of addresses for future use. Our sample network diagram is finalized as shown on the following diagram:

Variable Length Subnet Mask is an extremely important chapter in Network Design. Honestly, if you want to design and implement scalable and efficient networks, you should definitely learn how to design and implement VLSM.
It’s not that difficult once you understand the process of block sizes and the way to allocate them within your design. Don’t forget that VLSM relates directly to the subnetting process, therefore mastering the subnetting process is a prerequisite for effectively implementing VLSM.
And feel free to go through my subnetting articles a couple of times to get a hang of the whole process.
Learn everything you need to know to pass the Cisco 640-802 CCNA exam — without reading a book.
Get the extra boost of confidence you need with over 400 CCNA practice exam questions that are included in this course.
See what our Cisco CCNA Training has to offer!
Tagged:CCNA, CCNA Training, Cisco, Subnetting, Variable Length Subnet Mask, VLSM
dr.zing Says:
April 14th, 2008 at 6:46 am
Superb Article, and nicely explained with helpful diagrams.
Johan Says:
April 21st, 2008 at 4:17 pm
Hi,
Thanks for this excellent article.
Can you let us know if Subnetting differs when done in a Cisco environment and Microsoft environment ?
Someone once told me, that Cisco networks can use Subnet zero while as Microsoft doesn’t encourage that or something along those lines ?
Can you give some clarity on this please !
Thanks,
Johan
Rajesh kumar Says:
April 27th, 2008 at 2:14 am
it’s very nice……understable..
Cool Subnetting Tricks with Variable Length Subnet Mask - David’s Cisco Networking Blog Says:
June 29th, 2008 at 11:47 am
[…] To view the full article, click here. Comment RSS Feed Email a friend […]
Technology Trends » Blog Archive » Cool Subnetting Tricks with Variable Length Subnet Mask | Train Signal Training - Free Computer Training Videos Says:
June 29th, 2008 at 12:14 pm
[…] Cool Subnetting Tricks with Variable Length Subnet Mask | Train Signal Training - Free Computer Training Videos Blogged with the Flock Browser […]
EB Allen Says:
July 2nd, 2008 at 4:07 pm
Can you explain the /29 and how it relate to the 248. Is the relationship the same regardless of the number we use?