SlideShare a Scribd company logo
Sub Netting Made Easy
By Vishal Pawar
27
26
25
24
23
22
21
20
128 64 32 16 8 4 2 1 Subnet Prefix
mask
1 0 0 0 0 0 0 0 128 /25
1 1 0 0 0 0 0 0 192 /26
1 1 1 0 0 0 0 0 224 /27
1 1 1 1 0 0 0 0 240 /28
1 1 1 1 1 0 0 0 248 /29
1 1 1 1 1 1 0 0 252 /30
1 1 1 1 1 1 1 0 254 /31
1 1 1 1 1 1 1 1 255 /32
 Ex.- Class C Address
 N . N . N . H
 11111111.11111111.11111111.00000000
 No of Hosts = 2 ^ n (no of host bits)
 192.168.1.0 to 192.168.1.255
 Network Address - Broadcast Address
 Actual Host address =
 192.168.1.1 to 192.168.1.254
Subnetting
 Subnetting is dividing one network into
many networks.
 Formula for subnetting -
 2 ^ n (no of bits borrowed from host
portion)
 2 ^ 1 = 2 subnets
Calculate ?
1. Class
2. Default Subnet
3. Classless Subnet
4. Number of Networks
5. Block Size
6. Number of Usable Hosts per Network
7. Network Address
8. Broadcast Address
9. Next Network Address
10. First Host IP Address
11. Last Host IP Address
Example - 1
 Given IP Address -
 10.10.10.40
 Given Prefix -
 /27
Step 1- Class
 1-126 it is a Class A address
 128-191 it is a Class B address
 192-223 it is a Class C address
 224-239 it is a Class D address
 240-255 it is a Class E address
________________________________
 Answer -
 10.10.10.40 - Class A Address
Step 2 – Default Subnet
 Class A - 255.0.0.0
 Class B - 255.255.0.0
 Class C - 255.255.255.0
_______________________________
 Answer -
 For - 10.10.10.40
 Default Subnet is - 255.0.0.0
Step 3 – Classless Subnet
 Calculate Binary of given prefix – /27
11111111.11111111.11111111.11100000
8 + 8 + 8 + 3 = 27 bits ON
 Convert it into Decimal-
255 . 255 . 255 . 224
_______________________________________
 Answer –
Classless Subnet mask - 255.255.255.224
Step 4 - Number of Networks
 No. of Networks = 2^n

Where n is No. of bits borrowed
 No. of bits borrowed = 11100000 = 3

2^3 = 8
_______________________________
 Answer –
 Number of Networks = 8
Step 5 – Block Size
Default subnet mask – Classless subnet mask
255.255.255.256
- 255.255.255.224 (Subnet mask of /27)
------------------------
0.0.0.32
_______________________________
 Answer –
 Block Size = 0.0.0.32
Step 6 – Total Number of Usable Hosts
 2 ^ (Total Host bits) - 2
 = 2 ^ 5 - 2
 = 32 – 2
 = 30
_______________________________
 Answer –
 Total Number of Usable Hosts = 30
Step 7 – Network Address
 Use ANDing method
1. Convert IP Add to Binary
2. Convert Subnet mask to Binary
3. Use AND operation
4. Convert answer into decimal
IP address : 00001010.00001010.00001010.00101000
Subnet mask : 11111111.11111111.11111111.1110000
AND -----------------------------------------------------------
Network address : 00001010.00001010.00001010.00100000
Decimal Format: 10.10.10.32
_______________________________
 Answer –
 Network Address = 10.10.10.32
Step 8 - Broadcast Address
 Network Add + Block size - 1
 10.10.10.32 + 0.0.0.32 - 1
 = 10.10.10.63
 Answer –
 Broadcast Address = 10.10.10.63
Step 8 - Broadcast Address
 Use XOR method
1. Convert IP Add to Binary
2. Convert Subnet mask to Binary
3. Invert Binary Subnet mask
4. Use XOR operation
5. Convert answer into decimal
IP address : 00001010.00001010.00001010.00101000
Inverted Subnet mask : 00000000.00000000.00000000.00011111
XOR --------------------------------------------------------------------------------
Network address : 00001010.00001010.00001010.00111111
Decimal Format : 10.10.10.63
______________________________________
 Answer –
 Broadcast Address = 10.10.10.63
