SlideShare a Scribd company logo
IP Addressing



   Chapter 2
Chapter Objectives

    Explain TCP/IP protocol stack
    Explain IP addressing
    Discuss IP subnetting
    Plan IP addressing




Chapter 2                            2
Recall
    Physical and the Logical topology are the two types
     of topologies
    LAN, MAN and WAN are the different types of
     networks used
    Hierarchical model includes three layers, core layer,
     distribution layer and the access layer
    Application layer, presentation layer, session layer,
     transport layer, network layer, data link layer and the
     physical layer are the different layers of the OSI
     model


Chapter 2                                                  3
TCP/IP Stack
    TCP/IP stack has four layers



                                  TCP/IP


                                                      Network
            Application
                                                      Interface

                          Transport        Internet




Chapter 2                                                         4
Application Layer
    Application layer clubs the functionality of application,
     presentation, and session layers of the OSI model
    Protocols that function at the application layer include
      Hyper Text Transfer Protocol (HTTP)

      Simple Network Management Protocol (SNMP)

      File Transfer Protocol (FTP)

      Telnet




Chapter 2                                                   5
Transport Layer
    Layer is responsible for source-to-destination
     delivery of the entire message
    Ensures that the entire message arrives at the
     destination computer
    Protocols that function in the transport layer include
      TCP

      User Datagram Protocol (UDP)




Chapter 2                                                     6
Internet Layer
    Layer allows routing of data over the network
    Protocols that function in the network layer include
      Address Resolution protocol (ARP) - ARP

       provides a method for finding the Media Access
       Control (MAC) address of the host computer from
       its IP address
      Reverse Address Resolution Protocol (RARP) -

       RARP provides a method for finding the IP
       address of the host computer from the MAC
       address


Chapter 2                                                   7
Internet Control Message Protocol
(ICMP)
    ICMP functions at the network layer of Internet
     Protocol
    The protocol reports errors related to the delivery of
     IP packets within a network
    ICMPs generate the following four messages
      Destination Unreachable message

      Echo request message

      Redirect message

      Time exceeded message


Chapter 2                                                     8
IP Addressing
    IP address is a 32-bit binary number that is unique for each
     device
    IP address is converted to a decimal format to make them
     readable for the humans
    Within the network, the IP address is interpreted in a binary
     format consisting of 0 and 1
    IP address of 10010100101000101001010010101011, it is
     split into 4 octets such as
      10010100

      10100010

      10010100

           10101011

Chapter 2                                                        9
IP Addressing
    To convert the bits to a decimal format, right most
     bit in the octet has the least value of 20. This value
     goes on increasing towards the left

       Bits      1         0         0         1         0        1        0        0


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




Chapter 2                                                                                  10
IP Addressing
    You need to multiply the bits with its corresponding
     value in the table

     Bits       1         0         0         1         0        1        0        0



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



Multiplied     128        0         0         16        0        4        0        0
 Values




Chapter 2                                                                              11
IP Addressing
    The equivalent decimal value for the octet will be the
     addition of all the multiplied values
    For the octet 10010100, the decimal value will be
     128+0+0+16+0+4+0+0 = 148
    So the IP address of the machine will be
     148.162.148.171




Chapter 2                                                 12
Classification of IP Addresses

                          CLASSES




    Class A   Class B      Class C   Class D   Class E

      1-126   128 - 191   192 -223   224-239   240 - 255




Chapter 2                                                  13
IP Address Components
   A network number denotes the network segment to
    which the device is connected
   A host number specifies the address of the device in
    the network segment. Host numbers are the
    numbers between the network number and the
    directed broadcast number




Chapter 2                                              14
Subnet Mask
    Subnet mask is used to identify the network bits and
     host bits in the IP address
    A subnet mask always has a series of consecutive
     1s followed by consecutive 0s
    A subnet mask cannot start with the bit 0 or ending
     with the bit 1




Chapter 2                                               15
IP Subnetting




