Chapter 21 IP Encapsulation, Fragmentation, and Reassembly.

Slides:



Advertisements
Similar presentations
1 IP - The Internet Protocol Relates to Lab 2. A module on the Internet Protocol.
Advertisements

Discussion Monday ( ). ver length 32 bits data (variable length, typically a TCP or UDP segment) 16-bit identifier header checksum time to live.
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.
Network Layer – IPv4 Dr. Sanjay P. Ahuja, Ph.D.
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
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.
1 Internet Networking Spring 2005 Tutorial 2 IP Checksum, Fragmentation.
CS335 Networking & Network Administration Tuesday, May 11, 2010.
CSEE W4140 Networking Laboratory Lecture 6: TCP and UDP Jong Yul Kim
Internet Networking Spring 2003
© 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.
1 Internet Networking Spring 2002 Tutorial 2 IP Checksum, Fragmentation.
© 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.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_a
Network Layer Last Update Copyright Kenneth M. Chipps Ph.D.
Chapter 21: IP Encapsulation, Fragmentation & Reassembly
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.
ECE 4110 – Internetwork Programming IP Protocol. 2 * From TCP/IP Protocol Suite, B. A. Forouzan, Prentice Hall Position of IP in TCP/IP Protocol Suite.
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.
The Internet Protocol Dr. Adil Yousif. 2  IP (Internet Protocol) is a Network Layer Protocol. Orientation.
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.
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
© 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.
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.
INTERNET CONTROL MESSAGE PROTCOL. ICMP n allows router to send error or control messages to another router or host n provides communication between IP.
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.
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
7 Network Layer Part IV Computer Networks Tutun Juhana
Internet Networking Spring 2002
Computer Networks and Internets, 5e By Douglas E. Comer
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
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, and Reassembly

Encapsulation Refers to embedding of data When an IP datagram is encapsulated in a frame, the entire datagram is placed in the data area of a frame (fig 21.1)(fig 21.1) network hardware does not care what is inside the frame data area destination address in the frame is the physical address of the next hop to which the datagram should be sent whenever the destination computer is on a remote network. datagram is encapsulated in a frame appropriate to the network being traversed When the datagram crosses a router, the old frame header is discarded and a new frame header a prepended. (fig 21.2)(fig 21.2)

Maximum Transmission Unit (MTU) a limitation placed by the network hardware technology on the size of a datagram (fig 21.3)(fig 21.3) eg. Ethernet’s MTU is 1500 bytes

Fragmentation used by an IP router to solve the problem of different MTUs of networks When a router sees that a datagram is larger than the MTU of the network over which it must be sent, the router divides the datagram in smaller pieces called fragments, and sends each fragment independently (fig 21.4)(fig 21.4) A bit in the FLAGS field in the IP header indicates whether the datagram is a fragment or a complete datagram. FRAGMENT OFFSET field in the IP header of a fragment specifies where in the original datagram the fragment belongs.

Reassembly process of recreating the original datagram from fragments Fragments are forwarded to the ultimate destination host, which reassembles them. MORE FRAMENTS bit in the FLAGS field tells the final host to know whether all fragments have arrived Intermediate routers need not reassemble fragments fragments may traverse different paths, making reassembly in the intermediate routers impossible

Identifying the Datagram a Fragment Belongs each datagram is assigned a unique number by the source computer in the IDENTIFICATION field of IP header A copy of this number is copied into each fragment destination computer can reassemble the fragments to the proper datagrams by examining the source IP address, IDENTIFCATION field, and FRAGMENT OFFSET field.

Fragment Loss if a fragment is lost, the destination computer discards the remaining fragments corresponding to the same datagram Sender will retransmit the entire datagram since it does not know how the datagram was fragmented when the datagram is retransmitted, it may traverse a different routing path and be fragmented differently.

Fragmenting a Fragment an intermediate router with smaller MTUs may fragment an existing fragment by modifying the FRAGMENT OFFSET field The ultimate destination computer does not know whether an incoming fragment had be fragmented into subfragments.