FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part XI Internetworking Part 2.4 (Datagram Encapsulation, Transmission, Fragmentation, Reassembly)

Slides:



Advertisements
Similar presentations
CSCI 4550/8556 Computer Networks Comer, Chapter 22: The Future IP (IPv6)
Advertisements

Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
IPv4 - The Internet Protocol Version 4
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.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer ICMP and fragmentation.
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,
Network Layer Last Update Copyright Kenneth M. Chipps Ph.D.
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.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
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.
1 Chapter 23 Internetworking Part 3 (Control Messages, Error Handling, ICMP)
Chapter 21 IP Encapsulation, Fragmentation, and Reassembly.
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.
IP Fragmentation. Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on rcving side,
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
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
IP Encapsulation, Fragmentation, and Reassembly
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
ITIS 6167/8167: Network and Information Security
IP - The Internet Protocol
Presentation transcript:

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part XI Internetworking Part 2.4 (Datagram Encapsulation, Transmission, Fragmentation, Reassembly)

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA2 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

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA3 Datagram Transmission Datagram sent across conventional network From source host and router Between intermediate routers From final router to destination host Network hardware does not recognize Datagram format IP addresses Encapsulation needed

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA4 Illustration of IP Encapsulation Entire datagram treated like data Frame type identifies contents as IP datagram Frame destination address gives next hop

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA5 Frame and Datagram Destination Addresses Frame address Hardware (MAC) address Next hop Datagram address IP address Ultimate destination

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA6 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.

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA7 Frames and Datagrams Datagram survives entire trip across Internet Frame only survives one hop

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA8 Illustration of Frame Headers Used for Datagram Transmission Each hop extracts datagram and discards frame

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA9 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

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA10 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

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA11 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

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA12 Illustration of Datagram Fragmentation Each fragment has IP datagram header Header fields Identify original datagram Indicate where fragment fits

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA13 Example of Reassembly Host H 1 generates 1500-octet datagram Router R 1 fragments Router R 2 transmits fragments Host H 2 reassembles

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA14 Multiple Fragmenting Points Let MTUs along internet path be Result: fragmentation can occur twice

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA15 Fragmenting a Fragment Needed when fragment too large for network MTU Arbitrary sub-fragmentation possible Router divides fragments into smaller pieces All fragments at same “level” Offset given with respect to original datagram Destination cannot distinguish sub-fragments

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA16 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

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA17 Summary Internet transmission paradigm Source host Zero or more routers Destination host Datagram encapsulated in network frame for transmission

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA18 Summary (continued) Network hardware has maximum payload size Called MTU Datagram must be smaller than hardware MTU Internet can have multiple MTUs

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA19 Summary (continued) Datagram fragmentation Accommodates multiple MTUs Performed by router Divides datagram into pieces Ultimate destination reassembles

FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA20 Summary (continued) Fragments can be fragmented Multiple levels possible All offsets at one level Loss of any fragment means loss of entire datagram