Chapter 2       16
Algorithm to determine the number of
hosts and subnets
    Identify the IP address structure
    Determine the number of network bits based on the
     class of the IP address
    Determine the number of host bits based on the
     number of 0s in the mask
    Determine the number of host bits using the formula,
     32 – (network bits + host bits)
    Calculate the number of subnets using the formula,
     2subnet bits – 2
    Calculate the number of hosts in each subnet using
     the formula, 2host bits – 2

Chapter 2                                                   17
Case Study
   The Blue Diamond Steel organization located in
 Gujarat is granted an IP address 220.56.64.0 by
 Internet Assigned Numbers Authority (IANA). The
 company requires five different subnets for its
 Finance,     Business       Development,  Software
 Management, Project Management and Detailing
 departments. The network administrator Robert needs
 to design the subnets for the company.




Chapter 2                                          18
Problem



            Finding IP address range for each subnet




Chapter 2                                              19
Suggested Solution



            Find IP address range for each subnet




Chapter 2                                           20
Variable Length Subnet Mask (VLSM)
    VLSM allows you to use different masks for each
     subnet
    Classful protocols such as Routing Information
     Protocol version 1 (RIPv1) and IGRP do not support
     VLSM
    Advantages of VLSM include
      Efficient use of IP addressing

      Route summarization




Chapter 2                                             21
Route Summarization
    Advantages of route summarization include:
      Reduction in the size of routing table, memory

       requirement and time for processing
      Reduction in the size of updates and bandwidth

       requirement
      Detection of networking problems that ensures

       proper routing of the packets to the destination




Chapter 2                                                 22
VLSM Design
    A VLSM design ensures efficient use of available IP
     addresses as well as more-efficient routing update
     communication using hierarchical IP addressing
    Design criteria that affect the functioning of the
     VLSM technology include
      Total subnets required currently

      Total subnets that may be required in the future

      Number hosts on the largest subnet currently

      Number of hosts that may be required on the

       largest subnet in future

Chapter 2                                              23
Planning IP Addressing
 Planning IP addressing include
           Identifying Network and Host Requirements
           Calculating Subnet Masks
           Identifying Network Addresses
           Identifying Directed Broadcast Addresses
           Identifying Host Addresses




Chapter 2                                               24
Summary - I
    TCP/IP is a protocol suite that allows data transfer
     between network devices
    The Application layer clubs the functionality of
     application, presentation, and session layers of the OSI
     model
    The transport layer is responsible for source-to-
     destination delivery of the entire message
    The network layer allows routing of data over the
     network
    The data-link layer allows the source computer to add
     meaningful bits to the data packet so that the destination
     computer identifies it
Chapter 2                                                     25
Summary - II
    Every device that is connected to the network using the
     TCP/IP protocol requires an IP Address
    The IP address is a 32-bit number that is unique for each
     device
    The IP address is converted to a decimal format to make
     them readable for the human eye
    The 32-bit binary IP address is represented as 4 octets,
     each consisting of 8 bits
    Every IP address consists of two parts, the network, and
     the host number
    The network number identifies the network segment and
     the host number identifies the actual device

Chapter 2                                                    26
Summary - III
    Host numbers are the numbers between the
     network number and the directed broadcast number
    Subnetting refers to the process of grouping a
     definite number of devices
    A subnet mask allows us to identify the network
     number and the host number of an IP address
    A subnet mask contains 32 bits similar to IP
     addresses and is represented in a decimal form
     separated by periods


Chapter 2                                           27
Summary - IV
    In a binary format, the bit 1 in the subnet mask
     represents the network number and the bit 0
     represents the host number
    A subnet mask always has a series of consecutive 1s
     followed by consecutive 0s
    The higher order bits are always reserved for
     subnetting
    The boolean AND operation enables us to identify the
     subnet number in an IP address
    The directed broadcast address specifies all host
     addresses on the particular network
Chapter 2                                                   28
Summary - V
    You can calculate network and host requirements
     using the following formulae:
      2X = > number of networks, where X refers to

       number of subnet bits
      2Y – 2 = > hosts on largest segment, where Y

       represents the host bits.
      X + Y <= total host bits

    Variable Length Subnet Mask (VLSM) allows you to
     use different masks for each subnet to prevent the
     wastage of address space

