SlideShare a Scribd company logo
1 of 19
A seminar on
Subnetting
The Institution of electronics and
telecommunication engineers, Delhi centre.
Presented by: Sanjay
Stream: CS
Guided by: Mr. Nibhesh kr. Das
What was that masked address?
 To break the network down into pieces, each
of which can be addressed separately.
 Controls network traffic
 Reduces broadcasts
 Organization of IP address space
 Default Class C address is divided into network
and host portions as follows:
N . N . N . H
 To subnet we “borrow” bits from the host
portion of the address (8 bits for Class C)
N . N . N . x x x x x x x x
 Borrowing n bits yields 2n
– 2 subnets.
 Leaving n bits yields 2n
– 2 hosts.
 For a class C, we can borrow from 2 to 6 bits.
 Why not 1 bit? (How many usable subnets?)
 Why not 7 bits? (How many usable hosts?)
 Suppose we need 14 usable subnets, how
many bits do we borrow?
 Remember, borrowing n bits give us:
 2n
– 2 subnets
 Try borrowing 3 bits (n = 3):
 23
– 2 = 8 – 2
= 6 usable subnets (not enough)
 Try borrowing 4 bits
 24
– 2 = 16 – 2
= 14 usable subnets (enough)
 Write it with the network octet in binary:
200.129.41.0000 0000
break here
 Borrowing 4 bits yields 14 usable subnets
 How many usable hosts per subnet?
 Same formula as subnets (2n
– 2)
 4 host bits (n = 4)
 24
– 2 = 16 – 2
= 14 usable hosts per subnet
subnet bits host bits
 Examples:
 First usable 200.129.41.0001 ^ 0000
subnet address: 200.129.41.16
 First usable host 200.129.41.0001 ^ 0001
on the first subnet: 200.129.41.17
 Second usable host 200.129.41.0001 ^ 0010
on the first subnet: 200.129.41.18
.
.
.
 Last usable host 200.129.41.0001 ^ 1110
on the first subnet: 200.129.41.30
 Broadcast address 200.129.41.0001 ^ 1111
for the first subnet: 200.129.41.31
 Examples:
 Second usable 200.129.41.0010 ^ 0000
subnet address: 200.129.41.32
 Third usable 200.129.41.0011 ^ 0000
subnet address: 200.129.41.48
 Fourth usable 200.129.41.0100 ^ 0000
subnet address: 200.129.41.64
.
.
.
 Last usable 200.129.41.1110 ^ 0000
subnet address: 200.129.41.224
 The subnet mask (in binary) has:
 all ones in the network and subnet portion of the
address
 all zeros in the host potion of the address
 The subnet mask for the previous example is:
255.255.255. 240
255.255.255. 1111^ 0000 (128 + 64 + 32 + 16 =240)
 ANDing this mask with any valid host address on the
network will always yield the subnet address for that
host.
 Example (our subnet mask is 255.255.255.240)
IP host address: 200.129. 41.23
Last octet to binary: 200.129. 41.0001 0111
AND subnet mask: 255.255.255.1111 0000
200.129. 41.0001 0000
Subnet Address: 200.129. 41.16
So the host address 200.129. 41.23 is on the
200.129.41.16 subnet.
 Default Class B address is divided into
network and host portions as follows:
N . N . H . H
 To subnet we “borrow” bits from the host
portion of the address (16 bits for Class B)
N . N . x x x x x x x x . x x x x x x x
x
 For a class B, we can borrow from 2 to 14
bits.
 Suppose we need 80 usable subnets, how
many bits do we borrow?
 Remember, borrowing n bits give us:
 2n
– 2 subnets
 Try borrowing 6 bits (n = 6):
 26
– 2 = 64 – 2
= 62 usable subnets (not enough)
 Try borrowing 7 bits
 27
– 2 = 128 – 2
= 126 usable subnets (enough)
 Write it with the network octets in binary:
