SlideShare uma empresa Scribd logo
1 de 18
Subnetting
Finding Hosts and subnets
Subnetting: Finding Hosts and Subnets
Knowing how to subnet a very important part of
creating a computer network. You must know how
to divide your IP addresses among your routers,
switches and workstations. This is to use all your IP
addresses efficiently and to ensure your network
operates with as few problems as possible. When
you are creating your network you must determine
the number of hosts and subnets that will need to
be used.
So what are Hosts and
Subnets?
Subnetting: Finding Hosts and Subnets
A Host in relationship to a network is a
computer/device that connectivity to your
network and is able to communicate with
other computer and devices. A host address is
used to identify a device that is on the
network. When this host address is combined
with a network address a 32 bit IP address is
created.
Subnetting: Finding Hosts and Subnets
Subnetting: Finding Hosts and Subnets
A Subnet or subnetwork is a subdivision of
your IP network. Subnetting allows you to
create multiple logical networks that exist
within a single Class A, B, or C network. If you
do not subnet, you are only able to use one
network from your Class A, B, or C network,
which is unrealistic.
Subnet Address: How are they constructed?
Subnetting: Finding Hosts and Subnets
Subnetting: Finding Hosts and Subnets
An IPv4 address is made up of 8 bits. These 8 bits are arranged into octets. When you have 4 octets you have a full 32bit
IPv4 IP address as the illustration below has displayed. Each byte in the octet has a place value that from 128-1. How do we
get to 128 from 1? That is simple each place value is doubled. That is to say (1+1=2, 2+2=4, 4+4=8, etc.. To 128) . When the
IP address is displayed in binary, as seen below, when the bit is used it is marked with a one (1). If the bit is not needed or
used it will be marked with a zero(0).
8 Bits =1 Octet 8 Bits =1 Octet8 Bits =1 Octet8 Bits =1 Octet
32 Bits = 4 Octets = One IPv4 Address
Subnetting: Finding Hosts and Subnets
In order to figure out which octet is valued at all you need to do is to add up the place
holders that are marked with a one(1) meaning this bit is being used. As seen in the display
below in the first three octets if you add 128+64+32+16+8+4+2+1 = 255. This also indicates
that all the bits are being used in this octet. Now in the fourth octet when we add the bits
that are on which are 128+64+32+16 = 240. The subnet IP address is 255.255.255.240.
255 240255255
IP Addresses: The divide between Hosts and Subnets
Subnetting: Finding Hosts and Subnets
Subnetting: Finding Hosts and Subnets
The number of hosts or subnets depends on the Class of network. For instance a Class "A" network requires more hosts
then subnets. A Class "C" network requires more subnets. When determining how many hosts and subnets are needed
always remember the hosts you need the less subnets you have. The more subnets that are needed the less hosts you have
to use in your network.
8 Bits =1 Octet 8 Bits =1 Octet8 Bits =1 Octet8 Bits =1 Octet
32 Bits = 4 Octets = One IPv4 Address
Network Address HostSubnet
The chart displays the subnet for each network class. As describes to you in the previous
slide the Class "A" network has the least amount of network/subnets and the most hosts.
While the Class"C" has the most networks/subnets and the least amount of hosts.
IP Addresses: The divide between Hosts and Subnets
Continued
Subnetting: Finding Hosts and Subnets
Finding the Subnets: The Math Part
When you are determining the number of subnets that are need for your network the
formula that is used is 2^n (n=number of borrowed bits from the host) . No in the
diagram below we have the last two octets of out IP address displayed in the actual
number and in binary. When you apply the formula 2^n what you are calculating is the
number of bits that are being used or marked as one “1”. So our formula is 24 or
2x2x2x2 = 16 . So the number of subnets is 16.
Finding the Subnets: The Math Part
HostNetwork Address Subnet
255 240
24 = 16
2x2x2x2=16
Or 16 Subnets
Subnetting: Finding Hosts and Subnets
Finding the Hosts per Subnet:
The Math Part
When you are determining the number of hosts per subnet that are need for your network the
formula that is used is 2^n -2 (n= number of bits in the host portion. Then we subtract 2) . In
the diagram below we have the last two octets of our subnet address displayed in the actual
number and in binary. When you apply the formula 2^n -2 what you are calculating is the
number of bits that are not being used or marked as zero “0” from the host bits. You must
subtract 2 because an address consisting of all 0 bits specifies the network, and an address of
all 1 bits is used for network broadcasts. So our formula is 24 -2 or (2x2x2x2) -2. So the
number of hosts per subnet is 14.
Finding the Hosts per Subnet: The Math Part
HostNetwork Address Subnet
255 240
24 -2 = 14
2x2x2x2=16, 16 -2 =14
Or 14 Subnets
Now that you understand how to find hosts and subnets how do you find the
subnet mask when all you have is an IP address and the number of subnets?
IP 192.168.10.0 You need 14 subnets. What is the subnet mask?
To solve this you need to work the 2^n -2 formula in reverse. The formula will
be 2^n +2. 14 subnets = 24 +2 = 16 which is the number of subnets. You use
the 24 which indicates the number of bits that are used in the subnet and add
then together for the subnet address or 128+64+32+16 which is 240.
Subnetting: Finding Hosts and Subnets
HostNetwork Address Subnet
255 240
24 +2 = 16
14 +2 =16, 2x2x2x2=16
Or
The subnet mask is
255.255.255.240
Now that you have reviewed this presentation you should now know how to
find Subnets, Hosts per Subnet , or find the subnet mask. Of course you need
to practice these skills to keep them sharp. If you have any questions always
feel free to ask.
Oh yes I nearly forgot. There is a cheat sheet on the last slide. Don’t always
depend on knowing the cheat sheet. It’s good to have when you are taking a
test, it is always better to know how to find the solution on your own.
Subnetting: Finding Hosts and Subnets
The Cheat Sheet

