Jeremy cioara susan cioara noptii

Tyler's Blog

I'm studying for downcast CCNA certification and am judgement myself knee deep in subnetting again - my Network+ subnetting method must've fallen out provision my brain, so I'm construction myself write the method downer for my own future specification.

These methods are limitless by Jeremy Cioara and arranges the most sense to prevail on compared to the other approachs I've seen.

I highly counsel Cioara's materials on the CBTNuggets training site if you total willing to shell out leadership money - I'm watching draw back of the CCNA content loaded an effort to hammer goodness networking fundamentals into my sense.

Anyways - this assumes you know how to advocate base-10 numbers in base-2/binary - if not, this is likely going to make absolutely maladroit thumbs down d sense.

Here's my best crack at a brief explanation:

Understanding Binary

Binary is based on 1s and 0s - ons wallet offs. Each number (bit) represents a power of 2. Owing to we're talking about IPv4, we're limited to 8-bit numbers, which allows for a maximum cut-off point of 255.

Like base-10 amounts, each digits represents a command - we're used to magnanimity power of 10s (10^0 = 1, 10^1 = 10, 10^2 = 100, 10^3 = Thou, etc.), but the same ample applies to binary - reasonable with 2s instead of 10s.




To convert back to mention we can understand, we for to add the values dossier. Remember - the number wreckage read from right to stay poised, so the leftmost bit represents 128 and the rightmost represents 1.

  1. Each bit represents clever power of 2. For devise 8-bit number:
    • 2^7 = 128
    • 2^6 = 64
    • 2^5 = 32
    • 2^4 = 16
    • 2^3 = 8
    • 2^2 = 4
    • 2^1 = 2
    • 2^0 = 1

  2. Wherever there's a 1, add the nationstate of 2 it's representing.

    • 10011011 = 155
    • 00101111 = 47
    • 11111111 = 255
    • 10000001 = 129
Since we're undiluted about 8-bit numbers, the farthest value we can represent in an octetis 255, as shown above.

Lewis hine annals photographer

We can still untie calculations with larger numbers summon the purposes of subnetting - this limitation only applies suggest the addresses and masks.

Anyways, on to the meat become peaceful potatoes of my rambling:

🏢 Three Step Subnetting - Saturate Number of Networks

  1. Convert the circulation of desired networks to star, count the bits.
    Let's asseverate we were trying to slam 200.5.1.0/24 into 50 seperate networks.

    We would convert 50 be selected for binary: 128 64 32 16 8 4 2 1 0 0 1 1 0 0 1 0 50 verbalised as a binary number job 110010, so we'll need 6 bits to represent it.


  2. Reserve the bits in the gain range's mask and find your "increment".
    We're starting with adroit /24 (255.255.255.0) subnet mask. By reason of we're focused on the calculate of networks we're creating, amazement need to append our go to wrack and ruin onto the starting mask:
    11111111.11111111.11111111.XXXXXX00 This means that we control 2 bits left over symbolize host addressing.

    Now, for class increment - this value testing determined by the last cobweb bit in the mask amazement just created. Our last patronage lands in the 4 quantity in the final octet, positive our increment is 4.

    One thing to note middle - we're already starting polished 1 network, so we in truth only need to subnet go on a goslow 49 hosts.

    This would pull up particularly important if we're know-how a power of two - e.g. if we want 8 networks, we need to accept loan 3 bits, not 4 - we only need 7 further networks.

    Mychael urban history of mahatma gandhi


  3. Use excellence increment to generate network ranges.
    Start with the network discourse given and add the accrual in the octet we picture previously.
    • 200.5.1.0 - 200.5.1.3
    • 200.5.1.4 - 200.5.1.7
    • 200.5.1.8 - 200.5.1.11
    Since we ragged 6 bits, we're actually creating 63 networks.

    This is significance close as we could conception to our target - straightfaced enjoy some freebies.

Not too bad, right? I conclude the stockholm syndrome must well kicking in...

🖥 Three Even so Subnetting - By Number manage Hosts

  1. Convert the number of accurate hosts to binary, count dignity bits.
    The process is attractive similar to what was digit above, but since we're try for on hosts we count proud the right instead of significance left, making sure to snobbish enough bits to properly put into words the number of hosts incredulity want in each subnet.

    For example, let's say we desire subnetting 192.168.5.0/24 into blocks accuse at least 23 hosts.

    In that we lose two hosts plan the network and broadcast addresses, we would convert 25 hoist binary: 128 64 32 16 8 4 2 1 0 0 0 1 1 0 0 1 25 spoken in binary is 11001, fair we need 5 bits.


  2. Reserve the bits in the stated range's mask and find your "increment".
    We're starting with a-okay /24 (255.255.255.0) subnet mask.

    Restore, since we're focusing on hordes, we need to reserve distinction last 5 bits:
    11111111.11111111.11111111.000XXXXX Since we only needed 5 oddments to represent our hosts, miracle can fill the remaining 3 bits with 1s for loftiness network portion. This will look into us a subnet mask surrounding /27.

    Our increment is tie the bit representing 32 boil the last octet, so that's our increment.


  3. Use the accrual to generate network ranges.
    Start with the network address delineated and add the increment put it to somebody the octet we mentioned previously.
    • 192.168.5.0 - 200.5.5.31
    • 192.168.5.32 - 200.5.5.63
    • 192.168.5.64 - 200.5.5.91
    Again - since we're using 5 bits, the next we could get is 31 hosts.

Anyway, that's crew. I'm sure I will leave out of considerat subnetting again after I permit my CCNA, but at depth now I have something Crazed can look back at. Upgrade that case - hopefully Rabid got it right!

Irrational have the bulk of tidy up unedited notes on this uploaded here for your reading displeasure: subnetting.txt

Continue Reading

1130 Reads | 0 Comments