Chapter 2                                                 29

More Related Content

What's hot

CCNA project-report
CCNA project-reportCCNA project-report
CCNA project-report
Sagar Shashank
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
Kathirvel Ayyaswamy
 
Wireless lecture1
Wireless lecture1Wireless lecture1
Wireless lecture1
Mohammed Hussein
 
CCNA ppt
CCNA pptCCNA ppt
CCNA ppt
Sumant Garg
 
Loopback address
Loopback addressLoopback address
Loopback address
CEC Landran
 
CCNA
CCNACCNA
Network Engineer Interview Questions with Answers
Network Engineer Interview Questions with Answers Network Engineer Interview Questions with Answers
Network Engineer Interview Questions with Answers
Sarmad Ali
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
Kathirvel Ayyaswamy
 
Wlan IEEE 802.11
Wlan IEEE 802.11Wlan IEEE 802.11
Wlan IEEE 802.11
Adeel Mirza
 
20CS2008 Computer Networks
20CS2008 Computer Networks 20CS2008 Computer Networks
20CS2008 Computer Networks
Kathirvel Ayyaswamy
 
Report on ip addresses
Report on ip addressesReport on ip addresses
Report on ip addressesAmandeep Kaur
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
TheGodfather HA
 
ip addressing & routing
 ip addressing & routing ip addressing & routing
ip addressing & routing
Vikas Jagtap
 
CCNA Course Training Presentation
CCNA Course Training PresentationCCNA Course Training Presentation
CCNA Course Training Presentation
Rohit Singh
 
ccna networking ppt
ccna networking pptccna networking ppt
ccna networking ppt
Er. Anmol Bhagat
 
Ip addressing
Ip addressingIp addressing
Ip addressing
Online
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
Reetesh Gupta
 

What's hot (20)

CCNA project-report
CCNA project-reportCCNA project-report
CCNA project-report
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
 
Mod9
Mod9Mod9
Mod9
 
Wireless lecture1
Wireless lecture1Wireless lecture1
Wireless lecture1
 
Mod10
Mod10Mod10
Mod10
 
CCNA ppt
CCNA pptCCNA ppt
CCNA ppt
 
Loopback address
Loopback addressLoopback address
Loopback address
 
CCNA
CCNACCNA
CCNA
 
Network Engineer Interview Questions with Answers
Network Engineer Interview Questions with Answers Network Engineer Interview Questions with Answers
Network Engineer Interview Questions with Answers
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
 
Wlan IEEE 802.11
Wlan IEEE 802.11Wlan IEEE 802.11
Wlan IEEE 802.11
 
20CS2008 Computer Networks
20CS2008 Computer Networks 20CS2008 Computer Networks
20CS2008 Computer Networks
 
Report on ip addresses
Report on ip addressesReport on ip addresses
Report on ip addresses
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
ip addressing & routing
 ip addressing & routing ip addressing & routing
ip addressing & routing
 
Mod6
Mod6Mod6
Mod6
 
CCNA Course Training Presentation
CCNA Course Training PresentationCCNA Course Training Presentation
CCNA Course Training Presentation
 
ccna networking ppt
ccna networking pptccna networking ppt
ccna networking ppt
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
CCNA PPT
CCNA PPTCCNA PPT
CCNA PPT
 

Similar to IP Addressing

Junos routing overview from Juniper
Junos routing overview from JuniperJunos routing overview from Juniper
Junos routing overview from Juniper
Nam Nguyen
 
5 configuring TCP/IP
5 configuring TCP/IP5 configuring TCP/IP
5 configuring TCP/IP
Hameda Hurmat
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnetting
Shashank Asthana
 
CCNA CHAPTER 2 BY jetarvind kumar madhukar
CCNA CHAPTER 2 BY jetarvind kumar madhukarCCNA CHAPTER 2 BY jetarvind kumar madhukar
CCNA CHAPTER 2 BY jetarvind kumar madhukar
ALLCAD Services Pvt Limited
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptx
gamerchan1
 
