Chapter 21: IP Encapsulation, Fragmentation & Reassembly

Slides:



Advertisements
Similar presentations
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
Advertisements

CE363 Data Communications & Networking Chapter 7 Network Layer: Internet Protocol.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IPv4 - The Internet Protocol Version 4
IP Fragmentation. MTU Maximum Transmission Unit (MTU) –Largest IP packet a network will accept –Arriving IP packet may be larger IP Packet MTU.
Network Layer – IPv4 Dr. Sanjay P. Ahuja, Ph.D.
1 IP - The Internet Protocol Relates to Lab 2. A module on the Internet Protocol.
CSCI 4550/8556 Computer Networks Comer, Chapter 23: An Error Reporting Mechanism (ICMP)
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Chapter 20 Network Layer: Internet Protocol Stephen Kim 20.1.
Network Layer Packet Forwarding IS250 Spring 2010
1 Computer Networks IP: The Internet Protocol. 2 IP is a connection-less, unreliable network layer protocol IP provides best effort services in the sense.
CSCI 4550/8556 Computer Networks Comer, Chapter 21: IP Encapsulation, Fragmentation, and Reassembly.
CS335 Networking & Network Administration Tuesday, May 11, 2010.
CSCI 4550/8556 Computer Networks Comer, Chapter 20: IP Datagrams and Datagram Forwarding.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
Chapter 3 Review of Protocols And Packet Formats
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
IP Routing, Format, Fragmentation Chapters 20-21, 23.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part XI Internetworking Part 2.4 (Datagram Encapsulation, Transmission, Fragmentation, Reassembly)
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
Network Layer Last Update Copyright Kenneth M. Chipps Ph.D.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 5 Internet Protocol (IP) Basics.
Dr. John P. Abraham Professor UTPA
Internet Protocol --- Connectionless Datagram Delivery Linda Wu (CMPT )
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Chapter 19 - Binding Protocol Addresses
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Chapter 21 Internetworking Part 2 (Datagram Encapsulation, Transmission, Fragmentation, Reassembly)
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 21.
Internet Application Theory & Applications. Internet Application - Ibrahim Otieno SCI/ICT Building 2 nd Floor Rm.
Communications Services Connection Oriented Service  A connection is established  Data is sent or received over this connection  Connection may be terminated.
CS 4396 Computer Networks Lab
Chapter 9 Hardware Addressing and Frame Type Identification 1.Delivering and sending packets 2.Hardware addressing: specifying a destination 3. Broadcasting.
Chapter 23 Internet Control Message Protocol used to report information and errors IP uses ICMP when it sends an error message ICMP uses IP to transport.
Chapter 21 IP Encapsulation, Fragmentation, and Reassembly.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
CSC 600 Internetworking with TCP/IP Unit 5: IP, IP Routing, and ICMP (ch. 7, ch. 8, ch. 9, ch. 10) Dr. Cheer-Sun Yang Spring 2001.
MTU Fragmentation process. MTU The Maximum Transmission Unit (MTU) is – the maximum length of data that can be transmitted by a protocol in one instance.
EECB 423 V.1 1 Internetworking 2 Datagram Encapsulation Transmission Fragmentation and Reassembly.
Internet Protocol Version 4 VersionHeader Length Type of Service Total Length IdentificationFragment Offset Time to LiveProtocolHeader Checksum Source.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
COMPUTER NETWORKS CS610 Lecture-30 Hammad Khalid Khan.
IP Fragmentation. Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on rcving side,
COMPUTER NETWORKS CS610 Lecture-32 Hammad Khalid Khan.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IP Fragmentation. MTU Maximum Transmission Unit (MTU) –Largest IP packet a network will accept –Arriving IP packet may be larger IP Packet MTU.
Network Layer & IP Protocol.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
IP - The Internet Protocol
Scaling the Network: The Internet Protocol
Computer Networks and Internets, 5e By Douglas E. Comer
Chapter 7: The Infamous IP
IP - The Internet Protocol
IP - The Internet Protocol
Chapter 7: The Infamous IP
Dr. John P. Abraham Professor UTPA
IP Encapsulation, Fragmentation, and Reassembly
Dr. John P. Abraham Professor UTRGV, EDINBURG, TX
IP - The Internet Protocol
Dr. John P. Abraham Professor UTPA
IP - The Internet Protocol
Scaling the Network: The Internet Protocol
Network Fundamentals – Chapter 5
ITIS 6167/8167: Network and Information Security
IP - The Internet Protocol
NET 323D: Networks Protocols
Presentation transcript:

Chapter 21: IP Encapsulation, Fragmentation & Reassembly Datagram transmission Encapsulation Max. Transmission Unit Fragmentation & Reassembly Note: Sections 21.8 & 21.9 will not be covered

Datagram transmission and frames IP internet layer Constructs datagram Determines next hop Hands to network interface layer Network interface layer Binds next hop address to hardware address (ARP - chap. 19) Prepares datagram for transmission But ... hardware doesn't understand IP; how is datagram transmitted?

Encapsulation Network interface layer encapsulates IP datagram as data area in hardware frame Hardware ignores IP datagram format Standards for encapsulation describe details Standard defines data type for IP datagram, as well as others (e.g., ARP) Receiving protocol stack interprets data area based on frame type

Encapsulation

Encapsulation across multiple hops Each router in the path from the source to the destination: Unencapsulates incoming datagram from frame Processes datagram - determines next hop Encapsulates datagram in outgoing frame Datagram may be encapsulated in different hardware format at each hop Datagram itself is (almost!) unchanged

Encapsulation across multiple hops

MTU Every hardware technology specification includes the definition of the maximum size of the frame data area Called the maximum transmission unit (MTU) Any datagram encapsulated in a hardware frame must be smaller than the MTU for that hardware

MTU and datagram transmission IP datagrams can be larger than most hardware MTUs IP: 216 - 1 Ethernet: 1500 Token ring/ FDDI: 4500 Source can simply limit IP datagram size to be smaller than local MTU

MTU and heterogeneous networks An internet may have networks with different MTUs Suppose downstream network has smaller MTU than local network?

Fragmentation One technique - limit datagram size to smallest MTU of any network IP uses fragmentation - datagrams can be split into pieces to fit in network with small MTU Router detects datagram larger than network MTU Splits into pieces Each piece smaller than outbound network MTU

Fragmentation (details) Each fragment is an independent datagram Includes all header fields Bit in header indicates datagram is a fragment Other fields have information for reconstructing original datagram FRAGMENT OFFSET gives original location of fragment Router uses local MTU to compute size of each fragment Puts part of data from original datagram in each fragment Puts other information into header

Fragmentation (details)

Datagram reassembly Reconstruction of original datagram is call reassembly Ultimate destination performs reassembly Fragments may arrive out of order; header bit identifies fragment containing end of data from original datagram Fragment 3 identified as last fragment

Fragment identification How are fragments associated with original datagram? IDENT field in each fragment matches IDENT field in original datagram Fragments from different datagrams can arrive out of order and still be sorted out

Fragmentation Fields in the IP Datagram 3-bit FLAG - 1st bit indicates whether a datagram is fragmented or a complete datagram; 2nd & 3rd bit control fragmentation FRAGMENT OFFSET - specifies where in the original datagram the fragment it belongs IDENTIFICATION - specifies how are fragments associated with original datagram

Summary IP uses encapsulation to transmit datagrams in hardware frames Network technologies have an MTU IP uses fragmentation to carry datagrams larger than network MTU