Step 10 – First Host IP Address
 First Host IP Add = Network Address + 1
 = 10.10.10.32 + 1
 = 10.10.10.33
____________________________________
 Answer –
 First Host IP Address = 10.10.10.33
Step 10 – Last Host IP Address
 Last Host IP Add = Broadcast Address - 1
 = 10.10.10.63 - 1
 = 10.10.10.62
____________________________________
 Answer –
 Last Host IP Address = 10.10.10.62
Step 9 – Next Network Address
Next Network Add = Network add + Block Size
 = 10.10.10.32 + 0.0.0.32
 = 10.10.10.64
____________________________________
 Answer –
 Next Network Address = 10.10.10.64
Thank You

More Related Content

What's hot

2021 05-04-u2-net
2021 05-04-u2-net2021 05-04-u2-net
2021 05-04-u2-net
JAEMINJEONG5
 
Alpha-Beta Search
Alpha-Beta SearchAlpha-Beta Search
Alpha-Beta Search
Harshit Thakur
 
Fibonacci search
Fibonacci searchFibonacci search
Fibonacci search
neilluiz94
 
1.1 binary tree
1.1 binary tree1.1 binary tree
1.1 binary tree
Krish_ver2
 
Graph in Data Structure
Graph in Data StructureGraph in Data Structure
Graph in Data Structure
Prof Ansari
 
Binary Search Tree
Binary Search TreeBinary Search Tree
Binary Search Tree
Zafar Ayub
 
Selection sort
Selection sortSelection sort
Selection sort
stella D
 
1.5 binary search tree
1.5 binary search tree1.5 binary search tree
1.5 binary search tree
Krish_ver2
 
Perceptron and Sigmoid Neurons
Perceptron and Sigmoid NeuronsPerceptron and Sigmoid Neurons
Perceptron and Sigmoid Neurons
Shajun Nisha
 
Dynamic Programming-Knapsack Problem
Dynamic Programming-Knapsack ProblemDynamic Programming-Knapsack Problem
Dynamic Programming-Knapsack Problem
Amrita Yadav
 
fundamentals-of-neural-networks-laurene-fausett
fundamentals-of-neural-networks-laurene-fausettfundamentals-of-neural-networks-laurene-fausett
fundamentals-of-neural-networks-laurene-fausett
Zarnigar Altaf
 
Red black tree in data structure
Red black tree in data structureRed black tree in data structure
Red black tree in data structure
Vrushali Dhanokar
 
B tree
B treeB tree
B tree
Rajendran
 
Image processing SaltPepper Noise
Image processing SaltPepper NoiseImage processing SaltPepper Noise
Image processing SaltPepper NoiseAnkush Srivastava
 
DCT image compression
DCT image compressionDCT image compression
DCT image compression
youssef ramzy
 
Image Segmentation (Digital Image Processing)
Image Segmentation (Digital Image Processing)Image Segmentation (Digital Image Processing)
Image Segmentation (Digital Image Processing)
VARUN KUMAR
 
UNIT-4 TREES.ppt
UNIT-4 TREES.pptUNIT-4 TREES.ppt
UNIT-4 TREES.ppt
SIVAKUMARM603675
 
Tree_Definition.pptx
Tree_Definition.pptxTree_Definition.pptx
Tree_Definition.pptx
sandeep54552
 

What's hot (20)

2021 05-04-u2-net
2021 05-04-u2-net2021 05-04-u2-net
2021 05-04-u2-net
 
Alpha-Beta Search
Alpha-Beta SearchAlpha-Beta Search
Alpha-Beta Search
 
Fibonacci search
Fibonacci searchFibonacci search
Fibonacci search
 
1.1 binary tree
1.1 binary tree1.1 binary tree
1.1 binary tree
 
Graph in Data Structure
Graph in Data StructureGraph in Data Structure
Graph in Data Structure
 
Binary Search Tree
Binary Search TreeBinary Search Tree
Binary Search Tree
 
Selection sort
Selection sortSelection sort
Selection sort
 
1.5 binary search tree
1.5 binary search tree1.5 binary search tree
1.5 binary search tree
 
