SlideShare a Scribd company logo
1 of 23
Subnetting Basics ? ! ?




        NO !


                          1
Subnetting Basics Made Easy

                By:
          Michael D. Mann




     © Copyright 2011 by : Michael D. Mann   2
Subnetting Basics Made Easy

    Part 1: Prerequisites




                              3
Subnetting Basics
            Prerequisite Knowledge

 Class    1st Octet    Valid Network   Total       Number of
           Range         Numbers       Networks    hosts per
                                       for this    network
                                       class
           1 -126        1.0.0.0 to       126        224 – 2
  A
                         126.0.0.0                 16,777,214
N.H.H.H
          128 – 191     128.0.0.0 to    16,384       216 – 2
  B
                        191.255.0.0                  65,534
N.N.H.H
          192 – 223    192.0.0.0 -     2,097,152      28 – 2
  C
                      223.255.255.0                    254
N.N.N.H

           N = network octet H = host octet                     4
Subnetting Basics
     Prerequisite Knowledge
             Definitions
Network ID : all host bits are set to 0
      192.168.32.0000 0000
      Ex : 192.168.32.0 /24

Broadcast ID : all host bits are set to 1
       192.168.32.1111 1111
      Ex : 192.168.32.255 /24
   IP Address : any value in between
  192.168.32.0000 0001 – 1111 1110
      Ex : 192.168.32.1 - .254 /24
                                            5
Subnetting Basics
                     Prerequisite Knowledge
                      Prefix Length Notation
             There are 2 ways to express a subnet mask:
Dotted Decimal Notation:               Prefix Length Notation:

Class C mask: 255.255.255.0               Class C mask: /24

  255.255.255.0 = 1111 1111. 1111 1111. 1111 1111. 0000 0000

 Notice that there are 24 blue (network) bits. The PL number (/24)
indicates how many bits are being used to represent the network ID.

      Notice how the host bits are always 0 in a subnet mask
                                                                 6
Subnetting Basics
           Prerequisite Knowledge

    The default Class A, B, & C subnet masks


   Class A default subnet mask : 255.0.0.0 ( /8 )
Binary: 1111 1111.0000 0000.0000 0000.0000 0000

Class B default subnet mask : 255.255.0.0 ( /16 )
Binary: 1111 1111.1111 1111.0000 0000.0000 0000

Class C default subnet mask : 255.255.255.0 ( /24 )
Binary: 1111 1111.1111 1111.1111 1111.0000 0000
                                                      7
Subnetting Basics
                  Prerequisite Knowledge
                   Binary Number System

                  1 BYTE = 8 BITS : 1010 0001
Each bit position has an associated PLACE VALUE as indicated :
                27 26 25 24 23 22 21 20
                1 0 1 0 0 0 0 1

               128 + 32 +                  1    =   16110

      Add up the place values wherever you have a “1” bit

         This is how you convert from binary to decimal     8
Subnetting Basics Made Easy

Part 2: Identifying Subnet and
           Host Bits



                                 9
Subnetting Basics
   Identifying Subnet Bits in a Class C IP Address

Example (unsubnetted or classful): 192.168.32.158 /24

Example (subnetted or classless): 192.168.32.158 /28


Step 1: Notice that the prefix length (PL) indicator of the
subnetted example is /28. This number is greater than the
default PL indicator of /24. This tells you that the IP address is
subnetted.


                                                                10
Subnetting Basics
   Identifying Subnet Bits in a Class C IP Address

Example: 192.168.32. 158 /28

15810 = 1001 11102

Step 2: Examine the host octet by converting it to a binary
number.




                                                              11
Subnetting Basics
   Identifying Subnet Bits in a Class C IP Address

Example: 192.168.32.158 /28           15810 = 1001 11102

Step 3a Subnet Bits Rule: Subnet bits are “assigned” starting
with the high order bits in the host octet.

Step 3b: Subtract the default class C PL indicator from the
current PL indicator to get the number of bits to “assign”.

/28 - /24 = 4 bits must be “borrowed” for use as subnet bits.

                                                                12
Subnetting Basics
   Identifying Subnet Bits in a Class C IP Address

Example: 192.168.32.158 /28            15810 = 1001 11102

