SlideShare a Scribd company logo
Sub Topic       : IP Addressing Concepts
Teaching Aids   : Diagrams, Animations




                          --               1
Recap

    In the previous class, you have learnt about


•       Leased line, DSL and Cable MODEM




                              --                   2
Objectives
 On completion of this period, you will be able to know
 about

• What is an IP Address?

• What is network prefix and host number?

• What is Internet address?

• What is sub-netting and no sub-netting?



                           --                             3
What is an IP Address?
• Internet identifier including information about how to
  reach a network location (via the Internet routing
  system)

• IPv4: 32-bit number. Written in Dotted Decimal
  Notation 205.150.58.7.
   – 4 billion different host addresses

• IPv6: 128-bit number. Written in Hex Decimal
  Notation
       2001:0503:0C27:0000:0000:0000:0000:0000
   –     16 billion network addresses


                            --                             4
IP Addresses

                                                           32 bits
             version     header      Type of Service/TOS                  Total Length (in bytes)
             (4 bits)    length            (8 bits)                              (16 bits)
                                                               flags
                        Identification (16 bits)                                Fragment Offset (13 bits)
                                                              (3 bits)
              TTL Time-to-Live              Protocol
                                                                         Header Checksum (16 bits)
                  (8 bits)                   (8 bits)

                                               Source IP address (32 bits)

                                             Destination IP address (32 bits)




Ethernet Header    IP Header            TCP Header                   Application data                 Ethernet Trailer

                                                   Ethernet frame

                        Fig .1                        --                                                    5
Network Prefix and Host Number

•The network prefix identifies a network and the host
number identifies a specific host (actually, interface on the
network)
      network prefix                host number
•How do we know how long the network prefix is?
   –Before 1993: The network prefix is implicitly defined
   (see class-based addressing)


   –After 1993: The network prefix is indicated by a net
   mask
                               --                           6
Dotted Decimal Notation

• IP addresses are written in a so-called dotted
  decimal notation
• Each byte is identified by a decimal number in the
   range [0..255]:
     10000000         10001111 10001001             10010000
         1st Byte        2nd Byte        3rd Byte       4th Byte
             = 128       = 143           = 137           = 144


     Fig.2                128.143.137.144
                                    --                           7
IP Address
• Every interface have a unique Internet address (IP address)
• Consist of 2 parts – network id and host id
• 32-bit address
• 5 Classes
   –A – 0.0.0.0 to 127.255.255.255 (224 nodes)
   –B – 128.0.0.0 to 191.255.255.255 (216 nodes)
   –C – 192.0.0.0 to 223.255.255.255 (28 nodes)
   –D – 224.0.0.0 to 239.255.255.255
   –E – 240.0.0.0 to 247.255.255.255

                               --                        8
IP Address           contd….

•   When Internet addresses were standardized (early
    1980s), the Internet address space was divided up into
    classes
     • Class A: Network prefix is 8 bits long
     • Class B: Network prefix is 16 bits long
     • Class C: Network prefix is 24 bits long


•   Each IP address contained a key which identifies the
    class
     • Class A: IP address starts with “0”
     • Class B: IP address starts with “10”
     • Class C: IP address starts with “110”


                             --                            9
IP address                                            contd…

          bit #   0   1                            7 8                                                                              31

Class A           0
                      Network Prefix                                              Host Number
                                8 bits                                                   24 bits

          bit #   0   1 2                                              15   16                                                      31

Class B           10               network id                                                      host

                                Network Prefix                                            Host Number
                                         16 bits                                                   16 bits

          bit #   0   1 2 3                                                                              23   24                    31

Class C           110                                     network id                                                    host

                                                    Network Prefix                                                 Host Number
                                                             24 bits                                                       8 bits
                                                                       --                                                            10
IP Address                    contd…


         bit # 0 1 2 3 4                                  31

Clas D      1110                  multicast group id


         bit # 0 1 2 3 4 5                                31

Clas E      11110            (reserved for future use)
              Fig .4              --                     11
Special IP Address


•All 0’s is reserved to refer to a network number




•All 1’s is reserved to refer to a broadcast
address




                           --                       12