Mais conteúdo relacionado

Mais procurados

Ip Addressing
Ip AddressingIp Addressing
Ip Addressingvssnsarma
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnettingShashank Asthana
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting PresentationTouhidul Fahim
 
IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6Adeel Rasheed
 
IP addressing seminar ppt
IP addressing seminar pptIP addressing seminar ppt
IP addressing seminar pptSmriti Rastogi
 
Ip addresses
Ip addressesIp addresses
Ip addressesAsif
 
IP Addressing and Subnetting
IP Addressing and SubnettingIP Addressing and Subnetting
IP Addressing and Subnettingcbtvid
 
IP Addressing and subnetting
IP Addressing and subnettingIP Addressing and subnetting
IP Addressing and subnettingAli Nezhad
 
Networking- OSI Layer Protocol Functions
Networking- OSI Layer Protocol FunctionsNetworking- OSI Layer Protocol Functions
Networking- OSI Layer Protocol FunctionsGayathri Kesavan
 
IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPTPijush Kanti Das
 
Ip addressing
Ip addressingIp addressing
Ip addressingsid1322
 
Subnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examplesSubnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examplesKrishna Mohan
 
Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorialmikem801
 

Mais procurados (20)

Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnetting
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting Presentation
 
Subnetting
SubnettingSubnetting
Subnetting
 
IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6
 
IP addressing seminar ppt
IP addressing seminar pptIP addressing seminar ppt
IP addressing seminar ppt
 
CCNA IP Addressing
CCNA IP AddressingCCNA IP Addressing
CCNA IP Addressing
 
Ip addresses
Ip addressesIp addresses
Ip addresses
 
IP Addressing and Subnetting
IP Addressing and SubnettingIP Addressing and Subnetting
IP Addressing and Subnetting
 
IPV4 vs IPV6
IPV4 vs IPV6IPV4 vs IPV6
IPV4 vs IPV6
 
IP Addressing and subnetting
IP Addressing and subnettingIP Addressing and subnetting
IP Addressing and subnetting
 
Networking- OSI Layer Protocol Functions
Networking- OSI Layer Protocol FunctionsNetworking- OSI Layer Protocol Functions
Networking- OSI Layer Protocol Functions
 
IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPT
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Ip addressing classful
Ip addressing classfulIp addressing classful
Ip addressing classful
 
Subnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examplesSubnetting (FLSM & VLSM) with examples
Subnetting (FLSM & VLSM) with examples
 
Easy subnetting
Easy subnettingEasy subnetting
Easy subnetting
 
Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorial
 

