SlideShare une entreprise Scribd logo
1  sur  18
Internet Protocol
Orientation
• IP (Internet Protocol) is a Network Layer
  Protocol.
• IP’s current version is Version 4 (IPv4). It is
  specified in RFC 891.
• IP is the highest layer protocol which is
  implemented at both routers and hosts


                                                    2
IP: The waist of the hourglass

• IP is the waist of the hourglass     Applications

  of the Internet protocol           HTTP FTP SMTP
  architecture                          TCP UDP
• Multiple higher-layer protocols
• Multiple lower-layer protocols            IP

• Only one protocol at the
  network layer.                      Data link layer
                                        protocols

                                      Physical layer
                                        protocols

                                                        3
IP Service
• Delivery service of IP is minimal

• IP provide provides an unreliable connectionless best effort service (also
  called: “datagram service”).
   – Unreliable: IP does not make an attempt to recover lost packets
   – Connectionless: Each packet (“datagram”) is handled independently. IP is
      not aware that packets between hosts may be sent in a logical sequence
   – Best effort: IP does not make guarantees on the service (no throughput
      guarantee, no delay guarantee,…)
• Consequences:

• Higher layer protocols have to deal with losses or with
  duplicate packets

•   Packets may be delivered out-of-sequence
IP Service
•   IP supports the following services:
          • one-to-one                      (unicast)
          • one-to-all                      (broadcast)
          • one-to-several                  (multicast)
•   IP multicast also supports a many-to-many service.
•   IP multicast requires support of other protocols (IGMP, multicast routing)




       unicast
                               broadcast                         multicast
                                                                                 5
IP Datagram Format
     bit # 0                        7 8                  15 16                     23   24            31
                          header
               version                       DS         ECN                 total length (in bytes)
                          length
                                                                  D M
                            Identification                    0                    Fragment offset
                                                                  F F
               time-to-live (TTL)            protocol                        header checksum

                                                    source IP address

                                                  destination IP address

                                                  options (0 to 40 bytes)


                                                         payload


                                                          4 bytes

•   20 bytes ≤ Header Size < 24 x 4 bytes = 60 bytes
•   20 bytes ≤ Total Length < 216 bytes = 65536 bytes
                                                                                                           6
IP Datagram Format
• Question: In which order are the bytes of an IP datagram
  transmitted?
• Answer:
        • Transmission is row by row
        • For each row:
                1. First transmit bits 0-7
                2. Then transmit bits 8-15
                3. Then transmit bits 16-23
                4. Then transmit bits 24-31
• This is called network byte order or big endian byte ordering.
  Note: Many computers (incl. Intel processors) store 32-bit words
  in little endian format. Others (incl. Motorola processors) use big
  endian.
                                                                        7
Big endian vs. small endian
    • Conventions to store a multi-byte work
    • Example: a 4 byte Long Integer       Byte3 Byte2 Byte1 Byte0

                   Little Endian                                  Big Endian
•   Stores the low-order byte at the lowest     •   Stores the high-order byte at the lowest
    address and the highest order byte in the       address, and the low-order byte at the
    highest address.                                highest address.
    Base Address+0 Byte0                            Base Address+0 Byte3
    Base Address+1 Byte1                            Base Address+1 Byte2
    Base Address+2 Byte2                            Base Address+2 Byte1
    Base Address+3 Byte3                            Base Address+3 Byte0

•   Intel processors use this order             Motorola processors use big endian.




                                                                                           8
Fields of the IP Header
• Version (4 bits): current version is 4, next version will be 6.
• Header length (4 bits): length of IP header, in multiples of 4 bytes
• DS/ECN field (1 byte)
   – This field was previously called as Type-of-Service (TOS) field. The role of
     this field has been re-defined, but is “backwards compatible” to TOS
     interpretation
   – Differentiated Service (DS) (6 bits):
       • Used to specify service level (currently not supported in the Internet)
   – Explicit Congestion Notification (ECN) (2 bits):
       • New feedback mechanism used by TCP


                                                                                9