Sub-netting

•   Class A and B has too many nodes


•   Network is divided to sub-network


•   Improve network performance


•   Indicate by subnet mask


                              --        13
No Sub-netting

• All hosts think that the other hosts are on the same network




     128.143.137.32/16          128.143.137.144/16         128.143.71.21/16        128.143.71.201/16
    subnetmask: 255.255.0.0   subnetmask: 255.255.0.0   subnetmask: 255.255.0.0   subnetmask: 255.255.0.0




                                                128.143.70.0/16




                   Fig .5
                                                   --                                              14
With Sub-netting
  •    Hosts with same extended network prefix belong to the
       same network



  128.143.137.32/24             128.143.137.144/24                128.143.71.21/24            128.143.71.201/24
subnetmask: 255.255.255.0     subnetmask: 255.255.255.0        subnetmask: 255.255.255.0   subnetmask: 255.255.255.0




                            128.143.137.0/24                                128.143.71.0/24
                                 Subnet                                         Subnet
                                                   128.143.0.0/16




                                                 Fig .6

                                                          --                                                  15
Summary

  In this class, you have learnt about

• At the network layer, a global identification system that

  uniquely identifies every host and router is necessary for

  delivery of packet from host –to-host

• An IP v4 address is 32 bit long and uniquely and

  universally define a host or router on the Internet



                               --                             16
Summary           contd……



• In classfull adressing,the portion of IP address that
  identifies the network is called netid



• In classfull adressing,the portion of IP address that
  identifies the host or router on the network is called
  the hostid


                            --                             17
Summary         contd..


• An IP address defines a device’s connection to a
  network

• There are five classes in IPv4 addresses

• Classes A, B and C differ in the no. of host allowed
  per network

• Class D is for multicasting and class E is reserved


                            --                           18
Quiz


1. IP version 4 is of ______ bits

     (a) 32

     (b) 48

     (c) 24

     (d) None of the above



                             --     19
Quiz

2. In IP addressing there are ___ classes


     (a) 5

     (b) 4

     (c) 6

     (d) None of the above



                             --             20
Frequently Asked Questions


1. Discuss the concepts of IP addressing


2. Describe the classes of IP version 4 addressing


3. Write a short note on default gate ways



                                                     21

More Related Content

PPTX
Routing ppt
PPTX
PDF
W-LAN (Wireless Local Area Network)
PPT
IP NETWORKING AND IP SUBNET MASKING
PPTX
IP addressing and Subnetting PPT
PPTX
Subnet Mask
PPSX
Issues in Data Link Layer
PPT
Ip address and subnetting
Routing ppt
W-LAN (Wireless Local Area Network)
IP NETWORKING AND IP SUBNET MASKING
IP addressing and Subnetting PPT
Subnet Mask
Issues in Data Link Layer
Ip address and subnetting

What's hot (20)

PPTX
Basics of IP Addressing
PPT
Internetworking basics
PPTX
Network Layer
PPT
Network Layer,Computer Networks
PPT
Congestion control and quality of service
PPTX
Integrated service digital network
PPTX
Routing protocols
PPT
Unit 3 Network Layer PPT
PPT
Network layer tanenbaum
PPTX
TCP/IP 3-way Handshake
PPTX
Multiple access protocol
PPTX
Troubleshooting Network and Network Utilities
PPT
data-link layer protocols
PPTX
PPTX
Data link layer
PPT
Ip addressing
PPTX
Dynamic routing protocols (CCNA)
PPT
Chapter 4 data link layer
PPT
Distance vector routing
PPTX
Routing Protocols.pptx
Basics of IP Addressing
Internetworking basics
Network Layer
Network Layer,Computer Networks
Congestion control and quality of service
Integrated service digital network
Routing protocols
Unit 3 Network Layer PPT
Network layer tanenbaum
TCP/IP 3-way Handshake
Multiple access protocol
Troubleshooting Network and Network Utilities
data-link layer protocols
Data link layer
Ip addressing
Dynamic routing protocols (CCNA)
Chapter 4 data link layer
Distance vector routing
Routing Protocols.pptx
Ad

