SlideShare a Scribd company logo
1 of 3
Download to read offline
E m a d A l - A t o u m P a g e 1 | 3
EASY SUBNETTING
Here’s A Way Of Learning Subnetting That I’ve Learned:
You should know this:
Class A Address: - 8 Network Bits 24 Host Bits ; range is 0-127 in the first octet
Class B Address: - 16 Network Bits 16 Host Bits ; range is 128-191 in the first octet
Class C Address: - 24 Network Bits 8 Host Bits ; range is 192-223 in the first octet
Now, remember this GOLDEN RULE:
1 - 128
2 - 64
3 - 32
4 - 16
5 - 8
6 - 4
7 - 2
8 - 1
Explanation:
First part is The Number of Host Bits
The Second Part Is The “Increment”.
As long as you remember this rule, you should be able to answer most subnetting questions in flash.
Let’s take the third line, 3 – 32
Example: 192.168.23.46/27, what subnet should this be in?
All you need to do:
27-24 = 3 (since this is a class C address, you subtract 24 network bits from 27 and that gives you 3 host bits)
3 should correspond to 32 (according to the GOLDEN RULE I gave you above)
That means increment is 32
so the subnet range should be:
192.168.23.0
192.168.23.32
192.168.23.64 and so on…
the address given to us is 192.168.23.46, so that’ll fall in 192.168.23.32 subnet - as 46 lies between 32 and 64.
E m a d A l - A t o u m P a g e 2 | 3
Here’s Another Example: 192.168.1.50/28
Again, class C address. So this is what you do: 28-24=4
Golden rule: 4 corresponds to 16, so 16 should be the 'increment’.
So here we go:
192.168.1.0
192.168.1.16
192.168.1.32
192.168.1.48
192.168.1.64
And so on…
The address has the last octet value of 50, which lies in the range 48 – 64
So the address is in the 192.168.1.48 subnet.
Try This A Class B Example: What subnet does host 172.28.12.167/20 belong to?
It’s a class B address so this is what we do: 20 - 16 = 4
4 should correspond to 32 going by the golden rule, so increment value is 32 here.
Since it’s a class B address
Here’s how we can break the bits into Network and Host bits:
Typical Class B address: 8 Net bits - 8 Net bits (16) - 8 Host bits - 8 Host bits (16)
This example: 8 Net bits - 8 Net bits - 4 Host bits - 0 Host bits (we only have 4 Host bits, remember? 20-16 = 4)
So the increment would be in 3rd octet.
Here we go:
172.28.0.0
172.28.16.0
172.28.32.0
And so on..
Third octet in this example is 12
So it should lie in the first address (between 0 and 16): 172.28.0.0
You can easily remember it and after some practice, these values do get embedded in your brain. Saves you a lot of
time.
If the Subnet mask has been provided in dotted format, just subtract the first non-zero octet value from right by 256
And that’ll give you the 'increment’ value.
E m a d A l - A t o u m P a g e 3 | 3
Example: 192.168.23.46 255.255.255.240
All you do is:
256-240 = 16.
16 is your increment value!
Example: 172.15.23.187 255.255.248.0
All you do is: 256-248=8. 8 is your increment value and
Here’s what the subnets should look like:
172.15.0.0
172.15.8.0
172.15.16.0
And so on..

More Related Content

What's hot

What is bcd number system
What is bcd number systemWhat is bcd number system
What is bcd number systemMuhammad Shahid
 
CCS103 Bits, Bytes, Binary
CCS103 Bits, Bytes, BinaryCCS103 Bits, Bytes, Binary
CCS103 Bits, Bytes, BinaryRichard Homa
 
02 number systems
02 number systems02 number systems
02 number systemsjohn01383
 
Weighted and Non Weighted Codes
Weighted and Non Weighted CodesWeighted and Non Weighted Codes
Weighted and Non Weighted CodesSubhamSatpathy2
 
The BCD to excess-3 converter
The BCD to excess-3 converterThe BCD to excess-3 converter
The BCD to excess-3 converterMahady Hasan
 
Binary Codes and Number System
Binary Codes and Number SystemBinary Codes and Number System
Binary Codes and Number SystemDebarati Das
 
