create account

Course: IP Version 4 Addressing And Subnetting Deep Dive (Part 6) by joshman

View this thread on: hive.blogpeakd.comecency.com
· @joshman ·
$2.62
Course: IP Version 4 Addressing And Subnetting Deep Dive (Part 6)
Hello and welcome, I am currently working on a video course 'addressing' IP version 4, and I've decided to post my slides and scripts here on STEEM as I go along. I appreciate any feedback or suggestions, or if you are new to the world of computer networking, I hope you enjoy them!

Here is part 6 of a multi-part series. How many parts will there be? I have no idea because I am posting them as I go along.  This section can be a bit repetitive, but you could skip through it fairly fast once you pick up the pattern of what happens to the number of networks and hosts as you add a bit to the subnet mask.

If you missed any sections, click one of the links below for your favorite front end:
PART 1:
https://steempeak.com/palnet/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-1
https://steemit.com/palnet/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-1
https://busy.org/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-1
PART 2:
https://steempeak.com/palnet/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-2
https://steemit.com/palnet/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-2
https://busy.org/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-2
PART 3:
https://steempeak.com/palnet/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-3
https://steemit.com/palnet/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-3
https://busy.org/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-3
PART 4:
https://steempeak.com/palnet/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-4
https://steemit.com/palnet/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-4
https://busy.org/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-4
PART 5:
https://steempeak.com/stem/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-5
https://steemit.com/stem/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-5
https://busy.org/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-5

<hr>