Viewers also liked (8)

PPTX
Introduction to router
PPT
IP addressing
PPTX
Routers.ppt
PPT
Types of ip address classes
PPTX
Routers and Routing Configuration
PPTX
Ppt of routing protocols
PPTX
Internet protocol (ip) ppt
PPS
Ip address
Introduction to router
IP addressing
Routers.ppt
Types of ip address classes
Routers and Routing Configuration
Ppt of routing protocols
Internet protocol (ip) ppt
Ip address
Ad

Similar to Ip address concepts (20)

PDF
IP addressing by Mamun Sir
PPT
How IP address works
PPTX
Subnetting Basics Tutorial
PDF
Book technic cal_ip
PPT
Subnetting
PPS
Lesson1: Introduction To Networking Concepts
PPT
Ip Addressing
PDF
TCP/IP – Transmission Control Protocol/ Internet Protocol
PDF
Ccent notes part 3
PDF
Ip -subnetting
PDF
Ipv6 cheat sheet
PPT
ip addressing & routing
PDF
Introduction to Internet
PPT
Addressing
PDF
IP-Subnetworking
PPT
IP Addressing
PDF
Ip address
PPTX
Ch7 IP addressing.pptx
IP addressing by Mamun Sir
How IP address works
Subnetting Basics Tutorial
Book technic cal_ip
Subnetting
Lesson1: Introduction To Networking Concepts
Ip Addressing
TCP/IP – Transmission Control Protocol/ Internet Protocol
Ccent notes part 3
Ip -subnetting
Ipv6 cheat sheet
ip addressing & routing
Introduction to Internet
Addressing
IP-Subnetworking
IP Addressing
Ip address
Ch7 IP addressing.pptx

More from myrajendra (20)

PPT
Fundamentals
PPT
Data type
PPTX
Hibernate example1
PPTX
Jdbc workflow
PPTX
2 jdbc drivers
PPTX
3 jdbc api
PPTX
4 jdbc step1
PPTX
Dao example
PPTX
Sessionex1
PPTX
Internal
PPTX
3. elements
PPTX
2. attributes
PPTX
1 introduction to html
PPTX
Headings
PPTX
Forms
PPT
PPTX
Views
PPTX
Views
PPTX
Views
PPT
Starting jdbc
Fundamentals
Data type
Hibernate example1
Jdbc workflow
2 jdbc drivers
3 jdbc api
4 jdbc step1
Dao example
Sessionex1
Internal
3. elements
2. attributes
1 introduction to html
Headings
Forms
Views
Views
Views
Starting jdbc