Fields of the IP Header
• Identification (16 bits): Unique identification of a datagram from
  a host. Incremented whenever a datagram is transmitted

• Flags (3 bits):
   – First bit always set to 0
   – DF bit (Do not fragment)
   – MF bit (More fragments)
   Will be explained later Fragmentation



                                                                  10
Fields of the IP Header

• Time To Live (TTL) (1 byte):
   – Specifies longest paths before datagram        is dropped
   – Role of TTL field: Ensure that packet is eventually dropped
     when a routing loop occurs
   Used as follows:
   – Sender sets the value (e.g., 64)
   – Each router decrements the value by 1
   – When the value reaches 0, the datagram is dropped



                                                                   11
Fields of the IP Header
• Protocol (1 byte):
      • Specifies the higher-layer protocol.
      • Used for demultiplexing to higher layers.
• Header checksum (2 bytes): A simple 16-bit long
  checksum which is computed for the header of the
  datagram.



                                                     12
Fields of the IP Header
•   Options:
         • Security restrictions
         • Record Route: each router that processes the packet adds its IP address to
           the header.
         • Timestamp: each router that processes the packet adds its IP address and
           time to the header.
         • (loose) Source Routing: specifies a list of routers that must be traversed.
         • (strict) Source Routing: specifies a list of the only routers that can be
           traversed.
•   Padding: Padding bytes are added to ensure that header ends on a 4-byte
    boundary



                                                                                         13
Maximum Transmission Unit
•   Maximum size of IP datagram is 65535, but the data link layer protocol generally
    imposes a limit that is much smaller
•   Example:
     – Ethernet frames have a maximum payload of 1500 bytes
         IP datagrams encapsulated in Ethernet frame cannot be longer than 1500 bytes
•   The limit on the maximum IP datagram size, imposed by the data link protocol is called
    maximum transmission unit (MTU)



• MTUs for various data link protocols:
  Ethernet:    1500                 FDDI:    4352
  802.3:       1492                 ATM AAL5: 9180
  802.5:       4464                 PPP:     negotiated
                                                                                             14
IP Fragmentation
• What if the size of an IP datagram exceeds the MTU?
  IP datagram is fragmented into smaller units.

• What if the route contains networks with different MTUs?
                                          Ethernet
              FDDI
              Ring
  Host A                   Router                           Host B
MTUs:      FDDI: 4352                Ethernet: 1500

• Fragmentation:
    • IP router splits the datagram into several datagram
    • Fragments are reassembled at receiver                          15
Where is Fragmentation done?

Fragmentation can be done at the sender or at
intermediate routers
The same datagram can be fragmented several
times.
Reassembly of original datagram is only done at
destination hosts !!

IP datagram   H              Fragment 2   H2   Fragment 1   H1




                  Router
                                                                 16
What’s involved in
                        Fragmentation?
  • The following fields in the IP header are involved:




Identification        When a datagram is fragmented, the
                      identification is the same in all fragments
Flags
        DF bit is set: Datagram cannot be fragmented and must
                be discarded if MTU is too small
        MF bit set:     This datagram is part of a fragment and an
                additional fragment follows this one
                                                                     17
What’s involved in
                     Fragmentation?
       • The following fields in the IP header are involved:




Fragment offset    Offset of the payload of the current
                   fragment in the original datagram
Total length       Total length of the current fragment
                                                               18

Contenu connexe

Tendances

Internet protocol concepts and overview
Internet protocol concepts and overviewInternet protocol concepts and overview
Internet protocol concepts and overviewAGhaKhan01
 
Internet protocol (ip)
Internet protocol (ip)Internet protocol (ip)
Internet protocol (ip)junnubabu
 
"Internet Protocol Suite" prepared by Szymon M. from Poland
"Internet Protocol Suite" prepared by Szymon M. from Poland"Internet Protocol Suite" prepared by Szymon M. from Poland
"Internet Protocol Suite" prepared by Szymon M. from Polandirenazd
 
TCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureTCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureManoj Kumar
 
IP ADDRESSING AND SUBNETTING REPORT
IP ADDRESSING AND SUBNETTING  REPORTIP ADDRESSING AND SUBNETTING  REPORT
IP ADDRESSING AND SUBNETTING REPORTRajat Kumar
 
Basic Understanding about TCP/IP Addressing system
Basic Understanding about TCP/IP Addressing systemBasic Understanding about TCP/IP Addressing system
Basic Understanding about TCP/IP Addressing systemBharathKumarRaju DasaraRaju
 
Internet protocols Report Slides
Internet protocols Report SlidesInternet protocols Report Slides
Internet protocols Report SlidesBassam Kanber
 
ip addressing & routing
 ip addressing & routing ip addressing & routing
ip addressing & routingVikas Jagtap
 
Loopback address
Loopback addressLoopback address
Loopback addressCEC Landran
 

Tendances (20)

Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
Internet protocol concepts and overview
Internet protocol concepts and overviewInternet protocol concepts and overview
Internet protocol concepts and overview
 
Internet protocol (ip)
Internet protocol (ip)Internet protocol (ip)
Internet protocol (ip)
 
Tcp
TcpTcp
Tcp
 
"Internet Protocol Suite" prepared by Szymon M. from Poland
"Internet Protocol Suite" prepared by Szymon M. from Poland"Internet Protocol Suite" prepared by Szymon M. from Poland
"Internet Protocol Suite" prepared by Szymon M. from Poland
 
TCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureTCP/IP Protocol Architeture
TCP/IP Protocol Architeture
 
IP ADDRESSING AND SUBNETTING REPORT
IP ADDRESSING AND SUBNETTING  REPORTIP ADDRESSING AND SUBNETTING  REPORT
IP ADDRESSING AND SUBNETTING REPORT
 
Basic Understanding about TCP/IP Addressing system
Basic Understanding about TCP/IP Addressing systemBasic Understanding about TCP/IP Addressing system
Basic Understanding about TCP/IP Addressing system
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 
Ipv4 header
Ipv4 headerIpv4 header
Ipv4 header
 
TCP IP Addressing
TCP IP AddressingTCP IP Addressing
TCP IP Addressing
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 
Internet protocols Report Slides
Internet protocols Report SlidesInternet protocols Report Slides
Internet protocols Report Slides
 
Internet Protocol
Internet ProtocolInternet Protocol
Internet Protocol
 
More on Tcp/Ip
More on Tcp/IpMore on Tcp/Ip
More on Tcp/Ip
 
ip addressing & routing
 ip addressing & routing ip addressing & routing
ip addressing & routing
 
The Internet Protocol version 4 (IPv4)
The Internet Protocol version 4 (IPv4)The Internet Protocol version 4 (IPv4)
The Internet Protocol version 4 (IPv4)
 
Loopback address
Loopback addressLoopback address
Loopback address
 
IP Address
IP AddressIP Address
IP Address
 
Network layer logical addressing
Network layer logical addressingNetwork layer logical addressing
Network layer logical addressing
 

En vedette

Internet protocol (ip) ppt
Internet protocol (ip) pptInternet protocol (ip) ppt
Internet protocol (ip) pptDulith Kasun
 
NETWORK PROTOCOL
NETWORK PROTOCOLNETWORK PROTOCOL
NETWORK PROTOCOLKak Yong
 
Network protocols
Network protocolsNetwork protocols
Network protocolsHemnath R.
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network pptextraganesh
 
Network protocol
Network protocolNetwork protocol
Network protocolOnline
 
Osi model vs TCP/IP
Osi model vs TCP/IPOsi model vs TCP/IP
Osi model vs TCP/IPMannu Khani
 
Components of computers
Components of computersComponents of computers
Components of computersOnline
 
Types of computers grade1
Types of computers  grade1Types of computers  grade1
Types of computers grade1LinaHamwi93
 