Semelhante a Subnetting

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
 
Pjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasyPjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasyKashif Sohail
 
Subnetting in network layer in computer networks
Subnetting in network layer in computer networksSubnetting in network layer in computer networks
Subnetting in network layer in computer networkskarthiktyagi2
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxgamerchan1
 
IP addressing and subnetting.pptx
IP addressing and subnetting.pptxIP addressing and subnetting.pptx
IP addressing and subnetting.pptxnaseerahmad707715
 
Networking notes 2
Networking notes 2Networking notes 2
Networking notes 2Beth Bauzon
 
Ipaddress presentationdemoclass
Ipaddress presentationdemoclassIpaddress presentationdemoclass
Ipaddress presentationdemoclassaskme
 
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
 
Routing and switching
Routing and switchingRouting and switching
Routing and switchingneclinux
 
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
 
SubNetwork Calculator (Python Project)
SubNetwork Calculator (Python Project)SubNetwork Calculator (Python Project)
SubNetwork Calculator (Python Project)Dmitry Ponomarenko
 
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.pptxShaqib3
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting Saad Tanvir
 

Semelhante a Subnetting (20)

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
 
Pjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasyPjsmith ip addressing & subnetting madeeasy
Pjsmith ip addressing & subnetting madeeasy
 
Subnetting in network layer in computer networks
Subnetting in network layer in computer networksSubnetting in network layer in computer networks
Subnetting in network layer in computer networks
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptx
 
IP addressing and subnetting.pptx
IP addressing and subnetting.pptxIP addressing and subnetting.pptx
IP addressing and subnetting.pptx
 
Networking notes 2
Networking notes 2Networking notes 2
Networking notes 2
 
Bots.pdf
Bots.pdfBots.pdf
Bots.pdf
 
Ipaddress presentationdemoclass
Ipaddress presentationdemoclassIpaddress presentationdemoclass
Ipaddress presentationdemoclass
 
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
 
Ip basics
Ip basicsIp basics
Ip basics
 
Subnetting
SubnettingSubnetting
Subnetting
 
13788 3
13788 313788 3
13788 3
 
Routing and switching
Routing and switchingRouting and switching
Routing and switching
 
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) ...
 
SubNetwork Calculator (Python Project)
SubNetwork Calculator (Python Project)SubNetwork Calculator (Python Project)
SubNetwork Calculator (Python Project)
 
I Paddress
I PaddressI Paddress
I Paddress
 
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
 
ffuyu yguyguyg.pptx
ffuyu yguyguyg.pptxffuyu yguyguyg.pptx
ffuyu yguyguyg.pptx
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting
 

Último

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 

Último (20)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