Perceptron and Sigmoid Neurons
Perceptron and Sigmoid NeuronsPerceptron and Sigmoid Neurons
Perceptron and Sigmoid Neurons
 
Avl tree
Avl treeAvl tree
Avl tree
 
Dynamic Programming-Knapsack Problem
Dynamic Programming-Knapsack ProblemDynamic Programming-Knapsack Problem
Dynamic Programming-Knapsack Problem
 
fundamentals-of-neural-networks-laurene-fausett
fundamentals-of-neural-networks-laurene-fausettfundamentals-of-neural-networks-laurene-fausett
fundamentals-of-neural-networks-laurene-fausett
 
Red black tree in data structure
Red black tree in data structureRed black tree in data structure
Red black tree in data structure
 
B tree
B treeB tree
B tree
 
Image processing SaltPepper Noise
Image processing SaltPepper NoiseImage processing SaltPepper Noise
Image processing SaltPepper Noise
 
DCT image compression
DCT image compressionDCT image compression
DCT image compression
 
Image Segmentation (Digital Image Processing)
Image Segmentation (Digital Image Processing)Image Segmentation (Digital Image Processing)
Image Segmentation (Digital Image Processing)
 
UNIT-4 TREES.ppt
UNIT-4 TREES.pptUNIT-4 TREES.ppt
UNIT-4 TREES.ppt
 
Tree_Definition.pptx
Tree_Definition.pptxTree_Definition.pptx
Tree_Definition.pptx
 
B tree
B treeB tree
B tree
 

Viewers also liked

Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorial
mikem801
 
Subnetting made simple
Subnetting made simpleSubnetting made simple
Subnetting made simple
Wamuyu Murakaru
 
CCNAv5 - S1: Chapter 9 - Subnetting Ip Networks
CCNAv5 - S1: Chapter 9 - Subnetting Ip NetworksCCNAv5 - S1: Chapter 9 - Subnetting Ip Networks
CCNAv5 - S1: Chapter 9 - Subnetting Ip Networks
Vuz Dở Hơi
 
Pjsmith ip addressing_&_subnetting_made_easy
Pjsmith ip addressing_&_subnetting_made_easyPjsmith ip addressing_&_subnetting_made_easy
Pjsmith ip addressing_&_subnetting_made_easy
Naresh Gotad
 
Nokia ultra bts connections1
Nokia ultra bts connections1Nokia ultra bts connections1
Nokia ultra bts connections1
Moses Daramola
 
Design and implementation of sdr based qpsk transceiver using fpga
Design and implementation of sdr based qpsk transceiver using fpgaDesign and implementation of sdr based qpsk transceiver using fpga
Design and implementation of sdr based qpsk transceiver using fpga
Tarik Kazaz
 
bts Site Visit At Pipalia (Morbi)
bts Site Visit At Pipalia (Morbi)bts Site Visit At Pipalia (Morbi)
bts Site Visit At Pipalia (Morbi)
guested52cc8
 
Subnetting Made Easy
Subnetting Made EasySubnetting Made Easy
Subnetting Made Easyheidionthego
 
Huawei gsm grfu introduction
Huawei gsm grfu introductionHuawei gsm grfu introduction
Huawei gsm grfu introduction
sad_RNP
 
Mimo
MimoMimo
Mimo
Virak Sou
 
CCNAv5 - S1: Chapter 8 - Ip Addressing
CCNAv5 - S1: Chapter 8 - Ip AddressingCCNAv5 - S1: Chapter 8 - Ip Addressing
CCNAv5 - S1: Chapter 8 - Ip Addressing
Vuz Dở Hơi
 
Presentation of NSN training
Presentation of NSN trainingPresentation of NSN training
Presentation of NSN training
Bhavin_Halani
 
Ericsson BTS commisioning
Ericsson BTS commisioningEricsson BTS commisioning
Ericsson BTS commisioningShahid Rasool
 
Easy IP Addressing and Subnetting Manual for Starters
Easy IP Addressing and Subnetting Manual for StartersEasy IP Addressing and Subnetting Manual for Starters
Easy IP Addressing and Subnetting Manual for Starters
S Khawaja
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basics
Mahmmoud Mahdi
 
