Public IP               Private IP                      Subnet Mask
Class A    1.0.0.0 – 126.0.0.0       10.0.0.0 – 10.255.255.255       255.0.0.0
Class B   128.0.0.0 – 191.0.0.0    172.16.0.0 – 172.31.255.255      255.255.0.0
Class C   192.0.0.0 – 223.0.0.0   192.168.0.0 – 192.168.255.255    255.255.255.0
Class D   224.0.0.0 – 239.0.0.0                x                  255.255.255.255
Class E   240.0.0.0 – 255.0.0.0                x                  255.255.255.255




 First 8 Bits = Network ID              A          First 8 Bits = Network ID
 First 16 Bits = Network ID             B          First 12 Bits = Network ID
 First 24 Bits = Network ID             C          First 16 Bits = Network ID

          = Bits 8 + 8+ 8 + 8 (11111111.11111111.11111111.00000000) = 32 bits
          = 8 bits (11111111)
          = Mask Bit (ON)                      0     =       Unmask Bit (OFF)
CIDR           :    Total ON bits of whole Subnet Mask.
             X            :    Total ON bits in octets of Class wise Host ID.
             Y            :    Total OFF bits in octets of Class wise Host ID.
     Overall Subnets       :    2X
Possible Hosts per Subnet :    2Y – 2
      Valid Subnets       :    256 – calculated Subnet.
     Possible Hosts       :    IPs in range of Valid Subnets.



              Click here for details in IP Addressing & Subnetting.
Solved Examples

Q : Give the number of Total Subnets, Hosts per Subnet, Valid Subnets
and Possible Hosts of the IP - 10.0.0.0 with a subnet mask of
255.255.240.0



                                     Answer :

X                   :    8+4+0=12
Y                   :    0+4+8=12
CIDR               :    8+8+4+0=20
Overall Subnets    :    2x = 64(6) x 64(6) = 4096(12)
Hosts per Subnet   :    2y-2 = 4096(12)-2 = 4094
Valid Subnets      :    256-Calculated Subnet = 256-240 = 16
Possible Hosts     :    10.0.0.0 - 10.0.15.255
                        10.0.16.0 - 10.0.255.255
                        10.0.32.0 - 10.0.47.255
7            6            5         4           3             2           1           0
           2         2            2            2         2             2           2           2
               128       64           32           16        8             4           2           1


                 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255



Decimal 56… then Binary…?

Let’s count the on & off bits in the value 56..                      So, as counting in descending order..
                                                                     The ON bits in value – 54 are – 32, 8, 4,
128 & 64 can’t be subtracted from 56.                                2, & 1.
Hence.. 56 – 32 = 14
Now what can be subtracted from 14..?                                Therefore the Binary value of 56 is 
Exactly.. 14 – 8 = 6                                                 00101110
Therefore.. 6 – 4 = 2
2 – 2= 0
Decimal   Hexadecimal
0         0
                        First divide the DEC number by 16.
1         1             Now write down the remainder .
                        The remainder is converted to HEX.
2         2
                        Now divide Quotient by 16.
3         3             Again, the remainder is converted to HEX.

4         4             And it keeps on like this..

5         5             Finally, we put the numbers together.
                        The remainder from our first division goes into the unit place.
6         6             Our remainder from our second division goes into the tens place.
                        And it keeps on like this..
7         7             So now our answer is ready…!!

8         8
9         9             DEC 56.. Then HEX..?
10        A                                                             So the answer is 
                        56 / 16 = 3.8 8                                 38
                        3 / 16 = 0.3 3
11        B
12        C
13        D
                                    4096              256           16            1
14        E
                                                                    3             8
15        F
                                                Hex 38 = (8 x 1) + (3 x 16)
                                                       = 56

More Related Content