132.178.0000000 0.00000000
break here
 Borrowing 7 bits yields 126 usable subnets
 How many usable hosts per subnet?
 Same formula as subnets (2n
– 2)
 9 host bits (n = 9)
 29
– 2 = 512 – 2
= 510 usable hosts per subnet
subnet bits host bits
 Examples:
 First usable 132.178.0000001 ^ 0.00000000
subnet address: 132.178.2.0
 First usable host 132.178.0000001 ^ 0.00000001
on the first subnet: 132.178.2.1
 Second usable host 132.178.0000001 ^ 0.00000010
on the first subnet: 132.178.2.2
.
.
.
 Last usable host 132.178.0000001 ^ 1.11111110
on the first subnet: 132.178.3.254
 Broadcast address 132.178.0000001 ^ 1.11111111
for the first subnet: 132.178.3.255
 Examples:
 Second usable 132.178.0000010 ^ 0.00000000
subnet address: 132.178.4.0
 Third usable 132.178.0000011 ^ 0.00000000
subnet address: 132.178.6.0
.
.
.
 Ninety-first usable 132.178.1011011 ^ 0.00000000
subnet address: 132.178.182.0
.
.
.
 Last usable 132.178.1111110 ^ 0.00000000
subnet address: 132.178.252.0
 The subnet mask for this example is:
255.255.254.0
255.255.1111111 ^ 0.00000000
 ANDing this mask with any valid host address
on this network will always yield the subnet
address.
 Example:
IP host address: 132.178.119.112
Last octets to binary: 132.178.0111011 ^
1.01110000
AND subnet mask: 255.255.1111111 ^
0.00000000
132.178.0111011 ^
0.00000000
Subnet Address: 132.178.118.0
Thank You….

More Related Content

What's hot

IP Addressing and subnetting
IP Addressing and subnettingIP Addressing and subnetting
IP Addressing and subnettingAli Nezhad
 
Subnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examplesSubnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examplesKrishna Mohan
 
Cyclic Redundancy Check
Cyclic Redundancy CheckCyclic Redundancy Check
Cyclic Redundancy CheckRajan Shah
 
Data and computer communication exam lll
Data and computer communication exam lllData and computer communication exam lll
Data and computer communication exam lllAndrew Ibrahim
 
Intro 2 Computer Networks
Intro 2 Computer NetworksIntro 2 Computer Networks
Intro 2 Computer Networksrakeshgoswami
 
Paper on Optimized AES Algorithm Core Using FeedBack Architecture
Paper on Optimized AES Algorithm Core Using  FeedBack Architecture Paper on Optimized AES Algorithm Core Using  FeedBack Architecture
Paper on Optimized AES Algorithm Core Using FeedBack Architecture Dhaval Kaneria
 
Subnet Masks
Subnet MasksSubnet Masks
Subnet Masksswascher
 
Blockchain and Smart Contract Simulation
Blockchain and Smart Contract SimulationBlockchain and Smart Contract Simulation
Blockchain and Smart Contract SimulationJun Furuse
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting PresentationTouhidul Fahim
 
Assignment subnetting part1 - solutions
Assignment subnetting part1 - solutionsAssignment subnetting part1 - solutions
Assignment subnetting part1 - solutionsAnhMai173354
 
Subnetting Made Easy
Subnetting Made EasySubnetting Made Easy
Subnetting Made Easyheidionthego
 

What's hot (20)

IP Addressing and subnetting
IP Addressing and subnettingIP Addressing and subnetting
IP Addressing and subnetting
 
Ch05
Ch05Ch05
Ch05
 
Subnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examplesSubnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examples
 
Subnetting made simple
Subnetting made simpleSubnetting made simple
Subnetting made simple
 
Cyclic Redundancy Check
Cyclic Redundancy CheckCyclic Redundancy Check
Cyclic Redundancy Check
 