Step 4: 4 Subnet bits are “borrowed” starting with the high
order bits in the host octet. Color code these bits in blue using
an italicized font and color code the remaining host bits in red:

15810 = 1001 11102


                                                               13
Subnetting Basics

Part 3: Calculating The
  Number of Subnets



                          14
Subnetting Basics
           Calculating The Number of Subnets

Example: 192.168.32.158 /28

                         15810 = 1001 11102

Procedure: Use the equation 2X where X = the number of
subnet bits. There are four subnet (i.e. blue, italicized ) bits.
Therefore: 24 = 16, so there are 16 subnets available.



                                                                    15
Subnetting Basics
            Calculating The Number of Subnets

Example: 192.168.32.158 /28                15810 = 1001 11102

The 16 subnets are indicated by all possible combinations of the four subnet
bits. Note that the subnet ID numbers are shown in parentheses next to the
binary.

0000     (ID 0)                     1000     (ID 128)
0001     (ID 16)                    1001     (ID 144)
0010     (ID 32)                    1010     (ID 160)
0011     (ID 48)                    1011     (ID 176)
0100     (ID 64)                    1100     (ID 192)
0101     (ID 80)                    1101     (ID 208)
0110     (ID 96)                    1110     (ID 224)
0111     (ID 112)                   1111     (ID 240)
                                                                         16
Subnetting Basics
            Calculating The Number of Subnets

  Example: 192.168.32.158 /28               15810 = 1001 11102

The subnet ID numbers shown in parentheses in the previous
slide are the result of binary to decimal conversion using the
method as demonstrated in slide 8. The binary place values are
repeated below for your convenience:

27 = 128 26 = 64 25 = 32 24 = 16 23 = 8 22 = 4 21 = 2 20 = 1



                                                                 17
Subnetting Basics

Part 4: Calculating The
   Number of Hosts



                          18
Subnetting Basics
           Calculating The Number of Hosts

Example: 192.168.32.158 /28

                       15810 = 1001 11102

Procedure: Use the equation 2X - 2 where X = the number of
host bits. There are four host (i.e. red) bits.
Therefore: 24 – 2 = 14, so there are 14 hosts available.



                                                             19
Subnetting Basics
           Calculating The Number of Hosts

Example: 192.168.32.158 /28              15810 = 1001 11102
The host ID numbers are given by all possible combinations of
the four host bits:

0000   (ID 0)                1000   (ID 8)
0001   (ID 1)                1001   (ID 9)
0010   (ID 2)                1010   (ID 10)
0011   (ID 3)                1011   (ID 11)
0100   (ID 4)                1100   (ID 12)
0101   (ID 5)                1101   (ID 13)
0110   (ID 6)                1110   (ID 14)
                                                           20
0111   (ID 7)                1111   (ID 15)
Subnetting Basics
           Calculating The Number of Hosts

Example: 192.168.32.158 /28                15810 = 1001 11102
Why are the first and last hosts grayed out?
Hint: See slide 5.

0000   (ID 0)                 1000    (ID 8)
0001   (ID 1)                 1001    (ID 9)
0010   (ID 2)                 1010    (ID 10)
0011   (ID 3)                 1011    (ID 11)
0100   (ID 4)                 1100    (ID 12)
0101   (ID 5)                 1101    (ID 13)
0110   (ID 6)                 1110    (ID 14)
                                                         21
0111   (ID 7)                 1111    (ID 15)
Subnetting Basics
            Putting It All Together

       Example:      192.168.32.158 /28

              15810 = 1001 11102
                      144 14

  The host octet in this class C private IP address
identifies subnet ID #144, which contains host #14.



                                                      22
Subnetting Basics


Be sure to watch the complete Subnetting Basics
 presentation found in the Course Documents
         section of your Bb course shell.




                                                  23

More Related Content

What's hot

IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategyMustafa Salam
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting PresentationTouhidul Fahim
 
IP Address
IP AddressIP Address
IP AddressRahul P
 
IP Addressing and Subnetting
IP Addressing and SubnettingIP Addressing and Subnetting
IP Addressing and Subnettingcbtvid
 
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
 
IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6Adeel Rasheed
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP AddressingKushal Sheth
 