Ip addressing upload
Ip addressing uploadIp addressing upload
Ip addressing upload
Debasis Dwibedy
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
Mustafa Salam
 
CCNA 200-120 Exam Quick Notes
CCNA 200-120 Exam Quick NotesCCNA 200-120 Exam Quick Notes
CCNA 200-120 Exam Quick Notes
Eng. Emad Al-Atoum
 
ipv4 (internet protocol version 4)
  ipv4 (internet protocol version 4)     ipv4 (internet protocol version 4)
ipv4 (internet protocol version 4)
sanchitachandrakar94
 
Chapter2ccna
Chapter2ccnaChapter2ccna
Chapter2ccnarobertoxe
 
Ch7 IP addressing.pptx
Ch7 IP addressing.pptxCh7 IP addressing.pptx
Ch7 IP addressing.pptx
SintayehuBeyene2
 
Internet protocols
Internet protocolsInternet protocols
Internet protocols
Rohit Saini
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
vssnsarma
 
15 3
15 315 3
IP addressing by Mamun Sir
IP addressing by Mamun SirIP addressing by Mamun Sir
IP addressing by Mamun Sir
sharifbdp
 

Similar to IP Addressing (20)

Junos routing overview from Juniper
Junos routing overview from JuniperJunos routing overview from Juniper
Junos routing overview from Juniper
 
5 configuring TCP/IP
5 configuring TCP/IP5 configuring TCP/IP
5 configuring TCP/IP
 
ELEC - Lecture 2
ELEC - Lecture 2ELEC - Lecture 2
ELEC - Lecture 2
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnetting
 
CCNA CHAPTER 2 BY jetarvind kumar madhukar
CCNA CHAPTER 2 BY jetarvind kumar madhukarCCNA CHAPTER 2 BY jetarvind kumar madhukar
CCNA CHAPTER 2 BY jetarvind kumar madhukar
 
Ccna1v3 mod10
Ccna1v3 mod10Ccna1v3 mod10
Ccna1v3 mod10
 
IP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptxIP_ADDRESSING_AND_SUBNETTING.pptx
IP_ADDRESSING_AND_SUBNETTING.pptx
 
Ip addressing upload
Ip addressing uploadIp addressing upload
Ip addressing upload
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
 
CCNA 200-120 Exam Quick Notes
CCNA 200-120 Exam Quick NotesCCNA 200-120 Exam Quick Notes
CCNA 200-120 Exam Quick Notes
 
ipv4 (internet protocol version 4)
  ipv4 (internet protocol version 4)     ipv4 (internet protocol version 4)
ipv4 (internet protocol version 4)
 
Chapter2ccna
Chapter2ccnaChapter2ccna
Chapter2ccna
 
Chapter2ccna
Chapter2ccnaChapter2ccna
Chapter2ccna
 
Ch7 IP addressing.pptx
Ch7 IP addressing.pptxCh7 IP addressing.pptx
Ch7 IP addressing.pptx
 
Day-3 PowerPoint
Day-3 PowerPointDay-3 PowerPoint
Day-3 PowerPoint
 
Internet protocols
Internet protocolsInternet protocols
Internet protocols
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
 
15 3
15 315 3
15 3
 
IP addressing by Mamun Sir
IP addressing by Mamun SirIP addressing by Mamun Sir
IP addressing by Mamun Sir
 

More from Ravi Shairaywal

Syllabus of BCA Second Year JAMMU University
Syllabus of BCA Second Year JAMMU UniversitySyllabus of BCA Second Year JAMMU University
Syllabus of BCA Second Year JAMMU UniversityRavi Shairaywal
 
Inter-Networking Overview
Inter-Networking OverviewInter-Networking Overview
Inter-Networking OverviewRavi Shairaywal
 

More from Ravi Shairaywal (7)

Syllabus of BCA Second Year JAMMU University
Syllabus of BCA Second Year JAMMU UniversitySyllabus of BCA Second Year JAMMU University
Syllabus of BCA Second Year JAMMU University
 
Quran In Hindi
Quran In HindiQuran In Hindi
Quran In Hindi
 
Topology
TopologyTopology
Topology
 
