Subnetting

Well, the methods I've used and taught are these:

1) Magic Number - - This is basically the Cisco method to subnetting. I've found this to be the easiest and fastest method for subnetting.

2) Power of Two - Requires math, bit borrowing, and conversion within the octet (or a bit more brainpower if you're Supernetting)

3) Binary Math - If you have a thing for pain, love taking four times as long to do something, or can actually do it this way, you can just add or subtract through the subnet mask to give your answer.

Professor Messer's builds two large tables so all he has to do is lookup the values. This is a variant of Magic Number. For me, I just build a table like this. Messer's table is more elaborate, so that it covers all CIDR from /1 to /32, but it's basically the same process. It might take seven seconds to do a lookup on those tables, but it will cost the candidate time writing out the table on the slate/paper.

CIDR/24/25/26/27/28/29/30/31
No. Networks1248163264128
No. Hosts254126623014621

Magic number is really the best way for calculating those questions like:

You have the address of 204.71.82.91/28.
What is the Network ID
What is the Broadcast ID
How Many hosts are in the subnet.

I'll let someone else chime in with the calculation. And tell me what method you used, particularly if I didn't mention it here.

/r
 

Jarrel

Well-known member
  • Feb 17, 2020
    350
    1
    522
    Australia
    www.jarrelrivera.com
    We use a subnetting workbook.
    A similar document can be download from this link: Click here

    We usually have our print department produce the said documents, so our students can manually write onto the printed copy. You may also consider printing a few copies for your students.

    I hope this helps!
     
    In it's time Peter Packet was important. Based on my recent experience interacting with youth seeking CCNA and Security+ I'd say it may be important again now. The reason being that too many students don't have a good (or any?) foundation in math (other than addition and subtraction). Subnetting is hard if all the student understands is base 10 math. They have to learn a lot. Binary math. Octal math. Dotted decimal notation. I'm guilty of standing in front of students and saying that practicing professionals use subnet calculators. I don't do that anymore because I've seen and heard from some practicing professionals about really basic errors that they would have (should have) caught if they hadn't relied on that subnet calculator.
     
    In it's time Peter Packet was important. Based on my recent experience interacting with youth seeking CCNA and Security+ I'd say it may be important again now. The reason being that too many students don't have a good (or any?) foundation in math (other than addition and subtraction). Subnetting is hard if all the student understands is base 10 math. They have to learn a lot. Binary math. Octal math. Dotted decimal notation. I'm guilty of standing in front of students and saying that practicing professionals use subnet calculators. I don't do that anymore because I've seen and heard from some practicing professionals about really basic errors that they would have (should have) caught if they hadn't relied on that subnet calculator.
    So now this opens up a new area of discussion - prerequisite skills needed to accomplish professional grade tasks. I would totally agree, Brian, that students at the secondary level do not have a decent grasp of technical mathematics - heck, most students struggle with basic finite math as a college freshman when they should be looking at more applicative math.

    <soapbox>
    From a general perspective, this is a general failure of the architecture of the education system - we're still teaching students using the Renaissance model, rather than teaching according to vocational/professional proficiency. We plague students with unnecessary coursework that is irrelevant to what they will professionally do and don't guide them into the relevant coursework that will form the functional basis of their vocation. Or does anyone really want to justify courses like Geology and Art and Music Appreciation to someone who is going into Networking, Cybersecurity, or Cloud Services Administration.

    We don't train students to *do*. We just throw them a bunch of classes in cookie cutter fashion. So students don't see that coursework like technical algebra is valuable, but Trigonometry is not, unless you're going to get into power systems design as a EE/EET.
    </soapbox>

    I have always had a difficult time with cartoon style training because it always feels forced and out of context to me. I'm sure the creators of Peter Packet may think or feel differently, but I've never found that kind of thing valuable. I learned subnetting by actually subnetting a real or virtual environment. I'm pretty sure my position here is unpopular, but...well, that's me.

    I do know there has been a growing push for edu-tainment and gamification of learning, because of this sense that we "have to make it fun for them to learn". But the way I see it, if we have to resort to gimmicky training styles, how engaged are the students, really?

    Learning is the exclusive domain of the student.

    /r
     

    Larry D

    Well-known member
    May 2, 2022
    10
    10
    We use a subnetting workbook.
    A similar document can be download from this link: Click here

    We usually have our print department produce the said documents, so our students can manually write onto the printed copy. You may also consider printing a few copies for your students.

    I hope this helps!
    Hey @Jarrel, I use the same workbook to help those students who really want to understand and own the knowledge behind IP addresses. I also have the 2.0 versions of both the Instructor and Student. If your interested in having those reach out to me here and I'll get them uploaded to you.
     
    • Like
    Reactions: Nate G

    Nate G

    Well-known member
  • Aug 12, 2020
    51
    47
    Hey @Jarrel, I use the same workbook to help those students who really want to understand and own the knowledge behind IP addresses. I also have the 2.0 versions of both the Instructor and Student. If your interested in having those reach out to me here and I'll get them uploaded to you.
    Please upload them, Thank you so much Sir.
     

    Larry D

    Well-known member
    May 2, 2022
    10
    10
    Well, the methods I've used and taught are these:

    1) Magic Number - - This is basically the Cisco method to subnetting. I've found this to be the easiest and fastest method for subnetting.

    2) Power of Two - Requires math, bit borrowing, and conversion within the octet (or a bit more brainpower if you're Supernetting)

    3) Binary Math - If you have a thing for pain, love taking four times as long to do something, or can actually do it this way, you can just add or subtract through the subnet mask to give your answer.

    Professor Messer's builds two large tables so all he has to do is lookup the values. This is a variant of Magic Number. For me, I just build a table like this. Messer's table is more elaborate, so that it covers all CIDR from /1 to /32, but it's basically the same process. It might take seven seconds to do a lookup on those tables, but it will cost the candidate time writing out the table on the slate/paper.

    CIDR/24/25/26/27/28/29/30/31
    No. Networks1248163264128
    No. Hosts254126623014621

    Magic number is really the best way for calculating those questions like:

    You have the address of 204.71.82.91/28.
    What is the Network ID
    What is the Broadcast ID
    How Many hosts are in the subnet.

    I'll let someone else chime in with the calculation. And tell me what method you used, particularly if I didn't mention it here.

    /r
    Hey Rick, here is one of the PowerPoints that we have that delves a bit deeper that that of Messer's table. A colleague of mine created it and I updated it to the current version when we're teaching Classless Inter-Domain Routing (CIDR).

    But another topic that I'd like to extend to this one is that it's all nice till you require more than 254 hosts, and how that impacts our IP address ranges. True this isn't what they would need to know for the certification exam, but what abot when they encounter this situation with a real world/job requirments. Let me guess, IP Calculator? Personally I tell my students that I "Trust but verify" everything so then need to know how to confirm those calculations. I'll provide in another replay a copy of a table that I use to help them with this. Be advised: It may not make sense without some explaination
     

    Attachments

    • IP Subnetting v2.pdf
      242.5 KB · Views: 4
    • Like
    Reactions: SteveM

    Larry D

    Well-known member
    May 2, 2022
    10
    10
    Here is a copy of the table that I use to help them understand when we go beyond the typical requirement for 126-254 available hosts on a Internal/Private Network. Again I'll reinerate that it may not intially make sense with some explanation. And if someone would need that, then please feel free to hit me up here and perhaps we can schedule a time to accomplish this one-on-one. Otherwise I'll leave it to you.
     

    Attachments

    • IPv4 Subnetting Chart-Multiples of 8.PNG
      IPv4 Subnetting Chart-Multiples of 8.PNG
      67.5 KB · Views: 8