Ip addressing
Ip addressingIp addressing
Ip addressingsid1322
 
Subnetting supernetting
Subnetting supernettingSubnetting supernetting
Subnetting supernettingwacasr12
 
IPv6 Fundamentals
IPv6 FundamentalsIPv6 Fundamentals
IPv6 FundamentalsMatt Bynum
 
Multiprotocol label switching (mpls) - Networkshop44
Multiprotocol label switching (mpls)  - Networkshop44Multiprotocol label switching (mpls)  - Networkshop44
Multiprotocol label switching (mpls) - Networkshop44Jisc
 

What's hot (20)

IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting Presentation
 
Subnet Mask
Subnet MaskSubnet Mask
Subnet Mask
 
IP Address
IP AddressIP Address
IP Address
 
IP Addressing and Subnetting
IP Addressing and SubnettingIP Addressing and Subnetting
IP Addressing 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
 
IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP Addressing
 
Sub Netting
Sub NettingSub Netting
Sub Netting
 
Ospf.ppt
Ospf.pptOspf.ppt
Ospf.ppt
 
Ip address
Ip address Ip address
Ip address
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Subnetting made simple
Subnetting made simpleSubnetting made simple
Subnetting made simple
 
IPv4
IPv4IPv4
IPv4
 
Subnetting supernetting
Subnetting supernettingSubnetting supernetting
Subnetting supernetting
 
Ipv4 & ipv6
Ipv4 & ipv6Ipv4 & ipv6
Ipv4 & ipv6
 
IPv6 Fundamentals
IPv6 FundamentalsIPv6 Fundamentals
IPv6 Fundamentals
 
Subnetting
SubnettingSubnetting
Subnetting
 
Mpls technology
Mpls technologyMpls technology
Mpls technology
 
Multiprotocol label switching (mpls) - Networkshop44
Multiprotocol label switching (mpls)  - Networkshop44Multiprotocol label switching (mpls)  - Networkshop44
Multiprotocol label switching (mpls) - Networkshop44
 

Viewers also liked

Subnetting dan Supernetting
Subnetting dan SupernettingSubnetting dan Supernetting
Subnetting dan SupernettingZainuddin Kurnia
 
Crm siebel
Crm siebelCrm siebel
Crm siebelcrm2life
 
MIS 18 Enterprise Management System
MIS 18 Enterprise Management SystemMIS 18 Enterprise Management System
MIS 18 Enterprise Management SystemTushar B Kute
 
Gen7176 siebel crm strategy and roadmap (1)
Gen7176   siebel crm strategy and roadmap (1)Gen7176   siebel crm strategy and roadmap (1)
Gen7176 siebel crm strategy and roadmap (1)crm2life
 
Crm siebel
Crm siebelCrm siebel
Crm siebelcrm2life
 
Siebel System: Anatomy of a Sale, Part 1
Siebel System:  Anatomy of a Sale, Part 1Siebel System:  Anatomy of a Sale, Part 1
Siebel System: Anatomy of a Sale, Part 1Anant Lodha
 
Lesson 10: Managing Printers
Lesson 10: Managing PrintersLesson 10: Managing Printers
Lesson 10: Managing PrintersMahmmoud Mahdi
 
Enterprise Systems
Enterprise SystemsEnterprise Systems
Enterprise SystemsSaurabh Goel
 
Lesson.7: Configuring IP Routing A
Lesson.7: Configuring IP Routing ALesson.7: Configuring IP Routing A
Lesson.7: Configuring IP Routing AMahmmoud Mahdi
 
Lesson 4: Network Infrastucture
Lesson 4: Network InfrastuctureLesson 4: Network Infrastucture
Lesson 4: Network InfrastuctureMahmmoud Mahdi
 
Lesson 9: Managing Files
Lesson 9: Managing FilesLesson 9: Managing Files
Lesson 9: Managing FilesMahmmoud Mahdi
 
Cyber security tutorial1
Cyber security tutorial1Cyber security tutorial1
Cyber security tutorial1sweta dargad
 
Enterprise Information Systems
Enterprise Information SystemsEnterprise Information Systems
Enterprise Information SystemsGoutama Bachtiar
 