Bhrat sanchar nigam limited Industrial Training PPT
Bhrat sanchar nigam limited Industrial Training PPTBhrat sanchar nigam limited Industrial Training PPT
Bhrat sanchar nigam limited Industrial Training PPT
Shivam Gupta
 
Subnetting
SubnettingSubnetting
Subnettingswascher
 

Viewers also liked (20)

Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorial
 
Subnetting made simple
Subnetting made simpleSubnetting made simple
Subnetting made simple
 
CCNAv5 - S1: Chapter 9 - Subnetting Ip Networks
CCNAv5 - S1: Chapter 9 - Subnetting Ip NetworksCCNAv5 - S1: Chapter 9 - Subnetting Ip Networks
CCNAv5 - S1: Chapter 9 - Subnetting Ip Networks
 
Pjsmith ip addressing_&_subnetting_made_easy
Pjsmith ip addressing_&_subnetting_made_easyPjsmith ip addressing_&_subnetting_made_easy
Pjsmith ip addressing_&_subnetting_made_easy
 
Nokia ultra bts connections1
Nokia ultra bts connections1Nokia ultra bts connections1
Nokia ultra bts connections1
 
Design and implementation of sdr based qpsk transceiver using fpga
Design and implementation of sdr based qpsk transceiver using fpgaDesign and implementation of sdr based qpsk transceiver using fpga
Design and implementation of sdr based qpsk transceiver using fpga
 
bts Site Visit At Pipalia (Morbi)
bts Site Visit At Pipalia (Morbi)bts Site Visit At Pipalia (Morbi)
bts Site Visit At Pipalia (Morbi)
 
HUAWEI BTS3012
HUAWEI BTS3012HUAWEI BTS3012
HUAWEI BTS3012
 
Subnetting Made Easy
Subnetting Made EasySubnetting Made Easy
Subnetting Made Easy
 
Huawei gsm grfu introduction
Huawei gsm grfu introductionHuawei gsm grfu introduction
Huawei gsm grfu introduction
 
Mimo
MimoMimo
Mimo
 
CCNAv5 - S1: Chapter 8 - Ip Addressing
CCNAv5 - S1: Chapter 8 - Ip AddressingCCNAv5 - S1: Chapter 8 - Ip Addressing
CCNAv5 - S1: Chapter 8 - Ip Addressing
 
Presentation of NSN training
Presentation of NSN trainingPresentation of NSN training
Presentation of NSN training
 
MIMO.ppt (2) 2
MIMO.ppt (2) 2MIMO.ppt (2) 2
MIMO.ppt (2) 2
 
Ericsson BTS commisioning
Ericsson BTS commisioningEricsson BTS commisioning
Ericsson BTS commisioning
 
Easy IP Addressing and Subnetting Manual for Starters
Easy IP Addressing and Subnetting Manual for StartersEasy IP Addressing and Subnetting Manual for Starters
Easy IP Addressing and Subnetting Manual for Starters
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basics
 
Bhrat sanchar nigam limited Industrial Training PPT
Bhrat sanchar nigam limited Industrial Training PPTBhrat sanchar nigam limited Industrial Training PPT
Bhrat sanchar nigam limited Industrial Training PPT
 
Ip address
Ip addressIp address
Ip address
 
Subnetting
SubnettingSubnetting
Subnetting
 

Similar to Subnetting Made Easy

Wipro telecom training i pv4 concepts
Wipro telecom training   i pv4 conceptsWipro telecom training   i pv4 concepts
Wipro telecom training i pv4 concepts
JAIGANESH SEKAR
 
subnet.ppt
subnet.pptsubnet.ppt
subnet.ppt
monujangir2
 
Chap3. i pv4
Chap3. i pv4Chap3. i pv4
Chap3. i pv4
東原 李
 
Network Layer
Network LayerNetwork Layer
Network Layer
Kamal Acharya
 
Ipaddressing
IpaddressingIpaddressing
Ipaddressing
Faraz Humayun
 
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENTACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
Sleek International
 
Ip addressing subnetting workbook
Ip addressing subnetting workbookIp addressing subnetting workbook
Ip addressing subnetting workbook
Vijay Shukla
 
Ccent notes part 3
Ccent notes part 3Ccent notes part 3
Ccent notes part 3
shreelaxmi4545
 
