IP Encapsulation, Fragmentation, and Reassembly

Slides:



Advertisements
Similar presentations
IPv4 - The Internet Protocol Version 4
Advertisements

IP datagrams Service paradigm, IP datagrams, routing, encapsulation, fragmentation and reassembly.
IP Fragmentation. MTU Maximum Transmission Unit (MTU) –Largest IP packet a network will accept –Arriving IP packet may be larger IP Packet MTU.
1 IP - The Internet Protocol Relates to Lab 2. A module on the Internet Protocol.
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
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Internet Protocol (IP) Slide 1 Internet Protocol (IP)
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.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
COS 420 DAY 5 & 6. Agenda Assignment 1 Due Assignment 2 posted over Due Feb 13 Individual Projects Assigned Due March 20 & 23 Today we will look at IP.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
Class 4 Internet Protocols
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer ICMP and fragmentation.
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.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_a
FALL, 2005CSI Part 2.3 Internetworking & Addressing (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution Robert L. Probert, SITE,
Chapter 21: IP Encapsulation, Fragmentation & Reassembly
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
10/8/2015CST Computer Networks1 IP Routing CST 415.
Dr. John P. Abraham Professor UTPA
Chapter 81 Internet Protocol (IP) Our greatest glory is not in never failing, but in rising up every time we fail. - Ralph Waldo Emerson.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
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.
1 Java EE Programming Internetworking. 2 Motivation for Internetworking LAN technologies provide high speed communication across short distances WAN technologies.
NET0183 Networks and Communications Lectures 15 and 16 Datagram Forwarding 8/25/20091 NET0183 Networks and Communications by Dr Andy Brooks Lecture powerpoints.
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 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.
1 An Error Reporting Mechanism (ICMP). 2 IP Semantics IP is best-effort Datagrams can be –Lost –Delayed –Duplicated –Delivered out of order –Corrupted.
Chapter 21 IP Encapsulation, Fragmentation, and Reassembly.
Internet Protocol: Routing IP Datagrams Chapter 8.
1 IP Datagrams And Datagram Forwarding. 2 Motivation For IP Packets Because it can connect heterogeneous networks, a router cannot transmit a copy of.
© 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.
EECB 423 V.1 1 Internetworking 2 Datagram Encapsulation Transmission Fragmentation and Reassembly.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
INTERNET CONTROL MESSAGE PROTCOL. ICMP n allows router to send error or control messages to another router or host n provides communication between IP.
1 Internetworking: IP Packet Switching Reading: (except Implementation; pp )
COMPUTER NETWORKS CS610 Lecture-30 Hammad Khalid Khan.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Routing and the IP v4 Address Space BSAD 141 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
1 Chapter 23 Internetworking Part 3 (Control Messages, Error Handling, ICMP)
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.
IP - The Internet Protocol
Scaling the Network: The Internet Protocol
COMPUTER NETWORKS CS610 Lecture-33 Hammad Khalid Khan.
CS4470 Computer Networking Protocols
Computer Networks and Internets, 5e By Douglas E. Comer
Internetworking & Address Resolution
IP - The Internet Protocol
IP - The Internet Protocol
Dr. John P. Abraham Professor UTPA
Dr. John P. Abraham Professor UTRGV, EDINBURG, TX
IP - The Internet Protocol
Dr. John P. Abraham Professor UTPA
Net 323 D: Networks Protocols
IP - The Internet Protocol
Scaling the Network: The Internet Protocol
COMPUTER NETWORKS CS610 Lecture-29 Hammad Khalid Khan.
ITIS 6167/8167: Network and Information Security
IP - The Internet Protocol
Presentation transcript:

IP Encapsulation, Fragmentation, and Reassembly

Internet Transmission Paradigm (General Case) Source host Forms datagram Includes destination address Sends to nearest router Intermediate routers Forward datagram to next router Final router Delivers to destination host

Datagram Transmission Datagram sent across conventional network From source host and router Between intermediate router From final router to destination host Network hardware does not recognize Datagram format IP addresses Encapsulation needed

Illustration Of IP Encapsulation Entire datagram treated like data Frame type identifies contents as IP datagram Frame destination address gives next hop

Frame And Datagram Destination Addresses Frame address Hardware (MAC) address Next hop Datagram address IP address Ultimate destination

Frame Address For Encapsulated Datagram A datagram is encapsulated in a frame for transmission across a physical network. The destination address in the frame is the address of the next hop to which the datagram should be sent; the address is obtained by translating the IP address of the next hop to an equivalent hardware address.

Frames And Datagrams Datagram survives entire trip across Internet Frame only survives one hop

Illustration Of Frame Headers Used For Datagram Transmission Each hop extracts datagram and discards frame

Maximum Frame Size Each network technology imposes maximum frame size Called Maximum Transmission Unit (MTU) MTUs differ Internet Can contain heterogeneous technologies Must accommodate multiple MTUs

Illustration Of How Two MTUs Cause A Problem For IP Host 1 Creates datagram for Host 2 Chooses datagram size of 1500 octets Transmits datagram across network 1 Router R Receives datagram over network 1 Must send datagram over network 2 Employs fragmentation

Datagram Fragmentation Performed by routers Needed when datagram larger than MTU of network Divides datagram into pieces called fragments Each fragment has datagram header Fragments sent separately Ultimate destination reassembles fragments

Illustration Of Datagram Fragmentation Each fragment has IP datagram header Header fields Identify original datagram Indicate where fragment fits

Example Of Reassembly Host H1 generates 1500-octet datagram Router R1 fragments Router R2 transmits fragments Host H2 reassembles

Multiple Fragmenting Points Let MTUs along internet path be 1500 1000 576 Result: fragmentation can occur twice

Fragmenting A Fragment Needed when fragment too large for network MTU Arbitrary subfragmentation possible Router divides fragments into smaller pieces All fragments at same ‘‘level’ – Offset given with respect to original datagram – Destination cannot distinguish subfragments

Fragment Loss Receiver Collects incoming fragments Reassembles when all fragments arrive Does not know identity of router that did fragmentation Cannot request missing pieces Consequence: Loss of one fragment means entire datagram lost