Introduction: Enterprise Systems for Management
Introduction: Enterprise Systems for ManagementIntroduction: Enterprise Systems for Management
Introduction: Enterprise Systems for ManagementKanishka Gopal
 
Windump
WindumpWindump
Windumpjk847
 
Lesson 6: Dynamic Host Configuration Protocol B
Lesson 6: Dynamic Host Configuration Protocol BLesson 6: Dynamic Host Configuration Protocol B
Lesson 6: Dynamic Host Configuration Protocol BMahmmoud Mahdi
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basicsMahmmoud Mahdi
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol AMahmmoud Mahdi
 
Enterprise resource planning ppt
Enterprise resource planning pptEnterprise resource planning ppt
Enterprise resource planning pptShivani Garg
 

Viewers also liked (20)

Subnetting dan Supernetting
Subnetting dan SupernettingSubnetting dan Supernetting
Subnetting dan Supernetting
 
Crm siebel
Crm siebelCrm siebel
Crm siebel
 
MIS 18 Enterprise Management System
MIS 18 Enterprise Management SystemMIS 18 Enterprise Management System
MIS 18 Enterprise Management System
 
Gen7176 siebel crm strategy and roadmap (1)
Gen7176   siebel crm strategy and roadmap (1)Gen7176   siebel crm strategy and roadmap (1)
Gen7176 siebel crm strategy and roadmap (1)
 
Crm siebel
Crm siebelCrm siebel
Crm siebel
 
Siebel System: Anatomy of a Sale, Part 1
Siebel System:  Anatomy of a Sale, Part 1Siebel System:  Anatomy of a Sale, Part 1
Siebel System: Anatomy of a Sale, Part 1
 
Lesson 10: Managing Printers
Lesson 10: Managing PrintersLesson 10: Managing Printers
Lesson 10: Managing Printers
 
Enterprise Systems
Enterprise SystemsEnterprise Systems
Enterprise Systems
 
Lesson.7: Configuring IP Routing A
Lesson.7: Configuring IP Routing ALesson.7: Configuring IP Routing A
Lesson.7: Configuring IP Routing A
 
Lesson 4: Network Infrastucture
Lesson 4: Network InfrastuctureLesson 4: Network Infrastucture
Lesson 4: Network Infrastucture
 
Lesson 9: Managing Files
Lesson 9: Managing FilesLesson 9: Managing Files
Lesson 9: Managing Files
 
Cyber security tutorial1
Cyber security tutorial1Cyber security tutorial1
Cyber security tutorial1
 
Enterprise Information Systems
Enterprise Information SystemsEnterprise Information Systems
Enterprise Information Systems
 
Introduction: Enterprise Systems for Management
Introduction: Enterprise Systems for ManagementIntroduction: Enterprise Systems for Management
Introduction: Enterprise Systems for Management
 
Windump
WindumpWindump
Windump
 
Lesson 6: Dynamic Host Configuration Protocol B
Lesson 6: Dynamic Host Configuration Protocol BLesson 6: Dynamic Host Configuration Protocol B
Lesson 6: Dynamic Host Configuration Protocol B
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basics
 
Subnetting
SubnettingSubnetting
Subnetting
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
 
Enterprise resource planning ppt
Enterprise resource planning pptEnterprise resource planning ppt
Enterprise resource planning ppt
 

Similar to Subnetting Basics Tutorial

Similar to Subnetting Basics Tutorial (20)

IPv4 Addressing Architecture
IPv4 Addressing ArchitectureIPv4 Addressing Architecture
IPv4 Addressing Architecture
 
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.ppt
IP Addressing.pptIP Addressing.ppt
IP Addressing.ppt
 
subnet.ppt
subnet.pptsubnet.ppt
subnet.ppt
 
Ccent notes part 3
Ccent notes part 3Ccent notes part 3
Ccent notes part 3
 
Ip address presentation
Ip address presentationIp address presentation
Ip address presentation
 
Ipaddressing
IpaddressingIpaddressing
Ipaddressing
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
IP classes and subnetting.
IP classes and subnetting.IP classes and subnetting.
IP classes and subnetting.
 
Ip addresses
Ip addressesIp addresses
Ip addresses
 
How IP address works
How IP address worksHow IP address works
How IP address works
 