How To Subnet A Class A, B
How To Subnet A Class A, BHow To Subnet A Class A, B
How To Subnet A Class A, BTyrone Turner
 
B sc cs i bo-de u-i number system
B sc cs i bo-de u-i number systemB sc cs i bo-de u-i number system
B sc cs i bo-de u-i number systemRai University
 
digital logic circuits, digital component
digital logic circuits, digital componentdigital logic circuits, digital component
digital logic circuits, digital componentRai University
 
Computer architecture data representation
Computer architecture  data representationComputer architecture  data representation
Computer architecture data representationAnil Pokhrel
 
Swifter Taipei 聊聊 Swift 遊樂場、變數常數、數字與運算
Swifter Taipei 聊聊 Swift 遊樂場、變數常數、數字與運算Swifter Taipei 聊聊 Swift 遊樂場、變數常數、數字與運算
Swifter Taipei 聊聊 Swift 遊樂場、變數常數、數字與運算Xue Xin Tsai
 

What's hot (18)

What is bcd number system
What is bcd number systemWhat is bcd number system
What is bcd number system
 
CCS103 Bits, Bytes, Binary
CCS103 Bits, Bytes, BinaryCCS103 Bits, Bytes, Binary
CCS103 Bits, Bytes, Binary
 
Number theory
Number theoryNumber theory
Number theory
 
02 number systems
02 number systems02 number systems
02 number systems
 
Weighted and Non Weighted Codes
Weighted and Non Weighted CodesWeighted and Non Weighted Codes
Weighted and Non Weighted Codes
 
The BCD to excess-3 converter
The BCD to excess-3 converterThe BCD to excess-3 converter
The BCD to excess-3 converter
 
Binary Codes and Number System
Binary Codes and Number SystemBinary Codes and Number System
Binary Codes and Number System
 
How To Subnet A Class A, B
How To Subnet A Class A, BHow To Subnet A Class A, B
How To Subnet A Class A, B
 
Subnetting
SubnettingSubnetting
Subnetting
 
Number system
Number systemNumber system
Number system
 
6 subnetting
6 subnetting6 subnetting
6 subnetting
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
3XRC4
3XRC43XRC4
3XRC4
 
B sc cs i bo-de u-i number system
B sc cs i bo-de u-i number systemB sc cs i bo-de u-i number system
B sc cs i bo-de u-i number system
 
digital logic circuits, digital component
digital logic circuits, digital componentdigital logic circuits, digital component
digital logic circuits, digital component
 
Computer architecture data representation
Computer architecture  data representationComputer architecture  data representation
Computer architecture data representation
 
Real numbers
Real numbersReal numbers
Real numbers
 
Swifter Taipei 聊聊 Swift 遊樂場、變數常數、數字與運算
Swifter Taipei 聊聊 Swift 遊樂場、變數常數、數字與運算Swifter Taipei 聊聊 Swift 遊樂場、變數常數、數字與運算
Swifter Taipei 聊聊 Swift 遊樂場、變數常數、數字與運算
 

Viewers also liked

NAT- Network Address Translation
NAT- Network Address TranslationNAT- Network Address Translation
NAT- Network Address TranslationEng. Emad Al-Atoum
 
Cisco BGP Exam 642-661 Review Notes
Cisco BGP Exam 642-661 Review NotesCisco BGP Exam 642-661 Review Notes
Cisco BGP Exam 642-661 Review NotesDuane Bodle
 
Implementing Cisco IP Switched Networks
Implementing Cisco IP Switched NetworksImplementing Cisco IP Switched Networks
Implementing Cisco IP Switched NetworksArchana Parameshwari
 
CISCO Exact Questions By: Konard
CISCO Exact Questions By: KonardCISCO Exact Questions By: Konard
CISCO Exact Questions By: KonardEng. Emad Al-Atoum
 
Diet soda and weight loss: New study reignites debate
Diet soda and weight loss: New study reignites debateDiet soda and weight loss: New study reignites debate
Diet soda and weight loss: New study reignites debatebumpytechnique370
 
Regular Expression Patterns
Regular Expression PatternsRegular Expression Patterns
Regular Expression PatternsDuane Bodle
 