Data and computer communication exam lll
Data and computer communication exam lllData and computer communication exam lll
Data and computer communication exam lll
 
Subnetting
SubnettingSubnetting
Subnetting
 
Ch3 datalink
Ch3 datalinkCh3 datalink
Ch3 datalink
 
Intro 2 Computer Networks
Intro 2 Computer NetworksIntro 2 Computer Networks
Intro 2 Computer Networks
 
Crc
CrcCrc
Crc
 
Paper on Optimized AES Algorithm Core Using FeedBack Architecture
Paper on Optimized AES Algorithm Core Using  FeedBack Architecture Paper on Optimized AES Algorithm Core Using  FeedBack Architecture
Paper on Optimized AES Algorithm Core Using FeedBack Architecture
 
Sub Netting
Sub NettingSub Netting
Sub Netting
 
Subnet Mask
Subnet MaskSubnet Mask
Subnet Mask
 
V S L M
V S L MV S L M
V S L M
 
Subnet Masks
Subnet MasksSubnet Masks
Subnet Masks
 
Blockchain and Smart Contract Simulation
Blockchain and Smart Contract SimulationBlockchain and Smart Contract Simulation
Blockchain and Smart Contract Simulation
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting Presentation
 
Assignment subnetting part1 - solutions
Assignment subnetting part1 - solutionsAssignment subnetting part1 - solutions
Assignment subnetting part1 - solutions
 
Subnet
SubnetSubnet
Subnet
 
Subnetting Made Easy
Subnetting Made EasySubnetting Made Easy
Subnetting Made Easy
 

Similar to A seminar on subnetting by sanjay

7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork LayerZahouAmel1
 
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...ZahouAmel1
 
Lab 18 Answer TemplateProblem 1IP address 192.168.10.0 27 (giv.docx
Lab 18 Answer TemplateProblem 1IP address  192.168.10.0 27 (giv.docxLab 18 Answer TemplateProblem 1IP address  192.168.10.0 27 (giv.docx
Lab 18 Answer TemplateProblem 1IP address 192.168.10.0 27 (giv.docxDIPESH30
 
Lecture W5 CN IP Subnetting P2.pptx
Lecture W5 CN IP Subnetting P2.pptxLecture W5 CN IP Subnetting P2.pptx
Lecture W5 CN IP Subnetting P2.pptxssuserc1e786
 
Subnetting - TKJ SMK Kelas XI - Cisco CCNA
Subnetting - TKJ SMK Kelas XI - Cisco CCNASubnetting - TKJ SMK Kelas XI - Cisco CCNA
Subnetting - TKJ SMK Kelas XI - Cisco CCNAElfana Harmadyansjah
 
Subnetting Network administrators are usually granted wi.docx
Subnetting Network administrators are usually granted wi.docxSubnetting Network administrators are usually granted wi.docx
Subnetting Network administrators are usually granted wi.docxpicklesvalery
 
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
 
IPv4 Addressing Architecture
IPv4 Addressing ArchitectureIPv4 Addressing Architecture
IPv4 Addressing ArchitectureShreehari Dhat
 
Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2kurtmctaggart
 
Subnetting Principles
Subnetting PrinciplesSubnetting Principles
Subnetting Principlesswascher
 
Subnet questions with ans(networking)
Subnet questions with ans(networking)Subnet questions with ans(networking)
Subnet questions with ans(networking)welcometofacebook
 
network Addressing
network Addressingnetwork Addressing
network AddressingTauseef khan
 

Similar to A seminar on subnetting by sanjay (20)

Subnitting
SubnittingSubnitting
Subnitting
 
Subnetting
SubnettingSubnetting
Subnetting
 
7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer
 
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
7-Lect_7 .pptxNetwork Layer. Addressing Subnetting Mask (default and subnet) ...
 
Lab 18 Answer TemplateProblem 1IP address 192.168.10.0 27 (giv.docx
Lab 18 Answer TemplateProblem 1IP address  192.168.10.0 27 (giv.docxLab 18 Answer TemplateProblem 1IP address  192.168.10.0 27 (giv.docx
Lab 18 Answer TemplateProblem 1IP address 192.168.10.0 27 (giv.docx
 
Chapter3ccna
Chapter3ccnaChapter3ccna
Chapter3ccna
 
subnet.ppt
subnet.pptsubnet.ppt
subnet.ppt
 
Lecture W5 CN IP Subnetting P2.pptx
Lecture W5 CN IP Subnetting P2.pptxLecture W5 CN IP Subnetting P2.pptx
Lecture W5 CN IP Subnetting P2.pptx
 
Subnetting - TKJ SMK Kelas XI - Cisco CCNA
Subnetting - TKJ SMK Kelas XI - Cisco CCNASubnetting - TKJ SMK Kelas XI - Cisco CCNA
Subnetting - TKJ SMK Kelas XI - Cisco CCNA
 
ELEC - Lecture 2
ELEC - Lecture 2ELEC - Lecture 2
ELEC - Lecture 2
 
Subnetting Network administrators are usually granted wi.docx
Subnetting Network administrators are usually granted wi.docxSubnetting Network administrators are usually granted wi.docx
Subnetting Network administrators are usually granted wi.docx
 
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
 
IPv4 Addressing Architecture
IPv4 Addressing ArchitectureIPv4 Addressing Architecture
IPv4 Addressing Architecture
 
Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2
 
Subnetting Principles
Subnetting PrinciplesSubnetting Principles
Subnetting Principles
 
Subnet questions with ans(networking)
Subnet questions with ans(networking)Subnet questions with ans(networking)
Subnet questions with ans(networking)
 
Subnetting
SubnettingSubnetting
Subnetting
 
Subnetting
SubnettingSubnetting
Subnetting
 
Lecture 03 networking
Lecture 03 networkingLecture 03 networking
Lecture 03 networking
 
network Addressing
network Addressingnetwork Addressing
network Addressing
 

Recently uploaded

Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 

Recently uploaded (20)

Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 

A seminar on subnetting by sanjay

  • 1. A seminar on Subnetting The Institution of electronics and telecommunication engineers, Delhi centre. Presented by: Sanjay Stream: CS Guided by: Mr. Nibhesh kr. Das
  • 2. What was that masked address?
  • 3.  To break the network down into pieces, each of which can be addressed separately.  Controls network traffic  Reduces broadcasts  Organization of IP address space
  • 4.  Default Class C address is divided into network and host portions as follows: N . N . N . H  To subnet we “borrow” bits from the host portion of the address (8 bits for Class C) N . N . N . x x x x x x x x  Borrowing n bits yields 2n – 2 subnets.  Leaving n bits yields 2n – 2 hosts.  For a class C, we can borrow from 2 to 6 bits.  Why not 1 bit? (How many usable subnets?)  Why not 7 bits? (How many usable hosts?)
  • 5.  Suppose we need 14 usable subnets, how many bits do we borrow?  Remember, borrowing n bits give us:  2n – 2 subnets  Try borrowing 3 bits (n = 3):  23 – 2 = 8 – 2 = 6 usable subnets (not enough)  Try borrowing 4 bits  24 – 2 = 16 – 2 = 14 usable subnets (enough)
  • 6.  Write it with the network octet in binary: 200.129.41.0000 0000 break here  Borrowing 4 bits yields 14 usable subnets  How many usable hosts per subnet?  Same formula as subnets (2n – 2)  4 host bits (n = 4)  24 – 2 = 16 – 2 = 14 usable hosts per subnet subnet bits host bits
  • 7.  Examples:  First usable 200.129.41.0001 ^ 0000 subnet address: 200.129.41.16  First usable host 200.129.41.0001 ^ 0001 on the first subnet: 200.129.41.17  Second usable host 200.129.41.0001 ^ 0010 on the first subnet: 200.129.41.18 . . .  Last usable host 200.129.41.0001 ^ 1110 on the first subnet: 200.129.41.30  Broadcast address 200.129.41.0001 ^ 1111 for the first subnet: 200.129.41.31
  • 8.  Examples:  Second usable 200.129.41.0010 ^ 0000 subnet address: 200.129.41.32  Third usable 200.129.41.0011 ^ 0000 subnet address: 200.129.41.48  Fourth usable 200.129.41.0100 ^ 0000 subnet address: 200.129.41.64 . . .  Last usable 200.129.41.1110 ^ 0000 subnet address: 200.129.41.224
  • 9.  The subnet mask (in binary) has:  all ones in the network and subnet portion of the address  all zeros in the host potion of the address  The subnet mask for the previous example is: 255.255.255. 240 255.255.255. 1111^ 0000 (128 + 64 + 32 + 16 =240)  ANDing this mask with any valid host address on the network will always yield the subnet address for that host.
  • 10.  Example (our subnet mask is 255.255.255.240) IP host address: 200.129. 41.23 Last octet to binary: 200.129. 41.0001 0111 AND subnet mask: 255.255.255.1111 0000 200.129. 41.0001 0000 Subnet Address: 200.129. 41.16 So the host address 200.129. 41.23 is on the 200.129.41.16 subnet.
  • 11.  Default Class B address is divided into network and host portions as follows: N . N . H . H  To subnet we “borrow” bits from the host portion of the address (16 bits for Class B) N . N . x x x x x x x x . x x x x x x x x  For a class B, we can borrow from 2 to 14 bits.
  • 12.  Suppose we need 80 usable subnets, how many bits do we borrow?  Remember, borrowing n bits give us:  2n – 2 subnets  Try borrowing 6 bits (n = 6):  26 – 2 = 64 – 2 = 62 usable subnets (not enough)  Try borrowing 7 bits  27 – 2 = 128 – 2 = 126 usable subnets (enough)
  • 13.  Write it with the network octets in binary: 132.178.0000000 0.00000000 break here  Borrowing 7 bits yields 126 usable subnets  How many usable hosts per subnet?  Same formula as subnets (2n – 2)  9 host bits (n = 9)  29 – 2 = 512 – 2 = 510 usable hosts per subnet subnet bits host bits
  • 14.  Examples:  First usable 132.178.0000001 ^ 0.00000000 subnet address: 132.178.2.0  First usable host 132.178.0000001 ^ 0.00000001 on the first subnet: 132.178.2.1  Second usable host 132.178.0000001 ^ 0.00000010 on the first subnet: 132.178.2.2 . . .  Last usable host 132.178.0000001 ^ 1.11111110 on the first subnet: 132.178.3.254  Broadcast address 132.178.0000001 ^ 1.11111111 for the first subnet: 132.178.3.255
  • 15.  Examples:  Second usable 132.178.0000010 ^ 0.00000000 subnet address: 132.178.4.0  Third usable 132.178.0000011 ^ 0.00000000 subnet address: 132.178.6.0 . . .  Ninety-first usable 132.178.1011011 ^ 0.00000000 subnet address: 132.178.182.0 . . .  Last usable 132.178.1111110 ^ 0.00000000 subnet address: 132.178.252.0
  • 16.  The subnet mask for this example is: 255.255.254.0 255.255.1111111 ^ 0.00000000  ANDing this mask with any valid host address on this network will always yield the subnet address.
  • 17.  Example: IP host address: 132.178.119.112 Last octets to binary: 132.178.0111011 ^ 1.01110000 AND subnet mask: 255.255.1111111 ^ 0.00000000 132.178.0111011 ^ 0.00000000 Subnet Address: 132.178.118.0
  • 18.

Editor's Notes

  1. See page 10 in the workbook and show students what happens with 255 octets in the mask when converted to binary for ANDing.