PPT
Subnetting
KEY
IP Addressing and Subnetting Basics
PPT
Subnetting Made Easy
PDF
Easy IP Addressing and Subnetting Manual for Starters
PPT
Subnetting Made Easy
PDF
QuickTutorial Guide Advanced Topics in IP Addressing
PPTX
Subnet Mask
PPT
Subnetting
Subnetting
IP Addressing and Subnetting Basics
Subnetting Made Easy
Easy IP Addressing and Subnetting Manual for Starters
Subnetting Made Easy
QuickTutorial Guide Advanced Topics in IP Addressing
Subnet Mask
Subnetting

What's hot (20)

PPT
Pjsmith ip addressing_&_subnetting_made_easy
PPT
IP Subnetting
PPTX
Subnetting
PPTX
Subnetting Presentation
PPTX
Subnetting made simple
RTF
I Paddress
PPS
Lesson 2: Subnetting basics
PPT
Subnetting a class_c_address
PPT
Subneting
PPT
Ipaddressing
PPT
PDF
Subnetting Principles
PPT
Subnetting
PPT
IP NETWORKING AND IP SUBNET MASKING
ODP
C I D R
PPTX
Subnetting Basics Tutorial
PPS
Lesson 3: IPv6 Fundamentals
DOCX
Soalan subneting
PPTX
Sub Netting
PPSX
CyberLab TCP/IP and IP Addressing & Subnetting
Pjsmith ip addressing_&_subnetting_made_easy
IP Subnetting
Subnetting
Subnetting Presentation
Subnetting made simple
I Paddress
Lesson 2: Subnetting basics
Subnetting a class_c_address
Subneting
Ipaddressing
Subnetting Principles
Subnetting
IP NETWORKING AND IP SUBNET MASKING
C I D R
Subnetting Basics Tutorial
Lesson 3: IPv6 Fundamentals
Soalan subneting
Sub Netting
CyberLab TCP/IP and IP Addressing & Subnetting
Ad

Similar to IP Addressing & Subnetting / Sumiet23 (20)

PDF
Ccent notes part 3
DOC
Ipv4 Final
PDF
Ip addressing and_subnetting_workbook (1)
PDF
Subnetting Principles Worksheet
PDF
Day02
PDF
Ip addressing & subnetting
PDF
IP Addresing
PDF
Subneting2
PDF
Ip -subnetting
PDF
Student sub network book
PDF
Student subnetworkbook
PDF
Ipaddressingandsubnettingworkbookv1 2
PPT
Binary
PDF
Binary reference guide csit vn1202
PDF
The 8051 microcontroller and embedded systems using assembly and c 2nd-ed
PPT
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
XLS
Decimal To Hexadecimal Conversion Tips
PDF
Number system
PPT
453599812-Lecture24-25-Subnetting-ppt.ppt
PPT
453599812-Lecture24-25-Subnetting-ppt.ppt
Ccent notes part 3
Ipv4 Final
Ip addressing and_subnetting_workbook (1)
Subnetting Principles Worksheet
Day02
Ip addressing & subnetting
IP Addresing
Subneting2
Ip -subnetting
Student sub network book
Student subnetworkbook
Ipaddressingandsubnettingworkbookv1 2
Binary
Binary reference guide csit vn1202
The 8051 microcontroller and embedded systems using assembly and c 2nd-ed
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
Decimal To Hexadecimal Conversion Tips
Number system
453599812-Lecture24-25-Subnetting-ppt.ppt
453599812-Lecture24-25-Subnetting-ppt.ppt
Ad

Recently uploaded (20)

PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
Empowerment Technology for Senior High School Guide
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PPTX
Virtual and Augmented Reality in Current Scenario
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
What’s under the hood: Parsing standardized learning content for AI
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
PDF
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PPTX
Module on health assessment of CHN. pptx
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PPTX
Core Concepts of Personalized Learning and Virtual Learning Environments
PDF
International_Financial_Reporting_Standa.pdf
PDF
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 2).pdf
PDF
HVAC Specification 2024 according to central public works department
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
B.Sc. DS Unit 2 Software Engineering.pptx
Empowerment Technology for Senior High School Guide
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Virtual and Augmented Reality in Current Scenario
Hazard Identification & Risk Assessment .pdf
What’s under the hood: Parsing standardized learning content for AI
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
Unit 4 Computer Architecture Multicore Processor.pptx
Module on health assessment of CHN. pptx
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
Core Concepts of Personalized Learning and Virtual Learning Environments
International_Financial_Reporting_Standa.pdf
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 2).pdf
HVAC Specification 2024 according to central public works department
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Cambridge-Practice-Tests-for-IELTS-12.docx