Subnetting
SubnettingSubnetting
Subnetting
Netwax Lab
 
Lecture 03 networking
Lecture 03 networkingLecture 03 networking
Lecture 03 networking
HNDE Labuduwa Galle
 
IP classes and subnetting.
IP classes and subnetting.IP classes and subnetting.
IP classes and subnetting.
university of Gujrat, pakistan
 
IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING
AYESHA JAVED
 
2.10a network layer services i pv4 - fixed length subnetting
2.10a network layer services  i pv4 - fixed length subnetting2.10a network layer services  i pv4 - fixed length subnetting
2.10a network layer services i pv4 - fixed length subnetting
JAIGANESH SEKAR
 
ip addressing
ip addressingip addressing
Fixed Length Subnetting about ip address.pptx
Fixed Length Subnetting about ip address.pptxFixed Length Subnetting about ip address.pptx
Fixed Length Subnetting about ip address.pptx
Shaqib3
 
Chapter3ccna
Chapter3ccnaChapter3ccna
Chapter3ccnarobertoxe
 
1703_anusua_basuclassful addressing_IP_Addressing
1703_anusua_basuclassful addressing_IP_Addressing1703_anusua_basuclassful addressing_IP_Addressing
1703_anusua_basuclassful addressing_IP_Addressing
AnusuaBasu
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
Kishore Kumar
 

Similar to Subnetting Made Easy (20)

Wipro telecom training i pv4 concepts
Wipro telecom training   i pv4 conceptsWipro telecom training   i pv4 concepts
Wipro telecom training i pv4 concepts
 
subnet.ppt
subnet.pptsubnet.ppt
subnet.ppt
 
Chap3. i pv4
Chap3. i pv4Chap3. i pv4
Chap3. i pv4
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Ipaddressing
IpaddressingIpaddressing
Ipaddressing
 
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENTACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
 
Ip addressing subnetting workbook
Ip addressing subnetting workbookIp addressing subnetting workbook
Ip addressing subnetting workbook
 
Mod6
Mod6Mod6
Mod6
 
Ccent notes part 3
Ccent notes part 3Ccent notes part 3
Ccent notes part 3
 
Subnetting
SubnettingSubnetting
Subnetting
 
Lecture 03 networking
Lecture 03 networkingLecture 03 networking
Lecture 03 networking
 
IP classes and subnetting.
IP classes and subnetting.IP classes and subnetting.
IP classes and subnetting.
 
IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING
 
2.10a network layer services i pv4 - fixed length subnetting
2.10a network layer services  i pv4 - fixed length subnetting2.10a network layer services  i pv4 - fixed length subnetting
2.10a network layer services i pv4 - fixed length subnetting
 
ip addressing
ip addressingip addressing
ip addressing
 
Fixed Length Subnetting about ip address.pptx
Fixed Length Subnetting about ip address.pptxFixed Length Subnetting about ip address.pptx
Fixed Length Subnetting about ip address.pptx
 
Chapter3ccna
Chapter3ccnaChapter3ccna
Chapter3ccna
 
Chapter3ccna
Chapter3ccnaChapter3ccna
Chapter3ccna
 
1703_anusua_basuclassful addressing_IP_Addressing
1703_anusua_basuclassful addressing_IP_Addressing1703_anusua_basuclassful addressing_IP_Addressing
1703_anusua_basuclassful addressing_IP_Addressing
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
 

Recently uploaded

Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 

Recently uploaded (20)

Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 

