Solved

Mnemonic for Subnetting

Posted on 2014-02-08
7
434 Views
Last Modified: 2014-02-16
Hi

I’m teaching our trainees how to find out Subnets by mental arithmetic as they need it for School.
This is the way I learned how to.

First we where told to learn and write this chart before the Exams:

chart1
This chart is been calculated so :

chart2
I just learned for MS Exams Subnet Mask /20 - /32. But the trainees must learn /8 - /32. I think this chart can be easily continued till /8. I also told them to lean the power of 2 (till 12). Is this the easiest way? Alternatively, do you have any other better mnemonic’s?

Many thanks in advance
0
Comment
Question by:hopeleonie
7 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 39844514
2^(32-n)
0
 
LVL 18

Author Comment

by:hopeleonie
ID: 39844530
Hi ozo

Can you please explain 2^(32-n)  in an example?
I was never good in maths :-)

Many thanks
0
 
LVL 44

Accepted Solution

by:
Darr247 earned 167 total points
ID: 39844583
If you work the first chart backwards, you might notice the mask subtracted from 256 tells you how many addresses are in a subnet (then you would subtract 1 for the network ID and 1 for the broadcast IP).
So, for a /29 the mask is
255.255.255.248
256-248=8 -1 (for network ID), -1 (for broadcast) = 6 usable IPs.

Not a mnemonic, but you may also find this to be a useful visualization:
00000000.00000000.00000000.00000000 = /0  = 0.0.0.0
10000000.00000000.00000000.00000000 = /1  = 128.0.0.0
11000000.00000000.00000000.00000000 = /2  = 192.0.0.0
11100000.00000000.00000000.00000000 = /3  = 224.0.0.0
11110000.00000000.00000000.00000000 = /4  = 240.0.0.0
11111000.00000000.00000000.00000000 = /5  = 248.0.0.0
11111100.00000000.00000000.00000000 = /6  = 252.0.0.0
11111110.00000000.00000000.00000000 = /7  = 254.0.0.0
11111111.00000000.00000000.00000000 = /8  = 255.0.0.0

11111111.10000000.00000000.00000000 = /9  = 255.128.0.0
11111111.11000000.00000000.00000000 = /10 = 255.192.0.0
11111111.11100000.00000000.00000000 = /11 = 255.224.0.0
11111111.11110000.00000000.00000000 = /12 = 255.240.0.0
11111111.11111000.00000000.00000000 = /13 = 255.248.0.0
11111111.11111100.00000000.00000000 = /14 = 255.252.0.0
11111111.11111110.00000000.00000000 = /15 = 255.254.0.0
11111111.11111111.00000000.00000000 = /16 = 255.255.0.0

11111111.11111111.10000000.00000000 = /17 = 255.255.128.0
11111111.11111111.11000000.00000000 = /18 = 255.255.192.0
11111111.11111111.11100000.00000000 = /19 = 255.255.224.0
11111111.11111111.11110000.00000000 = /20 = 255.255.240.0
11111111.11111111.11111000.00000000 = /21 = 255.255.248.0
11111111.11111111.11111100.00000000 = /22 = 255.255.252.0
11111111.11111111.11111110.00000000 = /23 = 255.255.254.0
11111111.11111111.11111111.00000000 = /24 = 255.255.255.0

11111111.11111111.11111111.10000000 = /25 = 255.255.255.128
11111111.11111111.11111111.11000000 = /26 = 255.255.255.192
11111111.11111111.11111111.11100000 = /27 = 255.255.255.224
11111111.11111111.11111111.11110000 = /28 = 255.255.255.240
11111111.11111111.11111111.11111000 = /29 = 255.255.255.248
11111111.11111111.11111111.11111100 = /30 = 255.255.255.252
11111111.11111111.11111111.11111110 = /31 = 255.255.255.254
11111111.11111111.11111111.11111111 = /32 = 255.255.255.255

Open in new window


With IPv6 becoming more prevalent, I see less and less usefulness for subnet masks in the future. It's like teaching kids how to do long square roots manually instead of using the SqRt key on their calculators. Not quite as useful as learning long division. You can't memorize EVERYthing, so just remember where to look up some things.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 84

Assisted Solution

by:ozo
ozo earned 167 total points
ID: 39844705
2^0 = 1
2^1 = 2
2^2 = 2*2 = 4
2^3 = 2*2*2 = 8
2^4 = 2*2*2*2 = 16
2^5 = 2*2*2*2*2 = 32
...
0
 
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 166 total points
ID: 39846163
With IPv6 becoming more prevalent, I see less and less usefulness for subnet masks in the future.
Next time you take a Microsoft, Cisco, HP, Juniper exam, tell them you're not going to answer any IPv4 questions.  Let us know how that works out for you.  :-)
0
 
LVL 18

Author Comment

by:hopeleonie
ID: 39846487
Next time you take a Microsoft, Cisco, HP, Juniper exam, tell them you're not going to answer any IPv4 questions.  Let us know how that works out for you.  :-)

LOL :-)
0
 
LVL 18

Author Closing Comment

by:hopeleonie
ID: 39863931
Thanks to all again!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

SSL is a very common protocol used these days when browsing the web.  The purpose is to provide security to communication, but how does it do it?  There are several pieces at work that have to be setup before SSL will even work and it requires both …
This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now