SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
Network Design
     Fundamentals
Internet Protocol: Subnetting
          Presented by,
       Jack Crowder, CCIE
Agenda
• Review
  – IP Addressing
     • Format
     • Classfull
     • Reserved
• Subnetting
  – Terms
  – Binary calculations
  – IP subnet calculation



                              2
Review
• RFC 1466 (IPv4)
• Address format:
  – 4 octets, dotted decimal notation
  – Example: 192.168.005.100
  – Applied to any interface that wants to communicate in
    an IP network
• Purpose:
  – Addresses logically grouped: Subnet
     • Routers “deal in” subnets


                                                            3
Classfull Boundaries – 1st Octet
00000000      0   Class A   /
01111111    127

10000000    128   Class B   /
10111111    191

11000000    192   Class C   /
11011111    223

11100000    224   Class D
11101111    239

                                    4
RFC 1878 and 1918
• reserved: 0.0.0.0 – 0.255.255.255 /8
• Class A: 1.0.0.0 - 127.255.255.255
   – reserved: 10.0.0.0 - 10.255.255.255 /8 (private)
   – reserved: 127.0.0.0 - 127.255.255.255 /8 (loopback)
• Class B: 128.0.0.0 - 191.255.255.255
   – reserved: 128.0.0.0 - 128.255.255.255 /8
   – reserved: 172.16.0.0 - 172.31.255.255 /12 (private)
• Class C: 192.0.0.0 - 223.255.255.255
   – reserved: 192.168.0.0 - 192.168.255.255 /16 (private)
• Class D: 224.0.0.0 – 239.255.255.255
   – reserved: 224.0.0.0 - 225.255.255.255 (Multicast)
• reserved: 255.255.255.255 (Broadcast) /32
                                                             5
Subnetting Terms
•   Address
•   Subnet
•   Subnet Mask
•   Network field (as determined by the Subnet Mask)
•   Host field (as determined by the Subnet Mask)
•   Subnet ID: all 0’s (in the Host field)
•   Broadcast ID: all 1’s (in the Host field)
•   Unicast (useable address on a subnet)
•   Host route

                                                       6
Binary Calculation
           2 to the power of X
• 4 Octets (a.k.a. Bytes) in a IPv4 address
  – 8 bits in an octet
  – 32 bits in an address
• 8 Bits in each octet
  – 28 = 256
    • Decimal number range:
         0 – 255 (256 numbers counting “0”)
    • Binary range:
         00000000 – 11111111 (256 combinations of 1’s and 0’s)


                                                                 7
Decimal to Binary
255 = 11111111     255 = 11111111
128 = 10000000     252 = 11111100
 64 = 01000000     248 = 11111000
 32 = 00100000     240 = 11110000
 16 = 00010000     224 = 11100000
  8 = 00001000     192 = 11000000
  4 = 00000100     128 = 10000000
  2 = 00000010       0 = 00000000
  1 = 00000001
  0 = 00000000
                                    8
Binary Template
               always start counting from 0




 x
2 = 128 64 32 16 8 4 2 1
     X=   7         6       5      4 3 2 1 0
Position = 8         7      6       5     4   3   2   1

                                                          9
Subnet Mask
• Purpose:
  – Apply the Mask to the IP Address to determine:
     • Network bits
     • Host bits
     • Subnet ID, Broadcast ID & Unicast range
• Format:
  – 4 octets, dotted decimal notation (same as IP address)
  – Contiguous binary 1’s starting from the left
• Examples:
  – 255.255.255.0             (typical for LAN segment)
  – 255.255.255.252           (typical for WAN pvc)
  – 255.255.255.1             (incorrect)
                                                             10
Subnet Mask in Binary
• 255.255.255.0
• 11111111.11111111.11111111.00000000

• 255.255.255.252
• 11111111.11111111.11111111.11111100

• 255.255.255.1 - incorrect
• 11111111.11111111.11111111.00000001

                                        11
Subnet Calculation
• Step 1 – Convert:
   – decimal address & mask format to binary address & mask
     format
• Step 2 – Apply:
   – binary subnet mask to the binary IP address using the
     “and” function
• Step 3 – Calculate:
   – Subnet ID
   – Broadcast ID
   – Unicast range (usable subnet addresses)
                                                             12