Internet protocol (IP) / Transmission Protocol
Internet protocol (IP) / Transmission ProtocolInternet protocol (IP) / Transmission Protocol
Internet protocol (IP) / Transmission ProtocolVR Talsaniya
 
Physical GEOG: Chapter 9 - Types of Nat Veg
Physical GEOG: Chapter 9 - Types of Nat VegPhysical GEOG: Chapter 9 - Types of Nat Veg
Physical GEOG: Chapter 9 - Types of Nat VegSofian Muhd
 
Types and components of computers
Types and components of computersTypes and components of computers
Types and components of computersCik Na Shohaili
 
Internet Protocols
Internet ProtocolsInternet Protocols
Internet ProtocolsMohamed Daif
 

En vedette (20)

Internet Protocols
Internet ProtocolsInternet Protocols
Internet Protocols
 
Internet protocol (ip) ppt
Internet protocol (ip) pptInternet protocol (ip) ppt
Internet protocol (ip) ppt
 
NETWORK PROTOCOL
NETWORK PROTOCOLNETWORK PROTOCOL
NETWORK PROTOCOL
 
Chapter 20: Internet Protocol
Chapter 20: Internet ProtocolChapter 20: Internet Protocol
Chapter 20: Internet Protocol
 
Ip address
Ip addressIp address
Ip address
 
Network protocols
Network protocolsNetwork protocols
Network protocols
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network ppt
 
Network protocol
Network protocolNetwork protocol
Network protocol
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
Osi model vs TCP/IP
Osi model vs TCP/IPOsi model vs TCP/IP
Osi model vs TCP/IP
 
Protocols
ProtocolsProtocols
Protocols
 
Components of computers
Components of computersComponents of computers
Components of computers
 
Types of computers grade1
Types of computers  grade1Types of computers  grade1
Types of computers grade1
 
Internet Protocol (IP)
Internet Protocol (IP)Internet Protocol (IP)
Internet Protocol (IP)
 
Internet protocol (IP) / Transmission Protocol
Internet protocol (IP) / Transmission ProtocolInternet protocol (IP) / Transmission Protocol
Internet protocol (IP) / Transmission Protocol
 
Physical GEOG: Chapter 9 - Types of Nat Veg
Physical GEOG: Chapter 9 - Types of Nat VegPhysical GEOG: Chapter 9 - Types of Nat Veg
Physical GEOG: Chapter 9 - Types of Nat Veg
 
IPocalypse
IPocalypseIPocalypse
IPocalypse
 
Types and components of computers
Types and components of computersTypes and components of computers
Types and components of computers
 
Internet Protocols
Internet ProtocolsInternet Protocols
Internet Protocols
 
Types of Computers
Types of ComputersTypes of Computers
Types of Computers
 

Similaire à Internet protocol (20)

10 coms 525 tcpip - internet protocol - ip
10   coms 525 tcpip -  internet protocol - ip10   coms 525 tcpip -  internet protocol - ip
10 coms 525 tcpip - internet protocol - ip
 
Tcpip
TcpipTcpip
Tcpip
 
network fundamental
network fundamentalnetwork fundamental
network fundamental
 
Ipspk1
Ipspk1Ipspk1
Ipspk1
 
IP Address
IP AddressIP Address
IP Address
 
Internetworking - IP
Internetworking - IPInternetworking - IP
Internetworking - IP
 
IP Routing.pptx
IP Routing.pptxIP Routing.pptx
IP Routing.pptx
 
Internet Protocol
Internet ProtocolInternet Protocol
Internet Protocol
 
lecture08.ppt
lecture08.pptlecture08.ppt
lecture08.ppt
 
Networking essentials lect2
Networking essentials lect2Networking essentials lect2
Networking essentials lect2
 
Internet Protocol Version 4
Internet Protocol Version 4Internet Protocol Version 4
Internet Protocol Version 4
 
