SlideShare uma empresa Scribd logo
1 de 15
Subnets


Routing within an Organization
Subnet
   Subnets are a subset of the entire
    network
       Networks can be divided into subnets
       Subnets can be divided into subnets
   Each subnet is treated as a separate
    network
       A subnet can be a WAN or LAN
Subnets



    Subnet 1   Subnet 2




   Subnet 3    Subnet 4
Subnet Addresses
   Typical (classed) IP addresses (e.g.
    137.207.32.2) have two parts:
       A network ID (e.g. 137.207.0.0)
       A host ID (e.g. 0.0.32.2)
   A subnetted network will divide the IP
    address differently
       Part of the host ID will be used to specify the
        subnet number
       The network ID and subnet portion of the host
        ID can be considered the subnet ID
Subnet Addresses
   For example, if we want to divide a
    network into 4 subnets, we can use
    the following scheme:
       4 subnets can be represented with 2
        bits (22 = 4)
       For a class B address, which already
        uses 16 bits for the network portion,
        the address would use 18 bits for the
        subnet portion
External Routing with Subnets
   Subnetting is transparent outside an
    organization
       e.g. If subnetting is used in the
        University, routers outside the
        University will not consider subnetting
        at all
       Thus, subnetting is only relevant within
        an organization
Internal Routing with Subnets
   When a packet enters a network
    with subnetting, the routers will
    behave differently
       A route may use the subnet ID
        (network portion + subnet portion,
        followed by zeroes) to determine which
        route to take
Routing with Subnets
 17710 =         ER2
101100012                             Subnet 1
137.207.177.81
                            00
 (137.207.0.0)

                            01
  ER1                  IR             Subnet 2

                            10
                                      Subnet 3

                                 11
            ER3
                                      Subnet 4
Routing with Subnets
 17710 =     ER2
                       12810 =
101100012                                     Subnet 1
                      100000002
                                    00
                  137.207.177.81
                  (137.207.128.0)
                                    01
  ER1                   IR                    Subnet 2

                                    10
                                              Subnet 3

                                         11
            ER3
                                              Subnet 4
Routing with Subnets
       ER2
                                  Subnet 1
                    00


                   01
ER1          IR                   Subnet 2

                    10
                                  Subnet 3
                         137.207.177.81
                        (137.207.177.81)


                        11
      ER3
                                  Subnet 4
Multi-Level Subnets
   A subnet can be divided into
    subnets
       If the first layer of subnetting used 2
        bits for the subnet portion, a second
        layer can be used to subnet within each
        subnet
            Using more bits from the host portion of
             the address
Multi-Level Subnets
                Layer 1     Layer 2


               Subnet 1


                            Subnet 2a


Network 1      Subnet 2

                            Subnet 2b



               Subnet 3
Calculating Subnet IDs
   Calculating the subnet ID is very much
    the same process as calculating a network
    ID (net ID)
       The difference is that typically net IDs are
        calculated using one of the three standard
        subnet masks:
          255.0.0.0 (Class A)

          255.255.0.0 (Class B)

          255.255.255.0 (Class C)

       A subnet ID is calculated using a non-standard
        subnet mask
          e.g. 255.255.192.0 (192
                                    10 = 110000002)
Common Class B Subnet Masks
Subnet Mask            # of Subnets
255.255.192.0          4 (22)
(19210 = 110000002)
255.255.240.0          16 (24)
(24010 = 111100002)
255.255.252.0          64 (26)
(25210 = 111111002)

• Class A and C subnet masks would be similar
CIDR Notation
   A convenient way to specify this kind of
    subnet mask is CIDR addressing
       e.g. 137.207.32.2/255.255.0.0:
        137.207.32.2/16
       e.g. 24.1.2.3/255.0.0.0: 24.1.2.3/8
   The number after the ‘/’ is the number of
    bits that are 1s in the subnet mask
       137.207.177.81/255.255.240.0:
        137.207.177.81/20 (16 bits for network ID + 4
        bits for subnetting)

Mais conteúdo relacionado

Mais procurados

Subnet Masks
Subnet MasksSubnet Masks
Subnet Masks
swascher
 
Subnetting
SubnettingSubnetting
Subnetting
swascher
 

Mais procurados (20)

IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPT
 
Subnet calculation Tutorial
Subnet calculation TutorialSubnet calculation Tutorial
Subnet calculation Tutorial
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
Sub Netting
Sub NettingSub Netting
Sub Netting
 
Explaining ip address
Explaining ip addressExplaining ip address
Explaining ip address
 
Subnet Masks
Subnet MasksSubnet Masks
Subnet Masks
 
Application Layer
Application Layer Application Layer
Application Layer
 
Static Routing
Static RoutingStatic Routing
Static Routing
 