Subnetting Made Easy

  • 1. Sub Netting Made Easy By Vishal Pawar
  • 2. 27 26 25 24 23 22 21 20 128 64 32 16 8 4 2 1 Subnet Prefix mask 1 0 0 0 0 0 0 0 128 /25 1 1 0 0 0 0 0 0 192 /26 1 1 1 0 0 0 0 0 224 /27 1 1 1 1 0 0 0 0 240 /28 1 1 1 1 1 0 0 0 248 /29 1 1 1 1 1 1 0 0 252 /30 1 1 1 1 1 1 1 0 254 /31 1 1 1 1 1 1 1 1 255 /32
  • 3.
  • 4.  Ex.- Class C Address  N . N . N . H  11111111.11111111.11111111.00000000  No of Hosts = 2 ^ n (no of host bits)  192.168.1.0 to 192.168.1.255  Network Address - Broadcast Address  Actual Host address =  192.168.1.1 to 192.168.1.254
  • 5.
  • 6. Subnetting  Subnetting is dividing one network into many networks.  Formula for subnetting -  2 ^ n (no of bits borrowed from host portion)  2 ^ 1 = 2 subnets
  • 7. Calculate ? 1. Class 2. Default Subnet 3. Classless Subnet 4. Number of Networks 5. Block Size 6. Number of Usable Hosts per Network 7. Network Address 8. Broadcast Address 9. Next Network Address 10. First Host IP Address 11. Last Host IP Address
  • 8. Example - 1  Given IP Address -  10.10.10.40  Given Prefix -  /27
  • 9. Step 1- Class  1-126 it is a Class A address  128-191 it is a Class B address  192-223 it is a Class C address  224-239 it is a Class D address  240-255 it is a Class E address ________________________________  Answer -  10.10.10.40 - Class A Address
  • 10. Step 2 – Default Subnet  Class A - 255.0.0.0  Class B - 255.255.0.0  Class C - 255.255.255.0 _______________________________  Answer -  For - 10.10.10.40  Default Subnet is - 255.0.0.0
  • 11. Step 3 – Classless Subnet  Calculate Binary of given prefix – /27 11111111.11111111.11111111.11100000 8 + 8 + 8 + 3 = 27 bits ON  Convert it into Decimal- 255 . 255 . 255 . 224 _______________________________________  Answer – Classless Subnet mask - 255.255.255.224
  • 12. Step 4 - Number of Networks  No. of Networks = 2^n  Where n is No. of bits borrowed  No. of bits borrowed = 11100000 = 3  2^3 = 8 _______________________________  Answer –  Number of Networks = 8
  • 13. Step 5 – Block Size Default subnet mask – Classless subnet mask 255.255.255.256 - 255.255.255.224 (Subnet mask of /27) ------------------------ 0.0.0.32 _______________________________  Answer –  Block Size = 0.0.0.32
  • 14. Step 6 – Total Number of Usable Hosts  2 ^ (Total Host bits) - 2  = 2 ^ 5 - 2  = 32 – 2  = 30 _______________________________  Answer –  Total Number of Usable Hosts = 30
  • 15. Step 7 – Network Address  Use ANDing method 1. Convert IP Add to Binary 2. Convert Subnet mask to Binary 3. Use AND operation 4. Convert answer into decimal IP address : 00001010.00001010.00001010.00101000 Subnet mask : 11111111.11111111.11111111.1110000 AND ----------------------------------------------------------- Network address : 00001010.00001010.00001010.00100000 Decimal Format: 10.10.10.32 _______________________________  Answer –  Network Address = 10.10.10.32
  • 16. Step 8 - Broadcast Address  Network Add + Block size - 1  10.10.10.32 + 0.0.0.32 - 1  = 10.10.10.63  Answer –  Broadcast Address = 10.10.10.63
  • 17. Step 8 - Broadcast Address  Use XOR method 1. Convert IP Add to Binary 2. Convert Subnet mask to Binary 3. Invert Binary Subnet mask 4. Use XOR operation 5. Convert answer into decimal IP address : 00001010.00001010.00001010.00101000 Inverted Subnet mask : 00000000.00000000.00000000.00011111 XOR -------------------------------------------------------------------------------- Network address : 00001010.00001010.00001010.00111111 Decimal Format : 10.10.10.63 ______________________________________  Answer –  Broadcast Address = 10.10.10.63
  • 18. Step 10 – First Host IP Address  First Host IP Add = Network Address + 1  = 10.10.10.32 + 1  = 10.10.10.33 ____________________________________  Answer –  First Host IP Address = 10.10.10.33
  • 19. Step 10 – Last Host IP Address  Last Host IP Add = Broadcast Address - 1  = 10.10.10.63 - 1  = 10.10.10.62 ____________________________________  Answer –  Last Host IP Address = 10.10.10.62
  • 20. Step 9 – Next Network Address Next Network Add = Network add + Block Size  = 10.10.10.32 + 0.0.0.32  = 10.10.10.64 ____________________________________  Answer –  Next Network Address = 10.10.10.64