TCP/IP – Transmission Control Protocol/ Internet Protocol
TCP/IP – Transmission Control Protocol/ Internet ProtocolTCP/IP – Transmission Control Protocol/ Internet Protocol
TCP/IP – Transmission Control Protocol/ Internet Protocol
 
Ip address concepts
Ip address conceptsIp address concepts
Ip address concepts
 
ITFT - IP adressing
 ITFT - IP adressing ITFT - IP adressing
ITFT - IP adressing
 
Ip and icmp
Ip and icmpIp and icmp
Ip and icmp
 
I pv4 format
I pv4 formatI pv4 format
I pv4 format
 
Spanning Tree Protocol
Spanning Tree ProtocolSpanning Tree Protocol
Spanning Tree Protocol
 
IPv6 The Big Move
IPv6 The Big MoveIPv6 The Big Move
IPv6 The Big Move
 
Clase 1 Direccionamiento IPv4.pdf
Clase 1 Direccionamiento IPv4.pdfClase 1 Direccionamiento IPv4.pdf
Clase 1 Direccionamiento IPv4.pdf
 
WIFI MODEM Part-22
WIFI MODEM Part-22WIFI MODEM Part-22
WIFI MODEM Part-22
 

Plus de Online

Philosophy of early childhood education 3
Philosophy of early childhood education 3Philosophy of early childhood education 3
Philosophy of early childhood education 3Online
 
Philosophy of early childhood education 2
Philosophy of early childhood education 2Philosophy of early childhood education 2
Philosophy of early childhood education 2Online
 
Philosophy of early childhood education 1
Philosophy of early childhood education 1Philosophy of early childhood education 1
Philosophy of early childhood education 1Online
 
Philosophy of early childhood education 4
Philosophy of early childhood education 4Philosophy of early childhood education 4
Philosophy of early childhood education 4Online
 
Operation and expression in c++
Operation and expression in c++Operation and expression in c++
Operation and expression in c++Online
 
Functions
FunctionsFunctions
FunctionsOnline
 
Formatted input and output
Formatted input and outputFormatted input and output
Formatted input and outputOnline
 
Control structures selection
Control structures   selectionControl structures   selection
Control structures selectionOnline
 
Control structures repetition
Control structures   repetitionControl structures   repetition
Control structures repetitionOnline
 
Introduction to problem solving in c++
Introduction to problem solving in c++Introduction to problem solving in c++
Introduction to problem solving in c++Online
 
Optical transmission technique
Optical transmission techniqueOptical transmission technique
Optical transmission techniqueOnline
 
Multi protocol label switching (mpls)
Multi protocol label switching (mpls)Multi protocol label switching (mpls)
Multi protocol label switching (mpls)Online
 
Lan technologies
Lan technologiesLan technologies
Lan technologiesOnline
 
Introduction to internet technology
Introduction to internet technologyIntroduction to internet technology
Introduction to internet technologyOnline
 
Internet standard routing protocols
Internet standard routing protocolsInternet standard routing protocols
Internet standard routing protocolsOnline
 
Application protocols
Application protocolsApplication protocols
Application protocolsOnline
 
Addressing
AddressingAddressing
AddressingOnline
 
Transport protocols
Transport protocolsTransport protocols
Transport protocolsOnline
 
Leadership
LeadershipLeadership
LeadershipOnline
 
Introduction to management
Introduction to managementIntroduction to management
Introduction to managementOnline
 

Plus de Online (20)

Philosophy of early childhood education 3
Philosophy of early childhood education 3Philosophy of early childhood education 3
Philosophy of early childhood education 3
 
Philosophy of early childhood education 2
Philosophy of early childhood education 2Philosophy of early childhood education 2
Philosophy of early childhood education 2
 
Philosophy of early childhood education 1
Philosophy of early childhood education 1Philosophy of early childhood education 1
Philosophy of early childhood education 1
 
Philosophy of early childhood education 4
Philosophy of early childhood education 4Philosophy of early childhood education 4
Philosophy of early childhood education 4
 
