Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Help about VLSM

Hi friends. I have used to study different papers for VLSM. But i am confused to understand exact idea behind this. Is there any link where can i find much easy and brief report about VLSM and how to use this pls help me in this regard as u can. I am confused about VLSM.

  • Other Network Infrastructure Subjects
VIP Purple

Re: Help about VLSM


in a nutshell, VLSM simply means to use another than the classful mask. To give you an example: let´s say you want to use class B network The default mask is, which gives you one subnet with 65534 hosts. Now you need several subnets, let´s say 4. The way to do it is to change the subnet mask to, which effectively gives you 4 subnets with 16382 hosts each. That is really all that there is to VLSM.

Check this paper for a good explanantion:

IP network design, part 3: IP addressing and routing,289142,sid7_gci803101,00.html




Re: Help about VLSM

VLSM also allows you to tailor the number of hosts within a specific address block (each subnet of the block can have variable number of hosts).

The KEY thing to remember is that the host ranges CANNOT overlap.

For example, with a Class C or twenty-four bit mask on the given address, you would not be able to provide twelve subnets with one containing up to 30 hosts.

Normally, you'd subnet at the fourth bit (/28 -, giving you

14 subnets (tossing Zero and all ones) with 14 hosts per subnet. But you have a requirement for one network with 30 hosts....

If you work out the subnets up to the eleventh subnet, then slide the mask one bit to the left / MSB side (/27 -, you can create at least one subnet with 30 hosts. The dividing line will be the X.X.X.192 subnet: everything below is a /28, everything .192 or above is a /27.

Assuming the address was / 24 -

Subnet to 28 bits (/28,

You'd get eleven subnets of fourteen hosts each: (hosts .17 - .30, broadcast .31) (hosts .33 - .47, broadcast .47) (hosts .49 - .62, broadcast .63) (hosts .65 - .78, broadcast .79) (hosts .81 - .94, broadcast .95) (hosts .97 - .110, broadcast .111 (hosts .113 - .126, broadcast .127) (hosts .129 - .142, broadcast .143) (hosts .145 - .158, broadcast .159) (hosts .161 - .174, broadcast .175) (hosts .177 - .190, broadcast .191)

At this point, change the mask to /27 -

You get the additional subnets, each with 30 hosts: (hosts .193 - .222, broadcast .223) (hosts .225 - .254, broadcast .255)

Note that none of the subnets overlap, and no host addresses overlap. If you create an overlap situation (two overlapping address ranges on the same router),the router will will kick back the address range with an "Address Overlap" error.

The more host bits you start with, the more options you'd have for subnetting / variable-length subnetting.

Hope this helps.

Good Luck


New Member

Re: Help about VLSM