So here we are on Part 2 of subnetting. What makes me laugh is that I really think a lot of people over think this stuff. It’s really not the complicated and it should not scare you. Another thing to mention is that usually in the real world you usually have calculators and another pair of eyes to double-check your work unlike the exam you will need to fully understand it if you would like to pass the ICND2 or the CCNA test. So let’s get started!
On Part 1 of my subnetting post I was spiting up networks into equal parts.
Example: If I took an original Class C address of 192.168.5.X (Subnet 255.255.255.0) in broke it up into four parts, each part would be equal. I would use a /26 or a 255.255.255.192. Each network would hold 62 hosts and I would have four of them.
- 192.168.5.1 – 192.168.5.62
- 192.168.5.65 – 192.168.5.90
- 192.168.5.93 – 192.168.5.126
- 192.168.5.129 – 192.168.5.254
- This example is standard subnetting if this loses you go back and check out my post of Part 1. Also check out this subnetting workbook (which is in Part 1) this workbook will help you to continue to practice subnetting, there are easier ways to get the answers but you have to start at the beginning and really have an understanding of it, once you got it you’ll find the shortcuts everyone finds different ways to break this down 🙂 — Part 1 – The Joys of Subnetting! — Subnetting Workbook —IP-Subnetting-Workbook
With VLSM it’s basically the same method but a better way to conserve addresses, instead of having equal parts of the Class address why can’t we divide it up and different size pieces? Take a look at the picture below one link requires 111 hosts another only needs 25 hosts and the last one needs 50 hosts. With standard subnetting you would not be able to fulfill this goal. However with VLSM you would let’s go through the process.
So our corporation Acme wants to expand departments to three different buildings instead of one building. These buildings are connected via a WAN Link to each other. We are handed one IP address class which is a class C from Acme’s Tier 3 support. No Problem let’s break this down.
It is always best to take the biggest number of hosts required in this case it is the Finance department which requires 111 hosts. What is the next step? We can’t give a whole class C address because we have two other departments so let’s divide it into two. The subnet mask would be 255.255.255.128 and or a /25. These two networks would be able to hold 126 hosts.
- 192.168.16.1 – 192.168.16.126
- 192.168.16.129 – 192.168.16.254
Does this look familiar? So far we are just doing standard subnettng, The Finance department will use the first range. What about the second one let’s break it down even further! I would then choose the next biggest subnet which is the IT department which requires 50 hosts. So the range we can work with is 192.168.16.129 – 192.168.16.254. The subnet mask is 255.255.255.128 or a /25. This range is too big still because we still have one more department to work with. So let’s break this down to a /26 .
- 192.168.16.129 – 192.168.16.190
- 192.168.16.193 – 192.168.16.254
- So I just took the original /25 and spilt it into two equal pieces which is like the standard subnettng but now that we have different size networks within the same class C network it’s now considered VLSM! I also have an address range that can work with for the IT department we will use 192.168.16.129 – 192.168.16.190. The subnet masks of these two IP address ranges are 255.255.255.192. Each network can hold up to 62 hosts.
We could give HR the other range and that might be a good “real world” solution because this looks to perfect right? But for the sake of the exam let’s continue so we have the following range left to hack and slash: (Subnet mask is 255.255.255.192)
- 192.168.16.193 – 192.168.16.254
Let’s break this down one more click to a /27 the subnet mask will be 255.255.255.224. These ranges will be able to handle up to 30 hosts:
- 192.168.16.193 – 192.168.16.222
- 192.168.16.225 – 192.168.16.254
- For HR let’s pick the range 192.168.16.193 – 192.168.16.222 like before the subnet mask will be 255.255.255.224. That’s VLSM!!!
Not too bad right? What happens to the other range (192.168.16.225 – 192.168.16.254) that’s a spare that can be used elsewhere in the environment of Acme Corporation. So let’s look at the picture of our ranges and networks:
|Finance Network –111 Hosts||Range: (192.168.16.1 – 192.168.16.128) – Subnet Mask 255.255.255.128 Can support up to 126 hosts|
|IT Network –50 Hosts||Range: (192.168.16.129 -192.168.16.190) – Subnet Mask 255.255.255.192 Can support up to 62 hosts|
|HR Network –25 Hosts||Range: (192.168.16.193 – 192.168.16.222) – Subnet Mask 255.255.255.224 Can support up to 30 hosts|
I’ll let that sink in if you have a question feel free to post it, I or others would be happy to help you out :). Here is another question for you where else would you put IP addresses that the diagram doesn’t say? How many would you need if any? How many networks would you have total including the three networks we did? Like always I hope this information is helpful and if you have a question post it, if you have an idea on the next topic post it!! Have an awesome day! – Ryan
- Part 1 – The Joys of Subnetting! (ciscoskills.net)
- Configure Router on a Stick (ciscoskills.net)
- Configuring DHCP Server in Windows Server 2008 R2 (gunnalag.wordpress.com)
- Subnetting, purpose of it and how it works (gunnalag.wordpress.com)