Expl net fund_chapter_06_i_pv4_part_1
Expl net fund_chapter_06_i_pv4_part_1Expl net fund_chapter_06_i_pv4_part_1
Expl net fund_chapter_06_i_pv4_part_1
 
TCP/IP suite presentation slides and data.pptx
TCP/IP suite presentation slides and data.pptxTCP/IP suite presentation slides and data.pptx
TCP/IP suite presentation slides and data.pptx
 
Ip -subnetting
Ip  -subnettingIp  -subnetting
Ip -subnetting
 
Assignment 1 iap
Assignment 1 iapAssignment 1 iap
Assignment 1 iap
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
I Paddress
I PaddressI Paddress
I Paddress
 
Chap3. i pv4
Chap3. i pv4Chap3. i pv4
Chap3. i pv4
 

Recently uploaded

NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 

Recently uploaded (20)

NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 

Subnetting Basics Tutorial

  • 1. Subnetting Basics ? ! ? NO ! 1
  • 2. Subnetting Basics Made Easy By: Michael D. Mann © Copyright 2011 by : Michael D. Mann 2
  • 3. Subnetting Basics Made Easy Part 1: Prerequisites 3
  • 4. Subnetting Basics Prerequisite Knowledge Class 1st Octet Valid Network Total Number of Range Numbers Networks hosts per for this network class 1 -126 1.0.0.0 to 126 224 – 2 A 126.0.0.0 16,777,214 N.H.H.H 128 – 191 128.0.0.0 to 16,384 216 – 2 B 191.255.0.0 65,534 N.N.H.H 192 – 223 192.0.0.0 - 2,097,152 28 – 2 C 223.255.255.0 254 N.N.N.H N = network octet H = host octet 4
  • 5. Subnetting Basics Prerequisite Knowledge Definitions Network ID : all host bits are set to 0 192.168.32.0000 0000 Ex : 192.168.32.0 /24 Broadcast ID : all host bits are set to 1 192.168.32.1111 1111 Ex : 192.168.32.255 /24 IP Address : any value in between 192.168.32.0000 0001 – 1111 1110 Ex : 192.168.32.1 - .254 /24 5
  • 6. Subnetting Basics Prerequisite Knowledge Prefix Length Notation There are 2 ways to express a subnet mask: Dotted Decimal Notation: Prefix Length Notation: Class C mask: 255.255.255.0 Class C mask: /24 255.255.255.0 = 1111 1111. 1111 1111. 1111 1111. 0000 0000 Notice that there are 24 blue (network) bits. The PL number (/24) indicates how many bits are being used to represent the network ID. Notice how the host bits are always 0 in a subnet mask 6
  • 7. Subnetting Basics Prerequisite Knowledge The default Class A, B, & C subnet masks Class A default subnet mask : 255.0.0.0 ( /8 ) Binary: 1111 1111.0000 0000.0000 0000.0000 0000 Class B default subnet mask : 255.255.0.0 ( /16 ) Binary: 1111 1111.1111 1111.0000 0000.0000 0000 Class C default subnet mask : 255.255.255.0 ( /24 ) Binary: 1111 1111.1111 1111.1111 1111.0000 0000 7
  • 8. Subnetting Basics Prerequisite Knowledge Binary Number System 1 BYTE = 8 BITS : 1010 0001 Each bit position has an associated PLACE VALUE as indicated : 27 26 25 24 23 22 21 20 1 0 1 0 0 0 0 1 128 + 32 + 1 = 16110 Add up the place values wherever you have a “1” bit This is how you convert from binary to decimal 8
  • 9. Subnetting Basics Made Easy Part 2: Identifying Subnet and Host Bits 9
  • 10. Subnetting Basics Identifying Subnet Bits in a Class C IP Address Example (unsubnetted or classful): 192.168.32.158 /24 Example (subnetted or classless): 192.168.32.158 /28 Step 1: Notice that the prefix length (PL) indicator of the subnetted example is /28. This number is greater than the default PL indicator of /24. This tells you that the IP address is subnetted. 10
  • 11. Subnetting Basics Identifying Subnet Bits in a Class C IP Address Example: 192.168.32. 158 /28 15810 = 1001 11102 Step 2: Examine the host octet by converting it to a binary number. 11
  • 12. Subnetting Basics Identifying Subnet Bits in a Class C IP Address Example: 192.168.32.158 /28 15810 = 1001 11102 Step 3a Subnet Bits Rule: Subnet bits are “assigned” starting with the high order bits in the host octet. Step 3b: Subtract the default class C PL indicator from the current PL indicator to get the number of bits to “assign”. /28 - /24 = 4 bits must be “borrowed” for use as subnet bits. 12
  • 13. Subnetting Basics Identifying Subnet Bits in a Class C IP Address Example: 192.168.32.158 /28 15810 = 1001 11102 Step 4: 4 Subnet bits are “borrowed” starting with the high order bits in the host octet. Color code these bits in blue using an italicized font and color code the remaining host bits in red: 15810 = 1001 11102 13
  • 14. Subnetting Basics Part 3: Calculating The Number of Subnets 14
  • 15. Subnetting Basics Calculating The Number of Subnets Example: 192.168.32.158 /28 15810 = 1001 11102 Procedure: Use the equation 2X where X = the number of subnet bits. There are four subnet (i.e. blue, italicized ) bits. Therefore: 24 = 16, so there are 16 subnets available. 15
  • 16. Subnetting Basics Calculating The Number of Subnets Example: 192.168.32.158 /28 15810 = 1001 11102 The 16 subnets are indicated by all possible combinations of the four subnet bits. Note that the subnet ID numbers are shown in parentheses next to the binary. 0000 (ID 0) 1000 (ID 128) 0001 (ID 16) 1001 (ID 144) 0010 (ID 32) 1010 (ID 160) 0011 (ID 48) 1011 (ID 176) 0100 (ID 64) 1100 (ID 192) 0101 (ID 80) 1101 (ID 208) 0110 (ID 96) 1110 (ID 224) 0111 (ID 112) 1111 (ID 240) 16
  • 17. Subnetting Basics Calculating The Number of Subnets Example: 192.168.32.158 /28 15810 = 1001 11102 The subnet ID numbers shown in parentheses in the previous slide are the result of binary to decimal conversion using the method as demonstrated in slide 8. The binary place values are repeated below for your convenience: 27 = 128 26 = 64 25 = 32 24 = 16 23 = 8 22 = 4 21 = 2 20 = 1 17
  • 18. Subnetting Basics Part 4: Calculating The Number of Hosts 18
  • 19. Subnetting Basics Calculating The Number of Hosts Example: 192.168.32.158 /28 15810 = 1001 11102 Procedure: Use the equation 2X - 2 where X = the number of host bits. There are four host (i.e. red) bits. Therefore: 24 – 2 = 14, so there are 14 hosts available. 19
  • 20. Subnetting Basics Calculating The Number of Hosts Example: 192.168.32.158 /28 15810 = 1001 11102 The host ID numbers are given by all possible combinations of the four host bits: 0000 (ID 0) 1000 (ID 8) 0001 (ID 1) 1001 (ID 9) 0010 (ID 2) 1010 (ID 10) 0011 (ID 3) 1011 (ID 11) 0100 (ID 4) 1100 (ID 12) 0101 (ID 5) 1101 (ID 13) 0110 (ID 6) 1110 (ID 14) 20 0111 (ID 7) 1111 (ID 15)
  • 21. Subnetting Basics Calculating The Number of Hosts Example: 192.168.32.158 /28 15810 = 1001 11102 Why are the first and last hosts grayed out? Hint: See slide 5. 0000 (ID 0) 1000 (ID 8) 0001 (ID 1) 1001 (ID 9) 0010 (ID 2) 1010 (ID 10) 0011 (ID 3) 1011 (ID 11) 0100 (ID 4) 1100 (ID 12) 0101 (ID 5) 1101 (ID 13) 0110 (ID 6) 1110 (ID 14) 21 0111 (ID 7) 1111 (ID 15)
  • 22. Subnetting Basics Putting It All Together Example: 192.168.32.158 /28 15810 = 1001 11102 144 14 The host octet in this class C private IP address identifies subnet ID #144, which contains host #14. 22
  • 23. Subnetting Basics Be sure to watch the complete Subnetting Basics presentation found in the Course Documents section of your Bb course shell. 23