Operation and expression in c++
Operation and expression in c++Operation and expression in c++
Operation and expression in c++
 
Functions
FunctionsFunctions
Functions
 
Formatted input and output
Formatted input and outputFormatted input and output
Formatted input and output
 
Control structures selection
Control structures   selectionControl structures   selection
Control structures selection
 
Control structures repetition
Control structures   repetitionControl structures   repetition
Control structures repetition
 
Introduction to problem solving in c++
Introduction to problem solving in c++Introduction to problem solving in c++
Introduction to problem solving in c++
 
Optical transmission technique
Optical transmission techniqueOptical transmission technique
Optical transmission technique
 
Multi protocol label switching (mpls)
Multi protocol label switching (mpls)Multi protocol label switching (mpls)
Multi protocol label switching (mpls)
 
Lan technologies
Lan technologiesLan technologies
Lan technologies
 
Introduction to internet technology
Introduction to internet technologyIntroduction to internet technology
Introduction to internet technology
 
Internet standard routing protocols
Internet standard routing protocolsInternet standard routing protocols
Internet standard routing protocols
 
Application protocols
Application protocolsApplication protocols
Application protocols
 
Addressing
AddressingAddressing
Addressing
 
Transport protocols
Transport protocolsTransport protocols
Transport protocols
 
Leadership
LeadershipLeadership
Leadership
 
Introduction to management
Introduction to managementIntroduction to management
Introduction to management
 

Dernier

4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 

Dernier (20)

4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 