Socket Programming
Socket ProgrammingSocket Programming
Socket Programming
 
IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
IP addressing seminar ppt
IP addressing seminar pptIP addressing seminar ppt
IP addressing seminar ppt
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
IP Address
IP AddressIP Address
IP Address
 
Subnet Mask
Subnet MaskSubnet Mask
Subnet Mask
 
Addressing
AddressingAddressing
Addressing
 
MAC & IP addresses
MAC & IP addressesMAC & IP addresses
MAC & IP addresses
 
IPV6 ADDRESS
IPV6 ADDRESSIPV6 ADDRESS
IPV6 ADDRESS
 
Subnetting
SubnettingSubnetting
Subnetting
 
Ipv4 presentation
Ipv4 presentationIpv4 presentation
Ipv4 presentation
 

Destaque (7)

Splitting A Class C Network Into 4 Subnets
Splitting A Class C Network Into 4 SubnetsSplitting A Class C Network Into 4 Subnets
Splitting A Class C Network Into 4 Subnets
 
Mantenimiento a una Red Alambrica e Inalámbrica, Generación de Reportes
Mantenimiento a una Red Alambrica e Inalámbrica, Generación de ReportesMantenimiento a una Red Alambrica e Inalámbrica, Generación de Reportes
Mantenimiento a una Red Alambrica e Inalámbrica, Generación de Reportes
 
Wins, DNS, Dominio y DHCP
Wins, DNS, Dominio y DHCPWins, DNS, Dominio y DHCP
Wins, DNS, Dominio y DHCP
 
Dirección ip (d)
Dirección  ip (d)Dirección  ip (d)
Dirección ip (d)
 
Subnetting
SubnettingSubnetting
Subnetting
 
Subnetting
SubnettingSubnetting
Subnetting
 
Resumen subnetting
Resumen subnettingResumen subnetting
Resumen subnetting
 

Semelhante a Subnetting

7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer7-Lect_7 .pptxNetwork LayerNetwork Layer
7-Lect_7 .pptxNetwork LayerNetwork Layer
ZahouAmel1
 
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
 
IP Concept in LTE
IP Concept in LTEIP Concept in LTE
IP Concept in LTE
Sofian .
 
Subnetting Principles
Subnetting PrinciplesSubnetting Principles
Subnetting Principles
swascher
 
Ccna certification training
Ccna certification trainingCcna certification training
Ccna certification training
ccnaguide
 
Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2
Kris Mofu
 

Semelhante a Subnetting (20)

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) ...
 
IP Subnetting
IP SubnettingIP Subnetting
IP Subnetting
 
IP Concept in LTE
IP Concept in LTEIP Concept in LTE
IP Concept in LTE
 
Subnetting class C
Subnetting class CSubnetting class C
Subnetting class C
 
Ccna1v3 mod10
Ccna1v3 mod10Ccna1v3 mod10
Ccna1v3 mod10
 
IP addressing by Mamun Sir
IP addressing by Mamun SirIP addressing by Mamun Sir
IP addressing by Mamun Sir
 
Subnetting Principles
Subnetting PrinciplesSubnetting Principles
Subnetting Principles
 
Icnd210 s08l03
Icnd210 s08l03Icnd210 s08l03
Icnd210 s08l03
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Ccna certification training
Ccna certification trainingCcna certification training
Ccna certification training
 
IP Addressing and Subnetting
IP Addressing and SubnettingIP Addressing and Subnetting
IP Addressing and Subnetting
 
IPv4 Addressing Architecture
IPv4 Addressing ArchitectureIPv4 Addressing Architecture
IPv4 Addressing Architecture
 
Junos routing overview from Juniper
Junos routing overview from JuniperJunos routing overview from Juniper
Junos routing overview from Juniper
 
Subneting
SubnetingSubneting
Subneting
 
Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2
 
Ip Subnet Design
Ip Subnet DesignIp Subnet Design
Ip Subnet Design
 
Lab 3.5.1 basic frame relay
Lab 3.5.1 basic frame relayLab 3.5.1 basic frame relay
Lab 3.5.1 basic frame relay
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
 
Subnetting
SubnettingSubnetting
Subnetting
 

Mais de Gichelle Amon (20)

Kerberos
KerberosKerberos
Kerberos
 
Network security
Network securityNetwork security
Network security
 
Os module 2 d
Os module 2 dOs module 2 d
Os module 2 d
 
Os module 2 c
Os module 2 cOs module 2 c
Os module 2 c
 
Image segmentation ppt
Image segmentation pptImage segmentation ppt
Image segmentation ppt
 
Lec3 final
Lec3 finalLec3 final
Lec3 final
 
Lec 3
Lec 3Lec 3
Lec 3
 
