Position of IP and other network-layer protocols in TCP/IP protocol suite

Similar documents
Chapter 20 Network Layer: Internet Protocol 20.1

Chapter 5 OSI Network Layer

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Chapter 7 Internet Protocol Version 4 (IPv4) Kyung Hee University

b. Suppose the two packets are to be forwarded to two different output ports. Is it

INTERNET SYSTEM. Internet Protocol. Kent State University Dept. of Computer Science. CS 4/55231 Internet Engineering. Large Scale Networking

Introduction to Networks and the Internet

Internetwork Protocols

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

EE 610 Part 2: Encapsulation and network utilities

IP : Internet Protocol

The Network Layer. Antonio Carzaniga. April 22, Faculty of Informatics University of Lugano Antonio Carzaniga

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

Internet Protocols (chapter 18)

The Internet Protocol (IP)

Network Layer: Internet Protocol

Ch.7 Internet Protocol: Connectionless Datagram Delivery (IPv4, IPv6)

To make a difference between logical address (IP address), which is used at the network layer, and physical address (MAC address),which is used at

Lecture 8. Network Layer (cont d) Network Layer 1-1

Introduction to TCP/IP networking

Introduction. IP Datagrams. Internet Service Paradigm. Routers and Routing Tables. Datagram Forwarding. Example Internet and Conceptual Routing Table

CIS-331 Final Exam Fall 2015 Total of 120 Points. Version 1

The Network Layer. Antonio Carzaniga. November 24, Faculty of Informatics Università della Svizzera italiana

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

Internet Protocol (IP)

User Datagram Protocol

Network Layer PREPARED BY AHMED ABDEL-RAOUF

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane

CSE/EE 461 The Network Layer. Application Presentation Session Transport Network Data Link Physical

CIS-331 Final Exam Spring 2016 Total of 120 Points. Version 1

Introduction to Internetworking

TSIN02 - Internetworking

Data & Computer Communication

EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer

ET4254 Communications and Networking 1

Chapter 4 Network Layer: The Data Plane. Part A. Computer Networking: A Top Down Approach

UDP: Datagram Transport Service

OSI Network Layer. Chapter 5

Network+ Guide to Networks, 6 th Edition. Chapter 2 Solutions

Tutorial 9. SOLUTION Since the number of supported interfaces is different for each subnet, this is a Variable- Length Subnet Masking (VLSM) problem.

CS 3516: Computer Networks

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

Internet Layers. Physical Layer. Application. Application. Transport. Transport. Network. Network. Network. Network. Link. Link. Link.

CS 3516: Advanced Computer Networks

Introduction to Internet. Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis

PART X. Internetworking Part 1. (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution)

Lecture 18 Overview. Last Lecture. This Lecture. Next Lecture. Internet Protocol (1) Internet Protocol (2)

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

Telecom Systems Chae Y. Lee. Contents. Overview. Issues. Addressing ARP. Adapting Datagram Size Notes

CS519: Computer Networks. Lecture 2: Feb 2, 2004 IP (Internet Protocol)

TCP/IP THE TCP/IP ARCHITECTURE

Networks. an overview. dr. C. P. J. Koymans. Informatics Institute University of Amsterdam. February 4, 2008

CompSci 356: Computer Network Architectures. Lecture 8: Spanning Tree Algorithm and Basic Internetworking Ch & 3.2. Xiaowei Yang

CS-461 Internetworking. Dr. Mohamed Aboutabl

TCP/IP protocol suite

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

Introduction to Networking. Operating Systems In Depth XXVII 1 Copyright 2017 Thomas W. Doeppner. All rights reserved.

Lecture 11: Networks & Networking

Data Communication & Networks G Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

Networking Technologies and Applications

Internetworking Terms. Internet Structure. Internet Structure. Chapter 15&16 Internetworking. Internetwork Structure & Terms

Internet Protocol. Outline Introduction to Internet Protocol Header and address formats ICMP Tools CS 640 1

Recap. Recap. Internetworking. First mile problem. Internet. End Users. Last mile problem. Direct link networks Packet switching.

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG

CSCI-GA Operating Systems. Networking. Hubertus Franke

B.Sc. (Hons.) Computer Science with Network Security B.Eng. (Hons) Telecommunications B.Sc. (Hons) Business Information Systems

CMPE 80N: Introduction to Networking and the Internet

ECE 4450:427/527 - Computer Networks Spring 2017

Chapter 5 Network Layer

CH. 3 IP FORWARDING AND ROUTING

CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid. Internet Protocol Suite

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Network Layer: outline

Chapter 19 Network Layer: Logical Addressing

Lecture 9: Internetworking

Internet Networking recitation #2 IP Checksum, Fragmentation

Quiz. Segment structure and fields Flow control (rwnd) Timeout interval. Phases transition ssthresh setting Cwnd setting

Chapter 11. User Datagram Protocol (UDP)

Data Communication Prof. A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 34 TCP/ IP I

SEN366 (SEN374) (Introduction to) Computer Networks

Vorlesung Kommunikationsnetze

Module 7 Internet And Internet Protocol Suite

CS 455 Internet Architecture, Page 3 ffl By 1985, the ARPANET was heavily used and congested; the National Science Foundation (NSF) initiated the NSFN

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

CSCI Computer Networks Fall 2016

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

TCP /IP Fundamentals Mr. Cantu

Goal of Today s Lecture. EE 122: Designing IP. The Internet Hourglass. Our Story So Far (Context) Our Story So Far (Context), Con t

IP Address Assignment

ECE4110 Internetwork Programming. Introduction and Overview

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Network Model. Why a Layered Model? All People Seem To Need Data Processing

Network Layer/IP Protocols

Transcription:

Position of IP and other network-layer protocols in TCP/IP protocol suite

IPv4 is an unreliable datagram protocol a best-effort delivery service. The term best-effort means that IPv4 packets can be corrupted, be lost, arrive out of order, or be delayed, and may create congestion for the network. If reliability is important, IPv4 must be paired with a reliable transport-layer protocol such as TCP

Example of Best Effort Delivery Service The post office does its best to deliver the regular mail but does not always succeed. If an unregistered letter is lost or damaged, it is up to the sender or would-be recipient to discover this. The post office itself does not keep track of every letter and cannot notify a sender of loss or damage of one

Connectionless Protocol IPv4 is also a connectionless protocol that uses the datagram approach.

Packets used by the IP are called datagrams. A datagram is a variable-length packet consisting of two parts: header and payload (data). The header is 20 to 60 bytes in length and contains information essential to routing and delivery. Datagrams

Packet at various Layers

Version Number Field The 4-bit version number (VER) field defines the version of the IPv4 protocol, which, obviously, has the value of 4.

Header Length The 4-bit header length (HLEN) field defines the total length of the datagram header in 4- byte words. The receiver needs to multiply the value of this field by 4 to find the total length.

Total Length This 16-bit field defines the total length (header plus data) of the IP datagram in bytes. This field helps the receiving device to know when the packet has completely arrived.

Length of Data in IP Datagram

Why we need Total Length field However, there are occasions in which the datagram is not the only thing encapsulated in a frame; it may be that padding has been added. For example, the Ethernet protocol has a minimum and maximum restriction on the size of data that can be encapsulated in a frame (46 to 1500 bytes). If the size of an IPv4 datagram is less than 46 bytes, some padding will be added to meet this requirement. In this case, when a machine decapsulates the datagram, it needs to check the total length field to determine how much is really data and how much is padding.

Identification, Flags, and Fragmentation Offset

Fragmentation A datagram can travel through different networks. Each router decapsulates the IP datagram from the frame it receives, processes it, and then encapsulates it in another frame. For example, if a router connects a LAN to a WAN, it receives a frame in the LAN format and sends a frame in the WAN format.

Fragmentation

Maximum Transfer Unit (MTU) Each link-layer protocol has its own frame format. One of the features of each format is the maximum size of the payload that can be encapsulated. In other words, when a datagram is encapsulated in a frame, the total size of the datagram must be less than this maximum size,

Fragmentation The value of the MTU differs from one physical network protocol to another. For example, the value for a LAN is normally 1500 bytes, but for a WAN it can be larger or smaller. we must divide the datagram to make it possible for it to pass through these networks. This is called fragmentation

Fragmented Datagram and Reassembly When a datagram is fragmented, each fragment has its own header. A fragmented datagram may itself be fragmented if it encounters a network with an even smaller MTU. A datagram can be fragmented by the source host or any router in the path. The reassembly of the datagram, however, is done only by the destination host, because each fragment becomes an independent datagram. The fragmented datagram can travel through different routes

Fragmentation

Fields Related to Fragmentation - Identification Identification + source IP address = uniquely define a datagram. When a datagram is fragmented, the value in the identification field is copied into all fragments.. The identification number helps the destination in reassembling the datagram. It knows that all fragments having the same identification value should be assembled into one datagram.

Fields Related to Fragmentation - Flags The 3-bit flags field defines three flags. The leftmost bit is reserved (not used). The second bit (D bit) is called the do not fragment bit. The third bit (M bit) is called the more fragment bit.

fragmentation offset The 13-bit fragmentation offset field shows the relative position of this fragment with respect to the whole datagram. It is the offset of the data in the original datagram measured in units of 8 bytes.