SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

Ip addressing
Ip addressingIp addressing
Ip addressingOnline
 
2_5316941097497270062.pdf
2_5316941097497270062.pdf2_5316941097497270062.pdf
2_5316941097497270062.pdfssuser451e7a1
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basicsMahmmoud Mahdi
 
IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPTPijush Kanti Das
 
IP Addressing (Subnetting, VLSM, Supernetting)
IP Addressing (Subnetting, VLSM, Supernetting)IP Addressing (Subnetting, VLSM, Supernetting)
IP Addressing (Subnetting, VLSM, Supernetting)cuetcse
 
IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6Adeel Rasheed
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1VISHNU N
 
IP Addressing and Subnetting
IP Addressing and SubnettingIP Addressing and Subnetting
IP Addressing and Subnettingcbtvid
 
Introduction to ip addressing by kalyan kk
Introduction to ip addressing by kalyan kkIntroduction to ip addressing by kalyan kk
Introduction to ip addressing by kalyan kkkalyan kumar
 
Internet protocol (ip)
Internet protocol (ip)Internet protocol (ip)
Internet protocol (ip)junnubabu
 

What's hot (20)

Classes of ip addresses
Classes of ip addressesClasses of ip addresses
Classes of ip addresses
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
2.6 ethernet ieee 802.3
2.6 ethernet   ieee 802.32.6 ethernet   ieee 802.3
2.6 ethernet ieee 802.3
 
What is Network Address Translation (NAT)
What is Network Address Translation (NAT)What is Network Address Translation (NAT)
What is Network Address Translation (NAT)
 
2_5316941097497270062.pdf
2_5316941097497270062.pdf2_5316941097497270062.pdf
2_5316941097497270062.pdf
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basics
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPT
 
IP Addressing (Subnetting, VLSM, Supernetting)
IP Addressing (Subnetting, VLSM, Supernetting)IP Addressing (Subnetting, VLSM, Supernetting)
IP Addressing (Subnetting, VLSM, Supernetting)
 
IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
IP Addressing and Subnetting
IP Addressing and SubnettingIP Addressing and Subnetting
IP Addressing and Subnetting
 
Ip addressing classful
Ip addressing classfulIp addressing classful
Ip addressing classful
 
Subnet calculation Tutorial
Subnet calculation TutorialSubnet calculation Tutorial
Subnet calculation Tutorial
 
Introduction to ip addressing by kalyan kk
Introduction to ip addressing by kalyan kkIntroduction to ip addressing by kalyan kk
Introduction to ip addressing by kalyan kk
 
Tcp IP Model
Tcp IP ModelTcp IP Model
Tcp IP Model
 
IP Subnetting
IP SubnettingIP Subnetting
IP Subnetting
 
Internet protocol (ip)
Internet protocol (ip)Internet protocol (ip)
Internet protocol (ip)
 
Subnetting
SubnettingSubnetting
Subnetting
 

Similar to 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
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting Saad Tanvir
 
Pjsmith ip addressing_&_subnetting_made_easy
Pjsmith ip addressing_&_subnetting_made_easyPjsmith ip addressing_&_subnetting_made_easy
Pjsmith ip addressing_&_subnetting_made_easyNaresh Gotad
 

Similar to 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
 
ffuyu yguyguyg.pptx
ffuyu yguyguyg.pptxffuyu yguyguyg.pptx
ffuyu yguyguyg.pptx
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting
 
Pjsmith ip addressing_&_subnetting_made_easy
Pjsmith ip addressing_&_subnetting_made_easyPjsmith ip addressing_&_subnetting_made_easy
Pjsmith ip addressing_&_subnetting_made_easy
 

Recently uploaded

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
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
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
#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
 
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
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 

Recently uploaded (20)

"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
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
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
#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
 
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...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
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
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 

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