Subnetting

  • 2. Subnetting: Finding Hosts and Subnets Knowing how to subnet a very important part of creating a computer network. You must know how to divide your IP addresses among your routers, switches and workstations. This is to use all your IP addresses efficiently and to ensure your network operates with as few problems as possible. When you are creating your network you must determine the number of hosts and subnets that will need to be used.
  • 3. So what are Hosts and Subnets? Subnetting: Finding Hosts and Subnets
  • 4. A Host in relationship to a network is a computer/device that connectivity to your network and is able to communicate with other computer and devices. A host address is used to identify a device that is on the network. When this host address is combined with a network address a 32 bit IP address is created. Subnetting: Finding Hosts and Subnets
  • 5. Subnetting: Finding Hosts and Subnets A Subnet or subnetwork is a subdivision of your IP network. Subnetting allows you to create multiple logical networks that exist within a single Class A, B, or C network. If you do not subnet, you are only able to use one network from your Class A, B, or C network, which is unrealistic.
  • 6. Subnet Address: How are they constructed? Subnetting: Finding Hosts and Subnets
  • 7. Subnetting: Finding Hosts and Subnets An IPv4 address is made up of 8 bits. These 8 bits are arranged into octets. When you have 4 octets you have a full 32bit IPv4 IP address as the illustration below has displayed. Each byte in the octet has a place value that from 128-1. How do we get to 128 from 1? That is simple each place value is doubled. That is to say (1+1=2, 2+2=4, 4+4=8, etc.. To 128) . When the IP address is displayed in binary, as seen below, when the bit is used it is marked with a one (1). If the bit is not needed or used it will be marked with a zero(0). 8 Bits =1 Octet 8 Bits =1 Octet8 Bits =1 Octet8 Bits =1 Octet 32 Bits = 4 Octets = One IPv4 Address
  • 8. Subnetting: Finding Hosts and Subnets In order to figure out which octet is valued at all you need to do is to add up the place holders that are marked with a one(1) meaning this bit is being used. As seen in the display below in the first three octets if you add 128+64+32+16+8+4+2+1 = 255. This also indicates that all the bits are being used in this octet. Now in the fourth octet when we add the bits that are on which are 128+64+32+16 = 240. The subnet IP address is 255.255.255.240. 255 240255255
  • 9. IP Addresses: The divide between Hosts and Subnets Subnetting: Finding Hosts and Subnets
  • 10. Subnetting: Finding Hosts and Subnets The number of hosts or subnets depends on the Class of network. For instance a Class "A" network requires more hosts then subnets. A Class "C" network requires more subnets. When determining how many hosts and subnets are needed always remember the hosts you need the less subnets you have. The more subnets that are needed the less hosts you have to use in your network. 8 Bits =1 Octet 8 Bits =1 Octet8 Bits =1 Octet8 Bits =1 Octet 32 Bits = 4 Octets = One IPv4 Address Network Address HostSubnet
  • 11. The chart displays the subnet for each network class. As describes to you in the previous slide the Class "A" network has the least amount of network/subnets and the most hosts. While the Class"C" has the most networks/subnets and the least amount of hosts. IP Addresses: The divide between Hosts and Subnets Continued
  • 12. Subnetting: Finding Hosts and Subnets Finding the Subnets: The Math Part
  • 13. When you are determining the number of subnets that are need for your network the formula that is used is 2^n (n=number of borrowed bits from the host) . No in the diagram below we have the last two octets of out IP address displayed in the actual number and in binary. When you apply the formula 2^n what you are calculating is the number of bits that are being used or marked as one “1”. So our formula is 24 or 2x2x2x2 = 16 . So the number of subnets is 16. Finding the Subnets: The Math Part HostNetwork Address Subnet 255 240 24 = 16 2x2x2x2=16 Or 16 Subnets
  • 14. Subnetting: Finding Hosts and Subnets Finding the Hosts per Subnet: The Math Part
  • 15. When you are determining the number of hosts per subnet that are need for your network the formula that is used is 2^n -2 (n= number of bits in the host portion. Then we subtract 2) . In the diagram below we have the last two octets of our subnet address displayed in the actual number and in binary. When you apply the formula 2^n -2 what you are calculating is the number of bits that are not being used or marked as zero “0” from the host bits. You must subtract 2 because an address consisting of all 0 bits specifies the network, and an address of all 1 bits is used for network broadcasts. So our formula is 24 -2 or (2x2x2x2) -2. So the number of hosts per subnet is 14. Finding the Hosts per Subnet: The Math Part HostNetwork Address Subnet 255 240 24 -2 = 14 2x2x2x2=16, 16 -2 =14 Or 14 Subnets
  • 16. Now that you understand how to find hosts and subnets how do you find the subnet mask when all you have is an IP address and the number of subnets? IP 192.168.10.0 You need 14 subnets. What is the subnet mask? To solve this you need to work the 2^n -2 formula in reverse. The formula will be 2^n +2. 14 subnets = 24 +2 = 16 which is the number of subnets. You use the 24 which indicates the number of bits that are used in the subnet and add then together for the subnet address or 128+64+32+16 which is 240. Subnetting: Finding Hosts and Subnets HostNetwork Address Subnet 255 240 24 +2 = 16 14 +2 =16, 2x2x2x2=16 Or The subnet mask is 255.255.255.240
  • 17. Now that you have reviewed this presentation you should now know how to find Subnets, Hosts per Subnet , or find the subnet mask. Of course you need to practice these skills to keep them sharp. If you have any questions always feel free to ask. Oh yes I nearly forgot. There is a cheat sheet on the last slide. Don’t always depend on knowing the cheat sheet. It’s good to have when you are taking a test, it is always better to know how to find the solution on your own. Subnetting: Finding Hosts and Subnets