Internet protocol

  • 2. Orientation • IP (Internet Protocol) is a Network Layer Protocol. • IP’s current version is Version 4 (IPv4). It is specified in RFC 891. • IP is the highest layer protocol which is implemented at both routers and hosts 2
  • 3. IP: The waist of the hourglass • IP is the waist of the hourglass Applications of the Internet protocol HTTP FTP SMTP architecture TCP UDP • Multiple higher-layer protocols • Multiple lower-layer protocols IP • Only one protocol at the network layer. Data link layer protocols Physical layer protocols 3
  • 4. IP Service • Delivery service of IP is minimal • IP provide provides an unreliable connectionless best effort service (also called: “datagram service”). – Unreliable: IP does not make an attempt to recover lost packets – Connectionless: Each packet (“datagram”) is handled independently. IP is not aware that packets between hosts may be sent in a logical sequence – Best effort: IP does not make guarantees on the service (no throughput guarantee, no delay guarantee,…) • Consequences: • Higher layer protocols have to deal with losses or with duplicate packets • Packets may be delivered out-of-sequence
  • 5. IP Service • IP supports the following services: • one-to-one (unicast) • one-to-all (broadcast) • one-to-several (multicast) • IP multicast also supports a many-to-many service. • IP multicast requires support of other protocols (IGMP, multicast routing) unicast broadcast multicast 5
  • 6. IP Datagram Format bit # 0 7 8 15 16 23 24 31 header version DS ECN total length (in bytes) length D M Identification 0 Fragment offset F F time-to-live (TTL) protocol header checksum source IP address destination IP address options (0 to 40 bytes) payload 4 bytes • 20 bytes ≤ Header Size < 24 x 4 bytes = 60 bytes • 20 bytes ≤ Total Length < 216 bytes = 65536 bytes 6
  • 7. IP Datagram Format • Question: In which order are the bytes of an IP datagram transmitted? • Answer: • Transmission is row by row • For each row: 1. First transmit bits 0-7 2. Then transmit bits 8-15 3. Then transmit bits 16-23 4. Then transmit bits 24-31 • This is called network byte order or big endian byte ordering. Note: Many computers (incl. Intel processors) store 32-bit words in little endian format. Others (incl. Motorola processors) use big endian. 7
  • 8. Big endian vs. small endian • Conventions to store a multi-byte work • Example: a 4 byte Long Integer Byte3 Byte2 Byte1 Byte0 Little Endian Big Endian • Stores the low-order byte at the lowest • Stores the high-order byte at the lowest address and the highest order byte in the address, and the low-order byte at the highest address. highest address. Base Address+0 Byte0 Base Address+0 Byte3 Base Address+1 Byte1 Base Address+1 Byte2 Base Address+2 Byte2 Base Address+2 Byte1 Base Address+3 Byte3 Base Address+3 Byte0 • Intel processors use this order Motorola processors use big endian. 8
  • 9. Fields of the IP Header • Version (4 bits): current version is 4, next version will be 6. • Header length (4 bits): length of IP header, in multiples of 4 bytes • DS/ECN field (1 byte) – This field was previously called as Type-of-Service (TOS) field. The role of this field has been re-defined, but is “backwards compatible” to TOS interpretation – Differentiated Service (DS) (6 bits): • Used to specify service level (currently not supported in the Internet) – Explicit Congestion Notification (ECN) (2 bits): • New feedback mechanism used by TCP 9
  • 10. Fields of the IP Header • Identification (16 bits): Unique identification of a datagram from a host. Incremented whenever a datagram is transmitted • Flags (3 bits): – First bit always set to 0 – DF bit (Do not fragment) – MF bit (More fragments) Will be explained later Fragmentation 10
  • 11. Fields of the IP Header • Time To Live (TTL) (1 byte): – Specifies longest paths before datagram is dropped – Role of TTL field: Ensure that packet is eventually dropped when a routing loop occurs Used as follows: – Sender sets the value (e.g., 64) – Each router decrements the value by 1 – When the value reaches 0, the datagram is dropped 11
  • 12. Fields of the IP Header • Protocol (1 byte): • Specifies the higher-layer protocol. • Used for demultiplexing to higher layers. • Header checksum (2 bytes): A simple 16-bit long checksum which is computed for the header of the datagram. 12
  • 13. Fields of the IP Header • Options: • Security restrictions • Record Route: each router that processes the packet adds its IP address to the header. • Timestamp: each router that processes the packet adds its IP address and time to the header. • (loose) Source Routing: specifies a list of routers that must be traversed. • (strict) Source Routing: specifies a list of the only routers that can be traversed. • Padding: Padding bytes are added to ensure that header ends on a 4-byte boundary 13
  • 14. Maximum Transmission Unit • Maximum size of IP datagram is 65535, but the data link layer protocol generally imposes a limit that is much smaller • Example: – Ethernet frames have a maximum payload of 1500 bytes  IP datagrams encapsulated in Ethernet frame cannot be longer than 1500 bytes • The limit on the maximum IP datagram size, imposed by the data link protocol is called maximum transmission unit (MTU) • MTUs for various data link protocols: Ethernet: 1500 FDDI: 4352 802.3: 1492 ATM AAL5: 9180 802.5: 4464 PPP: negotiated 14
  • 15. IP Fragmentation • What if the size of an IP datagram exceeds the MTU? IP datagram is fragmented into smaller units. • What if the route contains networks with different MTUs? Ethernet FDDI Ring Host A Router Host B MTUs: FDDI: 4352 Ethernet: 1500 • Fragmentation: • IP router splits the datagram into several datagram • Fragments are reassembled at receiver 15
  • 16. Where is Fragmentation done? Fragmentation can be done at the sender or at intermediate routers The same datagram can be fragmented several times. Reassembly of original datagram is only done at destination hosts !! IP datagram H Fragment 2 H2 Fragment 1 H1 Router 16
  • 17. What’s involved in Fragmentation? • The following fields in the IP header are involved: Identification When a datagram is fragmented, the identification is the same in all fragments Flags DF bit is set: Datagram cannot be fragmented and must be discarded if MTU is too small MF bit set: This datagram is part of a fragment and an additional fragment follows this one 17
  • 18. What’s involved in Fragmentation? • The following fields in the IP header are involved: Fragment offset Offset of the payload of the current fragment in the original datagram Total length Total length of the current fragment 18