Lec2 final
Lec2 finalLec2 final
Lec2 final
 
Lec 4
Lec 4Lec 4
Lec 4
 
Lec1 final
Lec1 finalLec1 final
Lec1 final
 
Module 3 law of contracts
Module 3  law of contractsModule 3  law of contracts
Module 3 law of contracts
 
Transport triggered architecture
Transport triggered architectureTransport triggered architecture
Transport triggered architecture
 
Time triggered arch.
Time triggered arch.Time triggered arch.
Time triggered arch.
 
Os module 2 c
Os module 2 cOs module 2 c
Os module 2 c
 
Os module 2 ba
Os module 2 baOs module 2 ba
Os module 2 ba
 
Lec5
Lec5Lec5
Lec5
 
Delivery
DeliveryDelivery
Delivery
 
6 spatial filtering p2
6 spatial filtering p26 spatial filtering p2
6 spatial filtering p2
 
5 spatial filtering p1
5 spatial filtering p15 spatial filtering p1
5 spatial filtering p1
 
Medical image analysis
Medical image analysisMedical image analysis
Medical image analysis
 

Último

Último (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
[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
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
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
 

Subnetting

  • 2. Subnet  Subnets are a subset of the entire network  Networks can be divided into subnets  Subnets can be divided into subnets  Each subnet is treated as a separate network  A subnet can be a WAN or LAN
  • 3. Subnets Subnet 1 Subnet 2 Subnet 3 Subnet 4
  • 4. Subnet Addresses  Typical (classed) IP addresses (e.g. 137.207.32.2) have two parts:  A network ID (e.g. 137.207.0.0)  A host ID (e.g. 0.0.32.2)  A subnetted network will divide the IP address differently  Part of the host ID will be used to specify the subnet number  The network ID and subnet portion of the host ID can be considered the subnet ID
  • 5. Subnet Addresses  For example, if we want to divide a network into 4 subnets, we can use the following scheme:  4 subnets can be represented with 2 bits (22 = 4)  For a class B address, which already uses 16 bits for the network portion, the address would use 18 bits for the subnet portion
  • 6. External Routing with Subnets  Subnetting is transparent outside an organization  e.g. If subnetting is used in the University, routers outside the University will not consider subnetting at all  Thus, subnetting is only relevant within an organization
  • 7. Internal Routing with Subnets  When a packet enters a network with subnetting, the routers will behave differently  A route may use the subnet ID (network portion + subnet portion, followed by zeroes) to determine which route to take
  • 8. Routing with Subnets 17710 = ER2 101100012 Subnet 1 137.207.177.81 00 (137.207.0.0) 01 ER1 IR Subnet 2 10 Subnet 3 11 ER3 Subnet 4
  • 9. Routing with Subnets 17710 = ER2 12810 = 101100012 Subnet 1 100000002 00 137.207.177.81 (137.207.128.0) 01 ER1 IR Subnet 2 10 Subnet 3 11 ER3 Subnet 4
  • 10. Routing with Subnets ER2 Subnet 1 00 01 ER1 IR Subnet 2 10 Subnet 3 137.207.177.81 (137.207.177.81) 11 ER3 Subnet 4
  • 11. Multi-Level Subnets  A subnet can be divided into subnets  If the first layer of subnetting used 2 bits for the subnet portion, a second layer can be used to subnet within each subnet  Using more bits from the host portion of the address
  • 12. Multi-Level Subnets Layer 1 Layer 2 Subnet 1 Subnet 2a Network 1 Subnet 2 Subnet 2b Subnet 3
  • 13. Calculating Subnet IDs  Calculating the subnet ID is very much the same process as calculating a network ID (net ID)  The difference is that typically net IDs are calculated using one of the three standard subnet masks:  255.0.0.0 (Class A)  255.255.0.0 (Class B)  255.255.255.0 (Class C)  A subnet ID is calculated using a non-standard subnet mask  e.g. 255.255.192.0 (192 10 = 110000002)
  • 14. Common Class B Subnet Masks Subnet Mask # of Subnets 255.255.192.0 4 (22) (19210 = 110000002) 255.255.240.0 16 (24) (24010 = 111100002) 255.255.252.0 64 (26) (25210 = 111111002) • Class A and C subnet masks would be similar
  • 15. CIDR Notation  A convenient way to specify this kind of subnet mask is CIDR addressing  e.g. 137.207.32.2/255.255.0.0: 137.207.32.2/16  e.g. 24.1.2.3/255.0.0.0: 24.1.2.3/8  The number after the ‘/’ is the number of bits that are 1s in the subnet mask  137.207.177.81/255.255.240.0: 137.207.177.81/20 (16 bits for network ID + 4 bits for subnetting)