IPv4 Final /8 Delegation Report
IPv4 Final /8 Delegation ReportIPv4 Final /8 Delegation Report
IPv4 Final /8 Delegation ReportAPNIC
 
ISAM ALU 7360 5520_ihub_turn_up_procedure
ISAM ALU  7360 5520_ihub_turn_up_procedureISAM ALU  7360 5520_ihub_turn_up_procedure
ISAM ALU 7360 5520_ihub_turn_up_procedureWahyu Nasution
 
Encryption with DANE, NZNOG 2017
Encryption with DANE, NZNOG 2017Encryption with DANE, NZNOG 2017
Encryption with DANE, NZNOG 2017APNIC
 
BGP Techniques for Network Operators
BGP Techniques for Network OperatorsBGP Techniques for Network Operators
BGP Techniques for Network OperatorsAPNIC
 
APNIC Update - NZNOG 2017
APNIC Update - NZNOG 2017APNIC Update - NZNOG 2017
APNIC Update - NZNOG 2017APNIC
 

Viewers also liked (20)

CCNA Dec, 2015 Questions
CCNA Dec, 2015 QuestionsCCNA Dec, 2015 Questions
CCNA Dec, 2015 Questions
 
NAT- Network Address Translation
NAT- Network Address TranslationNAT- Network Address Translation
NAT- Network Address Translation
 
SIP PRIMER
SIP PRIMERSIP PRIMER
SIP PRIMER
 
Cisco BGP Exam 642-661 Review Notes
Cisco BGP Exam 642-661 Review NotesCisco BGP Exam 642-661 Review Notes
Cisco BGP Exam 642-661 Review Notes
 
Implementing Cisco IP Switched Networks
Implementing Cisco IP Switched NetworksImplementing Cisco IP Switched Networks
Implementing Cisco IP Switched Networks
 
CISCO Exact Questions By: Konard
CISCO Exact Questions By: KonardCISCO Exact Questions By: Konard
CISCO Exact Questions By: Konard
 
Diet soda and weight loss: New study reignites debate
Diet soda and weight loss: New study reignites debateDiet soda and weight loss: New study reignites debate
Diet soda and weight loss: New study reignites debate
 
NAT_Final
NAT_FinalNAT_Final
NAT_Final
 
Regular Expression Patterns
Regular Expression PatternsRegular Expression Patterns
Regular Expression Patterns
 
Vlan
VlanVlan
Vlan
 
IPv4 Final /8 Delegation Report
IPv4 Final /8 Delegation ReportIPv4 Final /8 Delegation Report
IPv4 Final /8 Delegation Report
 
ISAM ALU 7360 5520_ihub_turn_up_procedure
ISAM ALU  7360 5520_ihub_turn_up_procedureISAM ALU  7360 5520_ihub_turn_up_procedure
ISAM ALU 7360 5520_ihub_turn_up_procedure
 
Ams operations
Ams operationsAms operations
Ams operations
 
Encryption with DANE, NZNOG 2017
Encryption with DANE, NZNOG 2017Encryption with DANE, NZNOG 2017
Encryption with DANE, NZNOG 2017
 
BGP Techniques for Network Operators
BGP Techniques for Network OperatorsBGP Techniques for Network Operators
BGP Techniques for Network Operators
 
CCNA Quick Notes
CCNA Quick NotesCCNA Quick Notes
CCNA Quick Notes
 
APNIC Update - NZNOG 2017
APNIC Update - NZNOG 2017APNIC Update - NZNOG 2017
APNIC Update - NZNOG 2017
 
ASA CSC Module
ASA CSC Module ASA CSC Module
ASA CSC Module
 
CCNA 200-120 Exam Quick Notes
CCNA 200-120 Exam Quick NotesCCNA 200-120 Exam Quick Notes
CCNA 200-120 Exam Quick Notes
 
Ccna 200-120 Exam Dumps
Ccna 200-120 Exam DumpsCcna 200-120 Exam Dumps
Ccna 200-120 Exam Dumps
 

Similar to Learn subnetting with this easy golden rule method

Networking notes 2
Networking notes 2Networking notes 2
Networking notes 2Beth Bauzon
 
