Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Certification Preparation
Microsoft
VLSM - Variable Length Subnet Mask - best practice or requirement?
hennrizzler
I've been learning about VLSM. While I knew subnetting and subnet masks, I've only come across VLSM and it makes sense to carve out subnets giving varying subnet masks to make more efficient use of the address block. My question is:
When using VLSM do you always assigned the biggest network first? I.E
150 devices
70 devices
20 devices
or does it not matter how I carve up the subnet? I hope I make sense.
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
jdancer
I think the suggestion for biggest network first is to avoid a bunch of little fragmented networks later. Like two /30 networks separated by a /28 network.
hennrizzler
That makes sense. So it's only a suggestion/guideline then? I assume in production, you'll eventually get a requirement to build a new subnet with a larger network and this will cause the fragmentation you suggest?
jdancer
You can read this TE thread about the biggest network guideline. It's really there to make your work easier.
http://www.techexams.net/forums/ccna-ccent/77690-biggest-subnet-first-rule-very-critical.html
gambler103
Hi,
Im still confused here and cant find a legitimate reason why you can use diffrent VLSM masks within a subnet.
For example, we have an existing DMZ subnet of 192.168.129.0/24. This subnet is currently split up using VLSM into 255.255.255.240 or /28 subnets (as below).
192.168.129.0/28 USED
192.168.129.16/28 USED
192.168.129.32/28 SPARE
192.168.129.48/28 USED
192.168.129.64/28 SPARE
We are running out of address space in the 192.168.129.16/28 subnet so my question is, Is it possible to incorparate the currently spare subnet 192.168.129.32/28 into 192.168.129.16/28 therby creating 192.168.129.16/27 (and 15 more usable host addresses)??
This obviously goes against the largest subnet first guidance but I cant find anything on the net that categorically tells me or explains to me why we cant use this subnetting?
I think this question boils down to the fact of whether the mask used relates to the ip address being used or the subnet as a whole.
e.g.
192.168.129.
16
255.255.255.224 giving usable addresses of 192.168.129.17-46 (mask relates to the ‘16’ in the last octet).
OR
192.168.129.16 255.255.255.224 giving usable addresses of 192.168.129.1-30 (mask ignores the ‘16’ and relates back to the zero subnet address 192.168.129.0).
Any help much appreciated!
Thanks
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS