Internet Protocol. IP Datagram, Fragmentation and Reassembly

Similar documents
Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

IP - The Internet Protocol

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

Network layer: Overview. Network layer functions IP Routing and forwarding

Internet Architecture and Philosophy

Chapter 9. IP Secure

Lecture Computer Networks

RARP: Reverse Address Resolution Protocol

Network Layer: Network Layer and IP Protocol

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

8.2 The Internet Protocol

IP addressing and forwarding Network layer

Future Internet Technologies

Network Layer. Introduction Datagrams and Virtual Circuits Routing Traffic Control. Data delivery from source to destination.

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

Internetworking. Problem: There is more than one network (heterogeneity & scale)

Ethernet. Ethernet. Network Devices

NETWORK LAYER/INTERNET PROTOCOLS

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Network layer" 1DT066! Distributed Information Systems!! Chapter 4" Network Layer!! goals: "

Internet Protocol Version 6 (IPv6)

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

Gary Hecht Computer Networking (IP Addressing, Subnet Masks, and Packets)

CS 43: Computer Networks IP. Kevin Webb Swarthmore College November 5, 2013

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Lecture 8. IP Fundamentals

Chapter 4 Network Layer

04 Internet Protocol (IP)

Technical Support Information Belkin internal use only

CS335 Sample Questions for Exam #2

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

SSC - Communication and Networking Java Socket Programming (II)

ACHILLES CERTIFICATION. SIS Module SLS 1508

Internet Protocols Fall Lectures 7-8 Andreas Terzis

The Internet. Internet Technologies and Applications

Internet Packets. Forwarding Datagrams

Network Intrusion Detection Systems. Beyond packet filtering

Exam 1 Review Questions

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

IP Addressing. IP Addresses. Introductory material.

What is a DoS attack?

Internet Infrastructure Measurement: Challenges and Tools

Savera Tanwir. Internet Protocol

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

Protocols. Packets. What's in an IP packet

ELEC3030 (EL336) Computer Networks. How Networks Differ. Differences that can occur at network layer, which makes internetworking difficult:

Limitations on Monitored Lines

A PPENDIX L TCP/IP and OSI

IP Addressing Introductory material.

PART OF THE PICTURE: The TCP/IP Communications Architecture

2. IP Networks, IP Hosts and IP Ports

IPV6 FRAGMENTATION. The Case For Deprecation. Ron Bonica NANOG58

Transport and Network Layer

Network Layer, Part 1 Internet Architecture. History

Network Traffic Evolution. Prof. Anja Feldmann, Ph.D. Dr. Steve Uhlig

First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring

UPPER LAYER SWITCHING

SUPPORT DE COURS. Dr. Omari Mohammed Maître de Conférences Classe A Université d Adrar Courriel : omarinmt@gmail.com

Chapter 11. User Datagram Protocol (UDP)

IP Address Classes (Some are Obsolete) Computer Networking. Important Concepts. Subnetting Lecture 8 IP Addressing & Packets

- IPv4 Addressing and Subnetting -

How will the Migration from IPv4 to IPv6 Impact Voice and Visual Communication?

Subnetting,Supernetting, VLSM & CIDR

Basic Networking Concepts. 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet

IP Next Generation (IPv6)

IPv6 Fundamentals Ch t ap 1 er I : ntroducti ti t on I o P IPv6 Copyright Cisco Academy Yannis Xydas

Troubleshooting Tools

Transport Layer. Chapter 3.4. Think about

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

Networking Test 4 Study Guide

Address Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP)

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme. Auxiliary Protocols

Introduction to IP v6

CSE331: Introduction to Networks and Security. Lecture 8 Fall 2006

CHAPTER 3 STATIC ROUTING

Overview of TCP/IP. TCP/IP and Internet

IP address format: Dotted decimal notation:

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

Datacommunication. Internet Infrastructure IPv4 & IPv6

Network Programming TDC 561

Classful IP Addressing. Classless Addressing: CIDR. Routing & Forwarding: Logical View of a Router. IP Addressing: Basics

Application Protocols for TCP/IP Administration

PPS Internet-Praktikum. Prof. Bernhard Plattner Institut für Technische Informatik und Kommunikationsnetze (TIK)

Themen der Praktikumsnachmittage. PPS Internet-Praktikum. Zielsetzung. Infrastruktur im ETF B5

NAT and Firewall Traversal with STUN / TURN / ICE

Network Address Translation (NAT)

Layer Four Traceroute (and related tools) A modern, flexible path-discovery solution with advanced features for network (reverse) engineers

13 Virtual Private Networks 13.1 Point-to-Point Protocol (PPP) 13.2 Layer 2/3/4 VPNs 13.3 Multi-Protocol Label Switching 13.4 IPsec Transport Mode

How do I get to

Assignment #3 Routing and Network Analysis. CIS3210 Computer Networks. University of Guelph

Network Layer: and Multicasting Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Transport Layer Protocols

RTP / RTCP. Announcements. Today s Lecture. RTP Info RTP (RFC 3550) I. Final Exam study guide online. Signup for project demos

Voice over IP. Demonstration 1: VoIP Protocols. Network Environment

How To Understand The Internet Of S (Netware)

Overview. Lecture 16: IP variations: IPv6, multicast, anycast. I think we have a problem. IPv6. IPv6 Key Features

IP Subnetting and Addressing

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

Transcription:

Internet Protocol IP Datagram, Fragmentation and Reassembly

IP Datagram Header Data Data (variable length)

IP Packet Header number of IP protocol Current version is 4 6 has different header format

IP Packet Header Header Length (in 32 bit words) Indicates end of header and beginning of payload If no options, Header length = 5

IP Packet Header Type of Service (TOS) Allows different types of service to be requested Initially, meaning was not well defined Currently being defined (diffserv)

IP Packet Header Packet Length (in Bytes) Unambiguously specify end of packet Max packet size = 2 16 = 65,535 Bytes

IP Packet Header These three fields for Fragmentation Control (will come back to them later)

Time to Live IP Packet Header Initially set by sender (up to 255) Decremented by each router Discard when TTL = 0 to avoid infinite routing loops

Protocol IP Packet Header Value indicates what is in the data field Example: TCP or UDP

IP Packet Header Header Checksum Checks for error in the header only Bad headers can harm the network If error found, packet is simply discarded Bit 31

IP Packet Header Source and es Strings of 32 ones and zeros

Options IP Packet Header Example: timestamp, record route, source route

IP Fragmentation & Reassembly Maximum Transmission Unit (MTU) Largest IP packet a network will accept Arriving IP packet may be larger (max IP packet size = 65,535 bytes) Sender or router will split the packet into multiple fragments Destination will reassemble the packet IP header fields used to identify and order related fragments Host A FDDI Ring MTU = 4352 Router Ethernet MTU = 1500 Host B

Illustration Of Datagram Fragmentation IP Header.. original. datagram data. area.... IP Hdr 1 data 1 IP Hdr 2 data 2 IP Hdr 3 data 3 Each fragment has IP datagram header Header fields Identify original datagram Indicate where fragment fits

IP Packet Header Identification All fragments of a single datagram have the same identification number

IP Packet Header Flags: 1 st bit: reserved, must be zero 2 nd bit: DF -- Do Not Fragment 3 rd bit: MF -- More Fragments

IP Packet Header Fragment Offset (in units of 8 bytes) Used for reassembly of packet 1 st fragment has offset = 0

IP Fragmentation Example Host A wants to send to Host B an IP datagram of size = 4000 Bytes Host A FDDI Ring MTU = 4352 Router Ethernet MTU = 1500 Host B

IP Fragmentation Example length =4000 ID =x MF =0 offset =0 One large datagram becomes several smaller datagrams length =1500 ID =x MF =1 offset =0 length =1500 ID =x MF =1 offset =1480 length =1040 ID =x MF =0 offset =2960

Multiple Fragmenting Points Let MTUs along internet path be 1500 1500 1000 1500 576 1500 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