Step 1        XXX = 0 - 255
DECIMAL


            XXX.XXX.XXX.XXX

            Network bits      Host bits

          address     185.213.22.219
          subnet mask 255.255.255.0
                                         13
Step 1
                 XXXXXXXX = 00000000 - 11111111

                xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
       BINARY




                                      Network bits   Host bits

10111001.11010101.00010110.11011011




11111111.11111111.11111111.00000000




                                                           14
Step 2: IP Subnet Calculation

         Subnet MASK
     <AND> IP Address
            IP Subnet
<AND> Rules:
1 and 1 = 1
1 and 0 = 0    Another way:
0 and 1 = 0    1 and X = X
0 and 0 = 0    0 and X = 0
                              15
Step 3 – IP Subnet – Example 1
       185.213.022.219         255.255.255.000 /24


11111111.11111111.11111111.00000000
________.11010101.00010110.11011011

                                               Subnet ID
                                               Broadcast ID

Subnet ID: ____.____.____.____
Broadcast ID: ____.____.____.____
Unicast: ____.____.____.____ - ____
                                                     16
IP Subnet – Example 2
       185.213.022.219         255.255.255.252 /30


11111111.11111111.11111111.11111100
________.11010101.00010110.11011011

                                               Subnet ID
                                               Broadcast ID

Subnet ID: ____.____.____.____
Broadcast ID: ____.____.____.____
Unicast: ____.____.____.____ - ____
                                                     17
Useable IP Address Calculations
1)   32 bits in address
2)   32 - network bits = host bits
3)   2 to the power of host bits = addresses on subnet
4)   addresses - 2 (Broadcast and Subnet ID)
        = usable addresses on subnet

       255.255.255.240 = /28
       32 - 28 = 4
       24 = 16 Addresses on Subnet
       16 - 2 = 14 Unicast addresses on Subnet
                                                         18
Host Route
• Purpose:
  – Used on Loopback and Dial-up interfaces
• Example:
  – 10.5.109.22 255.255.255.255 (/32)




                                              19
IP Subnet example 3
• IP Address:       ____.____.____.____
• Subnet Mask:      ____.____.____.____   ____
   • Network bits ____   Host bits ____


• Subnet:           ____.____.____.____
• Broadcast:        ____.____.____.____
• Usable Range:     ____.____.____.____
•         through   ____.____.____.____

                                                 20

Contenu connexe

Tendances

Calculo y diseño de redes ip
Calculo y diseño de redes ipCalculo y diseño de redes ip
Calculo y diseño de redes ippbaezjluis
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressingvssnsarma
 
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATIONCCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATIONAswini Badatya
 
Ejercicios de subneteo y vlsm CCNA1
Ejercicios de subneteo y vlsm CCNA1Ejercicios de subneteo y vlsm CCNA1
Ejercicios de subneteo y vlsm CCNA1Jahaziel_DelRio
 
Documento de subredes_traducido_al_español
Documento de subredes_traducido_al_españolDocumento de subredes_traducido_al_español
Documento de subredes_traducido_al_españolJosue Ramon
 
Subnet Masks
Subnet MasksSubnet Masks
Subnet Masksswascher
 
IP Addressing and subnetting
IP Addressing and subnettingIP Addressing and subnetting
IP Addressing and subnettingAli Nezhad
 
Subneteo con vlsm ejercicios clases a,b,c
Subneteo con vlsm ejercicios clases a,b,cSubneteo con vlsm ejercicios clases a,b,c
Subneteo con vlsm ejercicios clases a,b,cManuel Tapia Cruz
 
CÁLCULO DE SUB-REDES DE FORMA PRÁTICA
CÁLCULO DE SUB-REDES DE FORMA PRÁTICACÁLCULO DE SUB-REDES DE FORMA PRÁTICA
CÁLCULO DE SUB-REDES DE FORMA PRÁTICAAugusto Cezar Pinheiro
 
Subnetting a class_c_address
Subnetting a class_c_addressSubnetting a class_c_address
Subnetting a class_c_addressrizwanaabassi
 

Tendances (20)

Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
Ejercicios vlsm
Ejercicios vlsmEjercicios vlsm
Ejercicios vlsm
 
Visual ip subnetting
Visual ip subnettingVisual ip subnetting
Visual ip subnetting
 
Calculo y diseño de redes ip
Calculo y diseño de redes ipCalculo y diseño de redes ip
Calculo y diseño de redes ip
 
Subnetting
SubnettingSubnetting
Subnetting
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
 
Vlsm
VlsmVlsm
Vlsm
 
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATIONCCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
 
Ejercicios de subneteo y vlsm CCNA1
Ejercicios de subneteo y vlsm CCNA1Ejercicios de subneteo y vlsm CCNA1
Ejercicios de subneteo y vlsm CCNA1
 
Documento de subredes_traducido_al_español
Documento de subredes_traducido_al_españolDocumento de subredes_traducido_al_español
Documento de subredes_traducido_al_español
 
Subnetting
SubnettingSubnetting
Subnetting
 
Easy subnetting
Easy subnettingEasy subnetting
Easy subnetting
 
Modes of router
Modes of routerModes of router
Modes of router
 
Subnet Masks
Subnet MasksSubnet Masks
Subnet Masks
 
Subnet calculation Tutorial
Subnet calculation TutorialSubnet calculation Tutorial
Subnet calculation Tutorial
 
IP Addressing and subnetting
IP Addressing and subnettingIP Addressing and subnetting
IP Addressing and subnetting
 
Subneteo con vlsm ejercicios clases a,b,c
Subneteo con vlsm ejercicios clases a,b,cSubneteo con vlsm ejercicios clases a,b,c
Subneteo con vlsm ejercicios clases a,b,c
 
CÁLCULO DE SUB-REDES DE FORMA PRÁTICA
CÁLCULO DE SUB-REDES DE FORMA PRÁTICACÁLCULO DE SUB-REDES DE FORMA PRÁTICA
CÁLCULO DE SUB-REDES DE FORMA PRÁTICA
 
Subnetting a class_c_address
Subnetting a class_c_addressSubnetting a class_c_address
Subnetting a class_c_address
 
Physical Mediums
Physical MediumsPhysical Mediums
Physical Mediums
 

En vedette

How to configure port security in cisco switch
How to configure port security in cisco switchHow to configure port security in cisco switch
How to configure port security in cisco switchIT Tech
 
Port Security - Possible Technology Interventions and Solutioning
Port Security - Possible Technology Interventions and SolutioningPort Security - Possible Technology Interventions and Solutioning
Port Security - Possible Technology Interventions and SolutioningAmol Vidwans
 
How to create Security on Cisco switch
How to create Security on Cisco switchHow to create Security on Cisco switch
How to create Security on Cisco switchtcpipguru
 
Cisco CCNA Port Security
Cisco CCNA Port SecurityCisco CCNA Port Security
Cisco CCNA Port SecurityHamed Moghaddam
 
Internet protocol (ip) ppt
Internet protocol (ip) pptInternet protocol (ip) ppt
Internet protocol (ip) pptDulith Kasun
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategyMustafa Salam
 

En vedette (9)

How to configure port security in cisco switch
How to configure port security in cisco switchHow to configure port security in cisco switch
How to configure port security in cisco switch
 
Port Security
Port SecurityPort Security
Port Security
 
Port Security - Possible Technology Interventions and Solutioning
Port Security - Possible Technology Interventions and SolutioningPort Security - Possible Technology Interventions and Solutioning
Port Security - Possible Technology Interventions and Solutioning
 
How to create Security on Cisco switch
How to create Security on Cisco switchHow to create Security on Cisco switch
How to create Security on Cisco switch
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 
Cisco CCNA Port Security
Cisco CCNA Port SecurityCisco CCNA Port Security
Cisco CCNA Port Security
 
Ip address
Ip addressIp address
Ip address
 
Internet protocol (ip) ppt
Internet protocol (ip) pptInternet protocol (ip) ppt
Internet protocol (ip) ppt
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
 

Similaire à Ip -subnetting

Ipaddress presentationdemoclass
Ipaddress presentationdemoclassIpaddress presentationdemoclass
Ipaddress presentationdemoclassaskme
 
Wipro telecom training i pv4 concepts
Wipro telecom training   i pv4 conceptsWipro telecom training   i pv4 concepts
Wipro telecom training i pv4 conceptsJAIGANESH SEKAR
 
IP Addressing.ppt
IP Addressing.pptIP Addressing.ppt
IP Addressing.pptjAIREN1
 
Networking Chapter 7
Networking Chapter 7Networking Chapter 7
Networking Chapter 7mlrbrown
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting Saad Tanvir
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basicsMahmmoud Mahdi
 
8-Additional_IPSubnetting_KED (2).ppt
8-Additional_IPSubnetting_KED (2).ppt8-Additional_IPSubnetting_KED (2).ppt
8-Additional_IPSubnetting_KED (2).pptjaycallaga
 
6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf
6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf
6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdfSILVIUSyt
 
Oct. 14, 2011 webcast ch7 subnets bruce hartpence
Oct. 14, 2011 webcast ch7 subnets bruce hartpenceOct. 14, 2011 webcast ch7 subnets bruce hartpence
Oct. 14, 2011 webcast ch7 subnets bruce hartpenceO'Reilly Media
 

Similaire à Ip -subnetting (20)

Ipaddress presentationdemoclass
Ipaddress presentationdemoclassIpaddress presentationdemoclass
Ipaddress presentationdemoclass
 
Day03
Day03 Day03
Day03
 
Week10 lec1
Week10 lec1Week10 lec1
Week10 lec1
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
How IP address works
How IP address worksHow IP address works
How IP address works
 
Wipro telecom training i pv4 concepts
Wipro telecom training   i pv4 conceptsWipro telecom training   i pv4 concepts
Wipro telecom training i pv4 concepts
 
IP Addressing.ppt
IP Addressing.pptIP Addressing.ppt
IP Addressing.ppt
 
Chap3. i pv4
Chap3. i pv4Chap3. i pv4
Chap3. i pv4
 
Networking Chapter 7
Networking Chapter 7Networking Chapter 7
Networking Chapter 7
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Subneting
SubnetingSubneting
Subneting
 
Subnetting
SubnettingSubnetting
Subnetting
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basics
 
8-Additional_IPSubnetting_KED (2).ppt
8-Additional_IPSubnetting_KED (2).ppt8-Additional_IPSubnetting_KED (2).ppt
8-Additional_IPSubnetting_KED (2).ppt
 
lecture 6.pptx
lecture 6.pptxlecture 6.pptx
lecture 6.pptx
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf
6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf
6a52807edaf99ecbfafb8ecf2439b542b3623dea-1647242881015.pdf
 
Oct. 14, 2011 webcast ch7 subnets bruce hartpence
Oct. 14, 2011 webcast ch7 subnets bruce hartpenceOct. 14, 2011 webcast ch7 subnets bruce hartpence
Oct. 14, 2011 webcast ch7 subnets bruce hartpence
 

Dernier

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
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
 
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
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
[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
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 

Dernier (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
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
 
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
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
[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
 
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...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

Ip -subnetting

  • 1. Network Design Fundamentals Internet Protocol: Subnetting Presented by, Jack Crowder, CCIE
  • 2. Agenda • Review – IP Addressing • Format • Classfull • Reserved • Subnetting – Terms – Binary calculations – IP subnet calculation 2
  • 3. Review • RFC 1466 (IPv4) • Address format: – 4 octets, dotted decimal notation – Example: 192.168.005.100 – Applied to any interface that wants to communicate in an IP network • Purpose: – Addresses logically grouped: Subnet • Routers “deal in” subnets 3
  • 4. Classfull Boundaries – 1st Octet 00000000 0 Class A / 01111111 127 10000000 128 Class B / 10111111 191 11000000 192 Class C / 11011111 223 11100000 224 Class D 11101111 239 4
  • 5. RFC 1878 and 1918 • reserved: 0.0.0.0 – 0.255.255.255 /8 • Class A: 1.0.0.0 - 127.255.255.255 – reserved: 10.0.0.0 - 10.255.255.255 /8 (private) – reserved: 127.0.0.0 - 127.255.255.255 /8 (loopback) • Class B: 128.0.0.0 - 191.255.255.255 – reserved: 128.0.0.0 - 128.255.255.255 /8 – reserved: 172.16.0.0 - 172.31.255.255 /12 (private) • Class C: 192.0.0.0 - 223.255.255.255 – reserved: 192.168.0.0 - 192.168.255.255 /16 (private) • Class D: 224.0.0.0 – 239.255.255.255 – reserved: 224.0.0.0 - 225.255.255.255 (Multicast) • reserved: 255.255.255.255 (Broadcast) /32 5
  • 6. Subnetting Terms • Address • Subnet • Subnet Mask • Network field (as determined by the Subnet Mask) • Host field (as determined by the Subnet Mask) • Subnet ID: all 0’s (in the Host field) • Broadcast ID: all 1’s (in the Host field) • Unicast (useable address on a subnet) • Host route 6
  • 7. Binary Calculation 2 to the power of X • 4 Octets (a.k.a. Bytes) in a IPv4 address – 8 bits in an octet – 32 bits in an address • 8 Bits in each octet – 28 = 256 • Decimal number range: 0 – 255 (256 numbers counting “0”) • Binary range: 00000000 – 11111111 (256 combinations of 1’s and 0’s) 7
  • 8. Decimal to Binary 255 = 11111111 255 = 11111111 128 = 10000000 252 = 11111100 64 = 01000000 248 = 11111000 32 = 00100000 240 = 11110000 16 = 00010000 224 = 11100000 8 = 00001000 192 = 11000000 4 = 00000100 128 = 10000000 2 = 00000010 0 = 00000000 1 = 00000001 0 = 00000000 8
  • 9. Binary Template always start counting from 0 x 2 = 128 64 32 16 8 4 2 1 X= 7 6 5 4 3 2 1 0 Position = 8 7 6 5 4 3 2 1 9
  • 10. Subnet Mask • Purpose: – Apply the Mask to the IP Address to determine: • Network bits • Host bits • Subnet ID, Broadcast ID & Unicast range • Format: – 4 octets, dotted decimal notation (same as IP address) – Contiguous binary 1’s starting from the left • Examples: – 255.255.255.0 (typical for LAN segment) – 255.255.255.252 (typical for WAN pvc) – 255.255.255.1 (incorrect) 10
  • 11. Subnet Mask in Binary • 255.255.255.0 • 11111111.11111111.11111111.00000000 • 255.255.255.252 • 11111111.11111111.11111111.11111100 • 255.255.255.1 - incorrect • 11111111.11111111.11111111.00000001 11
  • 12. Subnet Calculation • Step 1 – Convert: – decimal address & mask format to binary address & mask format • Step 2 – Apply: – binary subnet mask to the binary IP address using the “and” function • Step 3 – Calculate: – Subnet ID – Broadcast ID – Unicast range (usable subnet addresses) 12
  • 13. Step 1 XXX = 0 - 255 DECIMAL XXX.XXX.XXX.XXX Network bits Host bits address 185.213.22.219 subnet mask 255.255.255.0 13
  • 14. Step 1 XXXXXXXX = 00000000 - 11111111 xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx BINARY Network bits Host bits 10111001.11010101.00010110.11011011 11111111.11111111.11111111.00000000 14
  • 15. Step 2: IP Subnet Calculation Subnet MASK <AND> IP Address IP Subnet <AND> Rules: 1 and 1 = 1 1 and 0 = 0 Another way: 0 and 1 = 0 1 and X = X 0 and 0 = 0 0 and X = 0 15
  • 16. Step 3 – IP Subnet – Example 1 185.213.022.219 255.255.255.000 /24 11111111.11111111.11111111.00000000 ________.11010101.00010110.11011011 Subnet ID Broadcast ID Subnet ID: ____.____.____.____ Broadcast ID: ____.____.____.____ Unicast: ____.____.____.____ - ____ 16
  • 17. IP Subnet – Example 2 185.213.022.219 255.255.255.252 /30 11111111.11111111.11111111.11111100 ________.11010101.00010110.11011011 Subnet ID Broadcast ID Subnet ID: ____.____.____.____ Broadcast ID: ____.____.____.____ Unicast: ____.____.____.____ - ____ 17
  • 18. Useable IP Address Calculations 1) 32 bits in address 2) 32 - network bits = host bits 3) 2 to the power of host bits = addresses on subnet 4) addresses - 2 (Broadcast and Subnet ID) = usable addresses on subnet 255.255.255.240 = /28 32 - 28 = 4 24 = 16 Addresses on Subnet 16 - 2 = 14 Unicast addresses on Subnet 18
  • 19. Host Route • Purpose: – Used on Loopback and Dial-up interfaces • Example: – 10.5.109.22 255.255.255.255 (/32) 19
  • 20. IP Subnet example 3 • IP Address: ____.____.____.____ • Subnet Mask: ____.____.____.____ ____ • Network bits ____ Host bits ____ • Subnet: ____.____.____.____ • Broadcast: ____.____.____.____ • Usable Range: ____.____.____.____ • through ____.____.____.____ 20