Ip address concepts

  • 1. Sub Topic : IP Addressing Concepts Teaching Aids : Diagrams, Animations -- 1
  • 2. Recap In the previous class, you have learnt about • Leased line, DSL and Cable MODEM -- 2
  • 3. Objectives On completion of this period, you will be able to know about • What is an IP Address? • What is network prefix and host number? • What is Internet address? • What is sub-netting and no sub-netting? -- 3
  • 4. What is an IP Address? • Internet identifier including information about how to reach a network location (via the Internet routing system) • IPv4: 32-bit number. Written in Dotted Decimal Notation 205.150.58.7. – 4 billion different host addresses • IPv6: 128-bit number. Written in Hex Decimal Notation 2001:0503:0C27:0000:0000:0000:0000:0000 – 16 billion network addresses -- 4
  • 5. IP Addresses 32 bits version header Type of Service/TOS Total Length (in bytes) (4 bits) length (8 bits) (16 bits) flags Identification (16 bits) Fragment Offset (13 bits) (3 bits) TTL Time-to-Live Protocol Header Checksum (16 bits) (8 bits) (8 bits) Source IP address (32 bits) Destination IP address (32 bits) Ethernet Header IP Header TCP Header Application data Ethernet Trailer Ethernet frame Fig .1 -- 5
  • 6. Network Prefix and Host Number •The network prefix identifies a network and the host number identifies a specific host (actually, interface on the network) network prefix host number •How do we know how long the network prefix is? –Before 1993: The network prefix is implicitly defined (see class-based addressing) –After 1993: The network prefix is indicated by a net mask -- 6
  • 7. Dotted Decimal Notation • IP addresses are written in a so-called dotted decimal notation • Each byte is identified by a decimal number in the range [0..255]: 10000000 10001111 10001001 10010000 1st Byte 2nd Byte 3rd Byte 4th Byte = 128 = 143 = 137 = 144 Fig.2 128.143.137.144 -- 7
  • 8. IP Address • Every interface have a unique Internet address (IP address) • Consist of 2 parts – network id and host id • 32-bit address • 5 Classes –A – 0.0.0.0 to 127.255.255.255 (224 nodes) –B – 128.0.0.0 to 191.255.255.255 (216 nodes) –C – 192.0.0.0 to 223.255.255.255 (28 nodes) –D – 224.0.0.0 to 239.255.255.255 –E – 240.0.0.0 to 247.255.255.255 -- 8
  • 9. IP Address contd…. • When Internet addresses were standardized (early 1980s), the Internet address space was divided up into classes • Class A: Network prefix is 8 bits long • Class B: Network prefix is 16 bits long • Class C: Network prefix is 24 bits long • Each IP address contained a key which identifies the class • Class A: IP address starts with “0” • Class B: IP address starts with “10” • Class C: IP address starts with “110” -- 9
  • 10. IP address contd… bit # 0 1 7 8 31 Class A 0 Network Prefix Host Number 8 bits 24 bits bit # 0 1 2 15 16 31 Class B 10 network id host Network Prefix Host Number 16 bits 16 bits bit # 0 1 2 3 23 24 31 Class C 110 network id host Network Prefix Host Number 24 bits 8 bits -- 10
  • 11. IP Address contd… bit # 0 1 2 3 4 31 Clas D 1110 multicast group id bit # 0 1 2 3 4 5 31 Clas E 11110 (reserved for future use) Fig .4 -- 11
  • 12. Special IP Address •All 0’s is reserved to refer to a network number •All 1’s is reserved to refer to a broadcast address -- 12
  • 13. Sub-netting • Class A and B has too many nodes • Network is divided to sub-network • Improve network performance • Indicate by subnet mask -- 13
  • 14. No Sub-netting • All hosts think that the other hosts are on the same network 128.143.137.32/16 128.143.137.144/16 128.143.71.21/16 128.143.71.201/16 subnetmask: 255.255.0.0 subnetmask: 255.255.0.0 subnetmask: 255.255.0.0 subnetmask: 255.255.0.0 128.143.70.0/16 Fig .5 -- 14
  • 15. With Sub-netting • Hosts with same extended network prefix belong to the same network 128.143.137.32/24 128.143.137.144/24 128.143.71.21/24 128.143.71.201/24 subnetmask: 255.255.255.0 subnetmask: 255.255.255.0 subnetmask: 255.255.255.0 subnetmask: 255.255.255.0 128.143.137.0/24 128.143.71.0/24 Subnet Subnet 128.143.0.0/16 Fig .6 -- 15
  • 16. Summary In this class, you have learnt about • At the network layer, a global identification system that uniquely identifies every host and router is necessary for delivery of packet from host –to-host • An IP v4 address is 32 bit long and uniquely and universally define a host or router on the Internet -- 16
  • 17. Summary contd…… • In classfull adressing,the portion of IP address that identifies the network is called netid • In classfull adressing,the portion of IP address that identifies the host or router on the network is called the hostid -- 17
  • 18. Summary contd.. • An IP address defines a device’s connection to a network • There are five classes in IPv4 addresses • Classes A, B and C differ in the no. of host allowed per network • Class D is for multicasting and class E is reserved -- 18
  • 19. Quiz 1. IP version 4 is of ______ bits (a) 32 (b) 48 (c) 24 (d) None of the above -- 19
  • 20. Quiz 2. In IP addressing there are ___ classes (a) 5 (b) 4 (c) 6 (d) None of the above -- 20
  • 21. Frequently Asked Questions 1. Discuss the concepts of IP addressing 2. Describe the classes of IP version 4 addressing 3. Write a short note on default gate ways 21