Subnet Masking in Computer Network--CST 2nd year by Tanushree Bhadra
Subnet Masking in Computer Network--CST 2nd year by Tanushree BhadraSubnet Masking in Computer Network--CST 2nd year by Tanushree Bhadra
Subnet Masking in Computer Network--CST 2nd year by Tanushree BhadraSovonesh Pal
 
ip addressing_&_subnetting_made_easy
 ip addressing_&_subnetting_made_easy ip addressing_&_subnetting_made_easy
ip addressing_&_subnetting_made_easyManjit Singh
 
Pjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasyPjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasyKashif Sohail
 
Routing and switching
Routing and switchingRouting and switching
Routing and switchingneclinux
 
IPv4 Address uploading.ppt
IPv4 Address uploading.pptIPv4 Address uploading.ppt
IPv4 Address uploading.pptSanthiS10
 
network Addressing
network Addressingnetwork Addressing
network AddressingTauseef khan
 
1606660774-ip-addresses-classful-3.ppt
1606660774-ip-addresses-classful-3.ppt1606660774-ip-addresses-classful-3.ppt
1606660774-ip-addresses-classful-3.pptPUSHPAKJAIN8
 
Lecture W4 CN IP Addressing P1.pptx
Lecture W4 CN IP Addressing P1.pptxLecture W4 CN IP Addressing P1.pptx
Lecture W4 CN IP Addressing P1.pptxssuserc1e786
 
Umutima.ppt
Umutima.pptUmutima.ppt
Umutima.pptkigaliac
 
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9eChapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9eadpeer
 
Chap 05 ip addresses classfless
Chap 05 ip addresses classflessChap 05 ip addresses classfless
Chap 05 ip addresses classflessNoctorous Jamal
 
Chap 05
Chap 05Chap 05
Chap 05IGNOU
 
Network_layer_addressing.pptx
Network_layer_addressing.pptxNetwork_layer_addressing.pptx
Network_layer_addressing.pptxlaiba29012
 
4a logical laddressing
4a logical laddressing4a logical laddressing
4a logical laddressingkavish dani
 

Similar to Learn subnetting with this easy golden rule method (20)

Networking notes 2
Networking notes 2Networking notes 2
Networking notes 2
 
Subnet Masking in Computer Network--CST 2nd year by Tanushree Bhadra
Subnet Masking in Computer Network--CST 2nd year by Tanushree BhadraSubnet Masking in Computer Network--CST 2nd year by Tanushree Bhadra
Subnet Masking in Computer Network--CST 2nd year by Tanushree Bhadra
 
ip addressing_&_subnetting_made_easy
 ip addressing_&_subnetting_made_easy ip addressing_&_subnetting_made_easy
ip addressing_&_subnetting_made_easy
 
Pjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasyPjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasy
 
Routing and switching
Routing and switchingRouting and switching
Routing and switching
 
IPv4 Address uploading.ppt
IPv4 Address uploading.pptIPv4 Address uploading.ppt
IPv4 Address uploading.ppt
 
network Addressing
network Addressingnetwork Addressing
network Addressing
 
1606660774-ip-addresses-classful-3.ppt
1606660774-ip-addresses-classful-3.ppt1606660774-ip-addresses-classful-3.ppt
1606660774-ip-addresses-classful-3.ppt
 
Lecture W4 CN IP Addressing P1.pptx
Lecture W4 CN IP Addressing P1.pptxLecture W4 CN IP Addressing P1.pptx
Lecture W4 CN IP Addressing P1.pptx
 
Umutima.ppt
Umutima.pptUmutima.ppt
Umutima.ppt
 
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9eChapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
Chapter 8 - IP Subnetting, Troubleshooting and Introduction to NAT 9e
 
Ch19
Ch19Ch19
Ch19
 
Ch04
Ch04Ch04
Ch04
 
Chap 05 ip addresses classfless
Chap 05 ip addresses classflessChap 05 ip addresses classfless
Chap 05 ip addresses classfless
 
Chap 05
Chap 05Chap 05
Chap 05
 
Network_layer_addressing.pptx
Network_layer_addressing.pptxNetwork_layer_addressing.pptx
Network_layer_addressing.pptx
 
ch19 (1).ppt
ch19 (1).pptch19 (1).ppt
ch19 (1).ppt
 
Chapter 19
Chapter 19Chapter 19
Chapter 19
 