![s6s1.jpg](https://files.steempeak.com/file/steempeak/joshman/xNtLGJiH-s6s1.jpg)

From here I’m going to go through each of the /24 and longer subnet lengths and show you how they break down into subnets.  It can be repetitive, but I think it’s essential to picking up the pattern and easily picturing subnets in your head.

First we have the ubiquitous /24 or Class C subnet.  This is most common subnet to deploy from my experience.   When you have plenty of addresses to work with, such as when you are using private addresses, you can worry less about being conservative with IP addresses.  When you have a decent sized enterprise, and all you have to work with is a /24, subnetting is essential.

As we’ve covered previously, we the network address, subnet mask, broadcast and host address, and usable hosts for a /24.  I’ve also broken the subnet mask down to binary, so you can see how it changes as we ad bits for subnetting.  There are 254 useable addresses in a /24 because 2^8-2 is 254.  At this point, we have an entire /24 pie, so let’s start slicing it up!

<hr>
<hr>

![s6s2.jpg](https://files.steempeak.com/file/steempeak/joshman/JDpR3oDb-s6s2.jpg)

For a /25 we claim the first bit of the host address to be used for subnetting.  This bit is indicated in green on the binary subnet mask.  We know that the first bit represents 128 in decimal, so it creates a network address of either 0 or 128.  This splits the /24 into two parts.  Each part has 126 useable addresses because 2^7-2 = 128.
<hr>

![s6s3.jpg](https://files.steempeak.com/file/steempeak/joshman/KPP6uFgj-s6s3.jpg)

For a /26, we add another subnet bit (indicated in green).  This splits the /24 into four parts.  Each has 62 addresses, because 2^6-2 = 62.  Do you see a pattern yet?

<hr>

![s6s4.jpg](https://files.steempeak.com/file/steempeak/joshman/8bOZoGIt-s6s4.jpg)

For a /27, we add yet another subnet bit (indicated in green).  This splits the /24 into eight parts.  Each has 30 addresses, because 2^5-2 = 30.  Now the slide is starting to get crowded.

<hr>

![s6s5.jpg](https://files.steempeak.com/file/steempeak/joshman/G2ZFxVhc-s6s5.jpg)

For a /28, we add yet another subnet bit (indicated in green).  This splits the /24 into sixteen parts.  Each has 14 addresses, because 2^4-2 = 14. I can’t fit them all here, you’re going to have to take my word for it.

<hr>


![s6s6.jpg](https://files.steempeak.com/file/steempeak/joshman/JIWP8cWm-s6s6.jpg)

For a /29, we add still another subnet bit (indicated in green).  This splits the /24 into thirty-two parts.  Each has 6 addresses, because 2^3-2 = 6. I can’t fit them all here, you’re really going to have to take my word for it.

<hr>


![s6s7.jpg](https://files.steempeak.com/file/steempeak/joshman/rvvFfY3U-s6s7.jpg)

For a /30, you know the deal.  This splits the /24 into sixty-four parts.  Each has 2 addresses, because 2^2-2 = 2. That’s a lot of slicing, but you are also wasting half of your IP addresses when they are transformed to network and broadcast addresses.  A /30 is typically used for point-to-point links, or the extremely rare occasion where you need to have a network with a single IP address.  Why do I say a single IP address when there are clearly 2 available?  This is because that single device will need a default gateway to reach any other network.  I normally recommend not to place a device such as a server onto a /30 network, because it leaves you no room for expansion.  You will learn about default gateways a bit later.

<hr>


![s6s8.jpg](https://files.steempeak.com/file/steempeak/joshman/13FueEjg-s6s8.jpg)

Then we arrive at the /31.  The /31 was standardized in 2000 in RFC 3021.  It creates a subnet type the previously did not exist.  The /31 slices a Class C network into 128 parts.  The kicker is, there is no network or broadcast address.  It is just two addresses.  This subnet type is meant specifically for point-to-point Wide Area Network (WAN) links used for routing protocols to exchange information.

<hr><hr>


![s6s9.jpg](https://files.steempeak.com/file/steempeak/joshman/WCRehA02-s6s9.jpg)

Finally we have a /32.  A /32 really isn’t a subnet.  It’s how we reference a single IP address, so a /24 or Class C can contain 256 of them.  You can also use the .0 or .255 as host address when using a /32.  A /32 is often used for adding an IP address to a loopback interface.  A loopback interface is simply a logical interface on a device used exclusively for management and monitoring.  In routing a /32 address and subnet mask is referred to as a host route, meaning you can create a network route pointing to a single IP address.  IP routing is beyond the scope of this course.

<hr>

Thanks for viewing. In the next part, we will go over subnetting networks larger than a /24, and how you can mix and match different length subnets within the same network block.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 351 others
👎  
properties (23)
authorjoshman
permlinkcourse-ip-version-4-addressing-and-subnetting-deep-dive-part-6
categorystem
json_metadata{"app":"steempeak/1.14.10","format":"markdown","tags":["stem","steemstem","palnet","technology","education","learning"],"users":["joshman"],"links":["/palnet/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-1","/palnet/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-1","/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-1","/palnet/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-2","/palnet/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-2","/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-2","/palnet/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-3","/palnet/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-3","/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-3","/palnet/@joshman/course-ip-version-4-addressing-and-subnetting-deep-dive-part-4"],"image":["https://files.steempeak.com/file/steempeak/joshman/xNtLGJiH-s6s1.jpg","https://files.steempeak.com/file/steempeak/joshman/JDpR3oDb-s6s2.jpg","https://files.steempeak.com/file/steempeak/joshman/KPP6uFgj-s6s3.jpg","https://files.steempeak.com/file/steempeak/joshman/8bOZoGIt-s6s4.jpg","https://files.steempeak.com/file/steempeak/joshman/G2ZFxVhc-s6s5.jpg","https://files.steempeak.com/file/steempeak/joshman/JIWP8cWm-s6s6.jpg","https://files.steempeak.com/file/steempeak/joshman/rvvFfY3U-s6s7.jpg","https://files.steempeak.com/file/steempeak/joshman/13FueEjg-s6s8.jpg","https://files.steempeak.com/file/steempeak/joshman/WCRehA02-s6s9.jpg"]}
created2019-07-30 04:54:45
last_update2019-07-30 04:54:45
depth0
children14
last_payout2019-08-06 04:54:45
cashout_time1969-12-31 23:59:59
total_payout_value1.958 HBD
curator_payout_value0.657 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7,047
author_reputation277,932,931,100,174
root_title"Course: IP Version 4 Addressing And Subnetting Deep Dive (Part 6)"
beneficiaries
0.
accountsteempeak
weight500
1.
accountsteemstem
weight700
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id88,917,510
net_rshares8,707,162,433,129
author_curate_reward""
vote details (416)
@john37.speaker1 ·
Shall we sign an armistice? I'm about to break even with you. I suggest that we don't take further action before next time who start a fight. Includes john37.speaker1, john371911, joshman, and your merrie men of anti-abuse collective.
properties (22)
authorjohn37.speaker1
permlinkre-joshman-pvhrz1
categorystem
json_metadata{"tags":["stem"],"app":"steempeak/1.14.12"}
created2019-07-31 05:45:03
last_update2019-07-31 05:45:03
depth1
children6
last_payout2019-08-07 05:45:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length234
author_reputation1,205,305,727
root_title"Course: IP Version 4 Addressing And Subnetting Deep Dive (Part 6)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id88,961,516
net_rshares0
@joshman ·
This is not a war, you abused bid bots and got flagged for it.  You are too much of a child to deal with the result, so you then started to abuse flags to "get even".  I am not here to fight or get even with anyone.  If you abuse bid bots, I am going to flag you.  If you choose to continue to abuse the system as it was designed, you are going to find yourself on blacklists for abuse, and you will find it increasingly more difficult to be successful here.  I will continue to collect evidence of this abuse, so the justification will not be difficult.

The community sets the rules, not you.  If you do not participate in abuse, you'll never hear from me or my "merrie men".



properties (22)
authorjoshman
permlinkre-john37speaker1-pvht40
categorystem
json_metadata{"tags":["stem"],"app":"steempeak/1.14.12"}
created2019-07-31 06:09:39
last_update2019-07-31 06:09:39
depth2
children2
last_payout2019-08-07 06:09:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length681
author_reputation277,932,931,100,174
root_title"Course: IP Version 4 Addressing And Subnetting Deep Dive (Part 6)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id88,962,022
net_rshares0
@john37.speaker1 ·
To me it's you that violate "no penalty without a law" and childishly flagging others, try to play justice instead of making clear rules, making steem environment worse. So I just fought for my right.
There are only two common rules on the steem far as I know, no plagiarism and the necessity to use NSFW tag in some posts. Others are just private rules.
properties (22)
authorjohn37.speaker1
permlinkre-joshman-pvhuqj
categorystem
json_metadata{"tags":["stem"],"app":"steempeak/1.14.12"}
created2019-07-31 06:44:45
last_update2019-07-31 06:44:45
depth3
children1
last_payout2019-08-07 06:44:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length354
author_reputation1,205,305,727
root_title"Course: IP Version 4 Addressing And Subnetting Deep Dive (Part 6)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id88,962,942
net_rshares0
@joshman ·
If the question is, will I flag you for the recent abuse of flags?  As stated, I have left it up to community how to proceed, and will not take unilateral action, though I am a member of the flag trail that was previously mentioned, so can make no promises.
properties (22)
authorjoshman
permlinkre-john37speaker1-pvhtgm
categorystem
json_metadata{"tags":["stem"],"app":"steempeak/1.14.12"}
created2019-07-31 06:17:12
last_update2019-07-31 06:17:12
depth2
children2
last_payout2019-08-07 06:17:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length257
author_reputation277,932,931,100,174
root_title"Course: IP Version 4 Addressing And Subnetting Deep Dive (Part 6)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id88,962,245
net_rshares0
@john37.speaker1 · (edited)
Besides flag trail, is there any other communitie?
properties (22)
authorjohn37.speaker1
permlinkre-joshman-pvhus6
categorystem
json_metadata{"tags":["stem"],"app":"steempeak/1.14.12"}
created2019-07-31 06:45:45
last_update2019-07-31 06:56:00
depth3
children1
last_payout2019-08-07 06:45:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length50
author_reputation1,205,305,727
root_title"Course: IP Version 4 Addressing And Subnetting Deep Dive (Part 6)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id88,962,983
net_rshares0
@joshman ·
$0.08
Erratum:
The first slide should list 256 addresses in the pie chart.  Although it's technically correct there is 254 useable addresses within a Class C.  I want to make it clear that we are subnetting the entire class C and not just the usable addresses.
👍  ,
properties (23)
authorjoshman
permlinkre-joshman-pvhrd2
categorystem
json_metadata{"tags":["stem"],"app":"steempeak/1.14.12"}
created2019-07-31 05:31:57
last_update2019-07-31 05:31:57
depth1
children0
last_payout2019-08-07 05:32:00
cashout_time1969-12-31 23:59:59
total_payout_value0.077 HBD
curator_payout_value0.001 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length254
author_reputation277,932,931,100,174
root_title"Course: IP Version 4 Addressing And Subnetting Deep Dive (Part 6)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id88,961,234
net_rshares304,324,429,027
author_curate_reward""
vote details (2)
@mathowl ·
$0.08
nfgaa6h0g
Thanks for setting steemstem as benificiary :o)
👍  , , , ,
👎  , , , , ,
properties (23)
authormathowl
permlinknfgaa6h0g
categorystem
json_metadata{"tags":"steemstem","app":"steemstem"}
created2019-08-06 13:52:30
last_update2019-08-06 13:52:30
depth1
children1
last_payout2019-08-13 13:52:30
cashout_time1969-12-31 23:59:59
total_payout_value0.059 HBD
curator_payout_value0.019 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length47
author_reputation44,993,635,814,620
root_title"Course: IP Version 4 Addressing And Subnetting Deep Dive (Part 6)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id89,210,946
net_rshares233,412,316,514
author_curate_reward""
vote details (11)
@firealien ·
Flag for this!
https://steemit.com/steemit/@fubar-bdhr/updated-list-of-accounts-harassing-me-and-attempting-to-drive-me-off-of-steemit-steem#@haikubot/20190810t040000915z
👍  , ,
👎  ,
properties (23)
authorfirealien
permlinkpw0d63
categorystem
json_metadata{"tags":["stem"],"links":["https://steemit.com/steemit/@fubar-bdhr/updated-list-of-accounts-harassing-me-and-attempting-to-drive-me-off-of-steemit-steem#@haikubot/20190810t040000915z"],"app":"steemit/0.1"}
created2019-08-10 06:39:42
last_update2019-08-10 06:39:42
depth2
children0
last_payout2019-08-17 06:39:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length170
author_reputation-907,455,860,771
root_title"Course: IP Version 4 Addressing And Subnetting Deep Dive (Part 6)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id89,359,773
net_rshares12,559,812,315
author_curate_reward""
vote details (5)
@steemstem ·
$0.20
re-joshman-course-ip-version-4-addressing-and-subnetting-deep-dive-part-6-20190730t222536014z
<div class='text-justify'> <div class='pull-left'> <center> <br /> <img width='200' src='https://res.cloudinary.com/drrz8xekm/image/upload/v1553698283/weenlqbrqvvczjy6dayw.jpg'> </center>  <br/> </div> 

This post has been voted on by the **SteemSTEM** curation team and voting trail. It is elligible for support from <b><a href='https://www.steemstem.io/#!/@curie'>@curie</a></b>.<br /> 

If you appreciate the work we are doing, then consider supporting our witness [**stem.witness**](https://steemconnect.com/sign/account_witness_vote?approve=1&witness=stem.witness). Additional witness support to the [**curie witness**](https://steemconnect.com/sign/account_witness_vote?approve=1&witness=curie) would be appreciated as well.<br /> 

For additional information please join us on the [**SteemSTEM discord**]( https://discord.gg/BPARaqn) and to get to know the rest of the community!<br />

Thanks for having added <b><a href='https://www.steemstem.io/#!/@steemstem'>@steemstem</a></b> as a beneficiary to your post. This granted you a stronger support from SteemSTEM.<br />

Please consider using the <b><a href='https://www.steemstem.io'>steemstem.io</a></b> app to get a stronger support.</div>
👍  ,
properties (23)
authorsteemstem
permlinkre-joshman-course-ip-version-4-addressing-and-subnetting-deep-dive-part-6-20190730t222536014z
categorystem
json_metadata{"app":"bloguable-bot"}
created2019-07-30 22:25:39
last_update2019-07-30 22:25:39
depth1
children1
last_payout2019-08-06 22:25:39
cashout_time1969-12-31 23:59:59
total_payout_value0.153 HBD
curator_payout_value0.051 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,200
author_reputation262,017,435,115,313
root_title"Course: IP Version 4 Addressing And Subnetting Deep Dive (Part 6)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id88,951,274
net_rshares604,002,396,703
author_curate_reward""
vote details (2)
@joshman ·
Thanks again!
properties (22)
authorjoshman
permlinkre-steemstem-pvhr8j
categorystem
json_metadata{"tags":["stem"],"app":"steempeak/1.14.12"}
created2019-07-31 05:29:09
last_update2019-07-31 05:29:09
depth2
children0
last_payout2019-08-07 05:29:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length13
author_reputation277,932,931,100,174
root_title"Course: IP Version 4 Addressing And Subnetting Deep Dive (Part 6)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id88,961,167
net_rshares0
@tommyknockers ·
message
### Thank you joshman! You've just received an upvote of 64% by tommyknockers!

<a href="https://steemit.com/introducemyself/@tommyknockers/a-tommyknockers-introduction">
<img src="https://www.rovingfestival.com/images/tommyknocker.png"></a>

### [Learn how I will upvote each and every one of *your* posts](https://steemit.com/introducemyself/@tommyknockers/a-tommyknockers-introduction)
<br> 
Please come visit me to see my daily report detailing my current upvote power and how much I'm currently upvoting.
<br>

properties (22)
authortommyknockers
permlinkre-course-ip-version-4-addressing-and-subnetting-deep-dive-part-6-20190730t053052
categorystem
json_metadata""
created2019-07-30 05:30:54
last_update2019-07-30 05:30:54
depth1
children1
last_payout2019-08-06 05:30:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length516
author_reputation4,817,316,807,599
root_title"Course: IP Version 4 Addressing And Subnetting Deep Dive (Part 6)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id88,918,426
net_rshares0
@joshman ·
Thanks

Posted using [Partiko Android](https://partiko.app/referral/joshman)
properties (22)
authorjoshman
permlinkjoshman-re-tommyknockers-re-course-ip-version-4-addressing-and-subnetting-deep-dive-part-6-20190730t053052-20190730t100110397z
categorystem
json_metadata{"app":"partiko","client":"android"}
created2019-07-30 10:01:09
last_update2019-07-30 10:01:09
depth2
children0
last_payout2019-08-06 10:01:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length76
author_reputation277,932,931,100,174
root_title"Course: IP Version 4 Addressing And Subnetting Deep Dive (Part 6)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id88,926,826
net_rshares0