IP Addressing & Subnetting / Sumiet23

  • 1. Public IP Private IP Subnet Mask Class A 1.0.0.0 – 126.0.0.0 10.0.0.0 – 10.255.255.255 255.0.0.0 Class B 128.0.0.0 – 191.0.0.0 172.16.0.0 – 172.31.255.255 255.255.0.0 Class C 192.0.0.0 – 223.0.0.0 192.168.0.0 – 192.168.255.255 255.255.255.0 Class D 224.0.0.0 – 239.0.0.0 x 255.255.255.255 Class E 240.0.0.0 – 255.0.0.0 x 255.255.255.255 First 8 Bits = Network ID A First 8 Bits = Network ID First 16 Bits = Network ID B First 12 Bits = Network ID First 24 Bits = Network ID C First 16 Bits = Network ID = Bits 8 + 8+ 8 + 8 (11111111.11111111.11111111.00000000) = 32 bits = 8 bits (11111111) = Mask Bit (ON) 0 = Unmask Bit (OFF)
  • 2. CIDR : Total ON bits of whole Subnet Mask. X : Total ON bits in octets of Class wise Host ID. Y : Total OFF bits in octets of Class wise Host ID. Overall Subnets : 2X Possible Hosts per Subnet : 2Y – 2 Valid Subnets : 256 – calculated Subnet. Possible Hosts : IPs in range of Valid Subnets. Click here for details in IP Addressing & Subnetting.
  • 3. Solved Examples Q : Give the number of Total Subnets, Hosts per Subnet, Valid Subnets and Possible Hosts of the IP - 10.0.0.0 with a subnet mask of 255.255.240.0 Answer : X : 8+4+0=12 Y : 0+4+8=12 CIDR : 8+8+4+0=20 Overall Subnets : 2x = 64(6) x 64(6) = 4096(12) Hosts per Subnet : 2y-2 = 4096(12)-2 = 4094 Valid Subnets : 256-Calculated Subnet = 256-240 = 16 Possible Hosts : 10.0.0.0 - 10.0.15.255 10.0.16.0 - 10.0.255.255 10.0.32.0 - 10.0.47.255
  • 4. 7 6 5 4 3 2 1 0 2 2 2 2 2 2 2 2 128 64 32 16 8 4 2 1 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255 Decimal 56… then Binary…? Let’s count the on & off bits in the value 56.. So, as counting in descending order.. The ON bits in value – 54 are – 32, 8, 4, 128 & 64 can’t be subtracted from 56. 2, & 1. Hence.. 56 – 32 = 14 Now what can be subtracted from 14..? Therefore the Binary value of 56 is  Exactly.. 14 – 8 = 6 00101110 Therefore.. 6 – 4 = 2 2 – 2= 0
  • 5. Decimal Hexadecimal 0 0 First divide the DEC number by 16. 1 1 Now write down the remainder . The remainder is converted to HEX. 2 2 Now divide Quotient by 16. 3 3 Again, the remainder is converted to HEX. 4 4 And it keeps on like this.. 5 5 Finally, we put the numbers together. The remainder from our first division goes into the unit place. 6 6 Our remainder from our second division goes into the tens place. And it keeps on like this.. 7 7 So now our answer is ready…!! 8 8 9 9 DEC 56.. Then HEX..? 10 A So the answer is  56 / 16 = 3.8 8 38 3 / 16 = 0.3 3 11 B 12 C 13 D 4096 256 16 1 14 E 3 8 15 F Hex 38 = (8 x 1) + (3 x 16) = 56