Ch19
Ch19Ch19
Ch19
 
4a logical laddressing
4a logical laddressing4a logical laddressing
4a logical laddressing
 

More from Eng. Emad Al-Atoum

More from Eng. Emad Al-Atoum (7)

Mind Mapping
Mind MappingMind Mapping
Mind Mapping
 
How to Build Your Own Power Supply
How to Build Your Own Power SupplyHow to Build Your Own Power Supply
How to Build Your Own Power Supply
 
CCNA 200-120 Exam Questions
CCNA 200-120 Exam QuestionsCCNA 200-120 Exam Questions
CCNA 200-120 Exam Questions
 
CCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsCCNA - Routing & Switching Commands
CCNA - Routing & Switching Commands
 
CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 
50 Impossible Quotes
50 Impossible Quotes50 Impossible Quotes
50 Impossible Quotes
 
CCNA Exam Question
CCNA Exam QuestionCCNA Exam Question
CCNA Exam Question
 

Recently uploaded

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 

Learn subnetting with this easy golden rule method

  • 1. E m a d A l - A t o u m P a g e 1 | 3 EASY SUBNETTING Here’s A Way Of Learning Subnetting That I’ve Learned: You should know this: Class A Address: - 8 Network Bits 24 Host Bits ; range is 0-127 in the first octet Class B Address: - 16 Network Bits 16 Host Bits ; range is 128-191 in the first octet Class C Address: - 24 Network Bits 8 Host Bits ; range is 192-223 in the first octet Now, remember this GOLDEN RULE: 1 - 128 2 - 64 3 - 32 4 - 16 5 - 8 6 - 4 7 - 2 8 - 1 Explanation: First part is The Number of Host Bits The Second Part Is The “Increment”. As long as you remember this rule, you should be able to answer most subnetting questions in flash. Let’s take the third line, 3 – 32 Example: 192.168.23.46/27, what subnet should this be in? All you need to do: 27-24 = 3 (since this is a class C address, you subtract 24 network bits from 27 and that gives you 3 host bits) 3 should correspond to 32 (according to the GOLDEN RULE I gave you above) That means increment is 32 so the subnet range should be: 192.168.23.0 192.168.23.32 192.168.23.64 and so on… the address given to us is 192.168.23.46, so that’ll fall in 192.168.23.32 subnet - as 46 lies between 32 and 64.
  • 2. E m a d A l - A t o u m P a g e 2 | 3 Here’s Another Example: 192.168.1.50/28 Again, class C address. So this is what you do: 28-24=4 Golden rule: 4 corresponds to 16, so 16 should be the 'increment’. So here we go: 192.168.1.0 192.168.1.16 192.168.1.32 192.168.1.48 192.168.1.64 And so on… The address has the last octet value of 50, which lies in the range 48 – 64 So the address is in the 192.168.1.48 subnet. Try This A Class B Example: What subnet does host 172.28.12.167/20 belong to? It’s a class B address so this is what we do: 20 - 16 = 4 4 should correspond to 32 going by the golden rule, so increment value is 32 here. Since it’s a class B address Here’s how we can break the bits into Network and Host bits: Typical Class B address: 8 Net bits - 8 Net bits (16) - 8 Host bits - 8 Host bits (16) This example: 8 Net bits - 8 Net bits - 4 Host bits - 0 Host bits (we only have 4 Host bits, remember? 20-16 = 4) So the increment would be in 3rd octet. Here we go: 172.28.0.0 172.28.16.0 172.28.32.0 And so on.. Third octet in this example is 12 So it should lie in the first address (between 0 and 16): 172.28.0.0 You can easily remember it and after some practice, these values do get embedded in your brain. Saves you a lot of time. If the Subnet mask has been provided in dotted format, just subtract the first non-zero octet value from right by 256 And that’ll give you the 'increment’ value.
  • 3. E m a d A l - A t o u m P a g e 3 | 3 Example: 192.168.23.46 255.255.255.240 All you do is: 256-240 = 16. 16 is your increment value! Example: 172.15.23.187 255.255.248.0 All you do is: 256-248=8. 8 is your increment value and Here’s what the subnets should look like: 172.15.0.0 172.15.8.0 172.15.16.0 And so on..