IP Routing
IP RoutingIP Routing
IP Routing
 
Router Fundamentals
Router FundamentalsRouter Fundamentals
Router Fundamentals
 
IPv6
IPv6IPv6
IPv6
 
Inter-Networking Overview
Inter-Networking OverviewInter-Networking Overview
Inter-Networking Overview
 

Recently uploaded

Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 

Recently uploaded (20)

Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 

IP Addressing

  • 1. IP Addressing Chapter 2
  • 2. Chapter Objectives  Explain TCP/IP protocol stack  Explain IP addressing  Discuss IP subnetting  Plan IP addressing Chapter 2 2
  • 3. Recall  Physical and the Logical topology are the two types of topologies  LAN, MAN and WAN are the different types of networks used  Hierarchical model includes three layers, core layer, distribution layer and the access layer  Application layer, presentation layer, session layer, transport layer, network layer, data link layer and the physical layer are the different layers of the OSI model Chapter 2 3
  • 4. TCP/IP Stack  TCP/IP stack has four layers TCP/IP Network Application Interface Transport Internet Chapter 2 4
  • 5. Application Layer  Application layer clubs the functionality of application, presentation, and session layers of the OSI model  Protocols that function at the application layer include  Hyper Text Transfer Protocol (HTTP)  Simple Network Management Protocol (SNMP)  File Transfer Protocol (FTP)  Telnet Chapter 2 5
  • 6. Transport Layer  Layer is responsible for source-to-destination delivery of the entire message  Ensures that the entire message arrives at the destination computer  Protocols that function in the transport layer include  TCP  User Datagram Protocol (UDP) Chapter 2 6
  • 7. Internet Layer  Layer allows routing of data over the network  Protocols that function in the network layer include  Address Resolution protocol (ARP) - ARP provides a method for finding the Media Access Control (MAC) address of the host computer from its IP address  Reverse Address Resolution Protocol (RARP) - RARP provides a method for finding the IP address of the host computer from the MAC address Chapter 2 7
  • 8. Internet Control Message Protocol (ICMP)  ICMP functions at the network layer of Internet Protocol  The protocol reports errors related to the delivery of IP packets within a network  ICMPs generate the following four messages  Destination Unreachable message  Echo request message  Redirect message  Time exceeded message Chapter 2 8
  • 9. IP Addressing  IP address is a 32-bit binary number that is unique for each device  IP address is converted to a decimal format to make them readable for the humans  Within the network, the IP address is interpreted in a binary format consisting of 0 and 1  IP address of 10010100101000101001010010101011, it is split into 4 octets such as  10010100  10100010  10010100  10101011 Chapter 2 9
  • 10. IP Addressing  To convert the bits to a decimal format, right most bit in the octet has the least value of 20. This value goes on increasing towards the left Bits 1 0 0 1 0 1 0 0 Values 27 = 128 26 = 64 25 = 32 24 = 16 23 = 8 22 = 4 21 = 2 20 = 1 Chapter 2 10
  • 11. IP Addressing  You need to multiply the bits with its corresponding value in the table Bits 1 0 0 1 0 1 0 0 Values 27 = 128 26 = 64 25 = 32 24 = 16 23 = 8 22 = 4 21 = 2 20 = 1 Multiplied 128 0 0 16 0 4 0 0 Values Chapter 2 11
  • 12. IP Addressing  The equivalent decimal value for the octet will be the addition of all the multiplied values  For the octet 10010100, the decimal value will be 128+0+0+16+0+4+0+0 = 148  So the IP address of the machine will be 148.162.148.171 Chapter 2 12
  • 13. Classification of IP Addresses CLASSES Class A Class B Class C Class D Class E 1-126 128 - 191 192 -223 224-239 240 - 255 Chapter 2 13
  • 14. IP Address Components  A network number denotes the network segment to which the device is connected  A host number specifies the address of the device in the network segment. Host numbers are the numbers between the network number and the directed broadcast number Chapter 2 14
  • 15. Subnet Mask  Subnet mask is used to identify the network bits and host bits in the IP address  A subnet mask always has a series of consecutive 1s followed by consecutive 0s  A subnet mask cannot start with the bit 0 or ending with the bit 1 Chapter 2 15
  • 17. Algorithm to determine the number of hosts and subnets  Identify the IP address structure  Determine the number of network bits based on the class of the IP address  Determine the number of host bits based on the number of 0s in the mask  Determine the number of host bits using the formula, 32 – (network bits + host bits)  Calculate the number of subnets using the formula, 2subnet bits – 2  Calculate the number of hosts in each subnet using the formula, 2host bits – 2 Chapter 2 17
  • 18. Case Study The Blue Diamond Steel organization located in Gujarat is granted an IP address 220.56.64.0 by Internet Assigned Numbers Authority (IANA). The company requires five different subnets for its Finance, Business Development, Software Management, Project Management and Detailing departments. The network administrator Robert needs to design the subnets for the company. Chapter 2 18
  • 19. Problem Finding IP address range for each subnet Chapter 2 19
  • 20. Suggested Solution Find IP address range for each subnet Chapter 2 20
  • 21. Variable Length Subnet Mask (VLSM)  VLSM allows you to use different masks for each subnet  Classful protocols such as Routing Information Protocol version 1 (RIPv1) and IGRP do not support VLSM  Advantages of VLSM include  Efficient use of IP addressing  Route summarization Chapter 2 21
  • 22. Route Summarization  Advantages of route summarization include:  Reduction in the size of routing table, memory requirement and time for processing  Reduction in the size of updates and bandwidth requirement  Detection of networking problems that ensures proper routing of the packets to the destination Chapter 2 22
  • 23. VLSM Design  A VLSM design ensures efficient use of available IP addresses as well as more-efficient routing update communication using hierarchical IP addressing  Design criteria that affect the functioning of the VLSM technology include  Total subnets required currently  Total subnets that may be required in the future  Number hosts on the largest subnet currently  Number of hosts that may be required on the largest subnet in future Chapter 2 23
  • 24. Planning IP Addressing  Planning IP addressing include  Identifying Network and Host Requirements  Calculating Subnet Masks  Identifying Network Addresses  Identifying Directed Broadcast Addresses  Identifying Host Addresses Chapter 2 24
  • 25. Summary - I  TCP/IP is a protocol suite that allows data transfer between network devices  The Application layer clubs the functionality of application, presentation, and session layers of the OSI model  The transport layer is responsible for source-to- destination delivery of the entire message  The network layer allows routing of data over the network  The data-link layer allows the source computer to add meaningful bits to the data packet so that the destination computer identifies it Chapter 2 25
  • 26. Summary - II  Every device that is connected to the network using the TCP/IP protocol requires an IP Address  The IP address is a 32-bit number that is unique for each device  The IP address is converted to a decimal format to make them readable for the human eye  The 32-bit binary IP address is represented as 4 octets, each consisting of 8 bits  Every IP address consists of two parts, the network, and the host number  The network number identifies the network segment and the host number identifies the actual device Chapter 2 26
  • 27. Summary - III  Host numbers are the numbers between the network number and the directed broadcast number  Subnetting refers to the process of grouping a definite number of devices  A subnet mask allows us to identify the network number and the host number of an IP address  A subnet mask contains 32 bits similar to IP addresses and is represented in a decimal form separated by periods Chapter 2 27
  • 28. Summary - IV  In a binary format, the bit 1 in the subnet mask represents the network number and the bit 0 represents the host number  A subnet mask always has a series of consecutive 1s followed by consecutive 0s  The higher order bits are always reserved for subnetting  The boolean AND operation enables us to identify the subnet number in an IP address  The directed broadcast address specifies all host addresses on the particular network Chapter 2 28
  • 29. Summary - V  You can calculate network and host requirements using the following formulae:  2X = > number of networks, where X refers to number of subnet bits  2Y – 2 = > hosts on largest segment, where Y represents the host bits.  X + Y <= total host bits  Variable Length Subnet Mask (VLSM) allows you to use different masks for each subnet to prevent the wastage of address space Chapter 2 29