Chapter 7 Transport Layer. 7.0 Introduction 7.1 Transport Layer Protocols 7.2 TCP and UDP 7.3 Summary

Similar documents
Transport Layer TCP & UDP Week 7. Module : Computer Networks Lecturers : Lucy White Office : 324

OSI Transport Layer. objectives

CCNA Exploration Network Fundamentals. Chapter 04 OSI Transport Layer

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

CCNA R&S: Introduction to Networks. Chapter 7: The Transport Layer

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

4.0.1 CHAPTER INTRODUCTION

CSEN 503 Introduction to Communication Networks. Mervat AbuElkheir Hana Medhat Ayman Dayf. ** Slides are attributed to J. F.

CSCD 330 Network Programming

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

CSCE 463/612 Networks and Distributed Processing Spring 2018

CMPE 80N: Introduction to Networking and the Internet

NT1210 Introduction to Networking. Unit 10

Chapter 3 Transport Layer

TSIN02 - Internetworking

Transport Layer. Chapter 3: Transport Layer

Transport Layer. The transport layer is responsible for the delivery of a message from one process to another. RSManiaol

CS 4390 Computer Networks. Transport Services and Protocols

TCP/IP Overview. Basic Networking Concepts. 09/14/11 Basic TCP/IP Networking 1

Internet and Intranet Protocols and Applications

TSIN02 - Internetworking

Computer Networks. Lecture 9 Network and transport layers, IP, TCP, UDP protocols

Chapter 4. TCP / UDP Transport Protocol Overview

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

CMSC 332 Computer Networks Transport Layer

Chapter 11. User Datagram Protocol (UDP)

Chapter 3 Transport Layer

TSIN02 - Internetworking

Communicating over the Network. Network Fundamentals. ITE PC v4.0 Chapter Cisco Systems, Inc. All rights reserved.

CSC 4900 Computer Networks: Transport Layer

The Transmission Control Protocol (TCP)

CSC 401 Data and Computer Communications Networks

a. the physical layer, b. and the data-link layer. a. three physical layers, b. three data-link layers, c. and only one network layer.

Chapter 7. Local Area Network Communications Protocols

Development of reliable protocol Sliding window protocols. C = channel capacity in bps I = interrupt/service time + propagation delay

TCP/IP THE TCP/IP ARCHITECTURE

TSIN02 - Internetworking

Application. Transport. Network. Link. Physical

Different Layers Lecture 21

Unit 2.

CCNA 1 v3.11 Module 11 TCP/IP Transport and Application Layers

IS370 Data Communications and Computer Networks. Chapter 5 : Transport Layer

TCP /IP Fundamentals Mr. Cantu

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP 23.1

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

CSCD 330 Network Programming

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

TCP/IP Transport Layer Protocols, TCP and UDP

Lecture 3: The Transport Layer: UDP and TCP

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

Lecture 2 Communication services The Trasport Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Lecture-4. TCP/IP-Overview:

UNIT IV TRANSPORT LAYER

Transport Layer. <protocol, local-addr,local-port,foreign-addr,foreign-port> ϒ Client uses ephemeral ports /10 Joseph Cordina 2005

Data Communication & Computer Networks MCQ S

Different Layers Lecture 20

What is a Network? TCP / IP. The ISO OSI Model. Protocols. The TCP/IP Protocol Suite. The TCP/IP Protocol Suite. Computer network.

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP

Configure Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) Service Settings on a Switch

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

PLEASE READ CAREFULLY BEFORE YOU START

Guide To TCP/IP, Second Edition UDP Header Source Port Number (16 bits) IP HEADER Protocol Field = 17 Destination Port Number (16 bit) 15 16

Chapter III: Transport Layer

Introduction to computer networking

SUBJECT: DATA COMMUNICATION AND NETWORK SEMESTER: V SEMESTER COURSE: BCA SUBJECT TEACHER: Dr.K.Chitra Assistant Professor, Department of Computer

Input ports, switching fabric, output ports Switching via memory, bus, crossbar Queueing, head-of-line blocking

Lecture 20 Overview. Last Lecture. This Lecture. Next Lecture. Transport Control Protocol (1) Transport Control Protocol (2) Source: chapters 23, 24

Announcement. Homework 1 due last night, how is that? Will discuss some problems in the lecture next week

Lesson 5 TCP/IP suite, TCP and UDP Protocols. Chapter-4 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 7

PLEASE READ CAREFULLY BEFORE YOU START

PLEASE READ CAREFULLY BEFORE YOU START

COSC4377. Useful Linux Tool: screen

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

ECE 333: Introduction to Communication Networks Fall 2002

Chapter 2 Network Models 2.1

Data & Computer Communication

CS 43: Computer Networks. 15: Transport Layer & UDP October 5, 2018

Transporting Voice by Using IP

Lecture 9: Transpor Layer Overview and UDP

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

The Data Link Layer. 32 PART I Networking Basics

Defining Networks with the OSI Model. Module 2

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

infrared Disadvantage: 1. cannot use for long-range communication or outside a building due to sun s rays.

5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A

Introduction to Networking

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

JAMES F. KUROSE AND KEITH W. ROSS

Objectives. Chapter 10. Upon completion you will be able to:

Network Architecture Models

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

CHAPTER-2 IP CONCEPTS

(Refer Slide Time: 1:09)

Chapter 3: Transport Layer Part A

Suprakash Datta. Office: CSEB 3043 Phone: ext Course page:

Introduction to the Transport Layer

Transport Layer Overview

System Programming. Introduction to computer networks

APPENDIX F THE TCP/IP PROTOCOL ARCHITECTURE

Transcription:

Chapter 7 Transport Layer 7.0 Introduction 7.1 Transport Layer Protocols 7.2 TCP and UDP 7.3 Summary

Transport Layer

Transportation of Data Role of the Transport Layer The transport layer is responsible for establishing a temporary communication session between two applications and delivering data between them. TCP/IP uses two protocols to achieve this: Transmission Control Protocol (TCP) User Datagram Protocol (UDP)

Transportation of Data Role of the Transport Layer Primary Responsibilities of Transport Layer Protocols Tracking the individual communication between applications on the source and destination hosts Segmenting data for manageability Reassembling segmented data into streams of application data at the destination Identifying the proper application for each communication stream

Multiplexing/Demultiplexing a socket is the interface through which a process (application) communicates with the transport layer each process can potentially use many sockets the transport layer in a receiving machine receives a sequence of segments from its network layer delivering segments to the correct socket is called demultiplexing assembling segments with the necessary information and passing them to the network layer is called multiplexing multiplexing and demultiplexing are need whenever a communications channel is shared

Conversation Multiplexing Sending one big chunk of data in a network would prevent other processes from running segmenting the data into smaller chunks enables many different communications, from many different users, to be interleaved (multiplexed) on the same network. Data can be sent and received at the same time

Conversation Multiplexing

Transport Layer Reliability TCP/IP provides two transport layer protocols, TCP and UDP. TCP (Transmission Control Protocol) Provides reliable delivery ensuring that all of the data arrives at the destination. Uses acknowledged delivery and other processes to ensure delivery Makes larger demands on the network more overhead. UDP (User Datagram Protocol) Provides just the basic functions for delivery no reliability. Less overhead. TCP or UDP which to use There is a trade-off between the value of reliability and the burden it places on the network. Application developers choose the transport protocol based on the requirements of their applications.

RFC A Request for Comments (RFC) is a type of publication from the Internet Engineering Task Force (IETF) and the Internet Society (ISOC), the principal technical development and standardssetting bodies for the Internet. An RFC is authored by engineers and computer scientists in the form of a memorandum describing methods, behaviors, research, or innovations applicable to the working of the Internet and Internetconnected systems. It is submitted either for peer review or simply to convey new concepts, information, or (occasionally) engineering humor. [1] The IETF adopts some of the proposals published as RFCs as Internet Standards.

TCP Transmission Control Protocol Defined in RFC 793 Connection-oriented it creates a session between the source and destination Reliable delivery it re-transmits lost or corrupt data Ordered data reconstruction it reconstructs numbering and sequencing of segments Flow control it regulates the amount of data transmitted it tracks the session

UDP User Datagram Protocol RFC 768 Connectionless Unreliable delivery No ordered data reconstruction No flow control Stateless protocol Applications that use UDP: Domain Name System (DNS) Video Streaming VoIP

Separating Multiple Communications TCP and UDP use port numbers to differentiate between applications.

Introducing TCP and UDP TCP and UDP Port Addressing The TCP layer requires what is called a port number to be assigned to each message. This way it can determine the type of service being provided. These ports are merely reference numbers used to define a service. For instance, port 23 is used for telnet services, and HTTP uses port 80 for providing web browsing service. There is a group called the IANA (Internet Assigned Numbers Authority) that controls the assigning of ports for specific services. There are some ports that are assigned, some reserved and many unassigned which may be utilized by application programs. Port numbers are straight unsigned integer values which range up to a value of 65535.

TCP and UDP Port Addressing

Introducing TCP and UDP TCP and UDP Port Addressing (Cont.)

TCP and UDP Port Addressing

TCP and UDP Port Addressing The Netstat command is used to examine TCP connections that are open and running on a networked host.

TCP and UDP Segmentation The transport layer divides the data into pieces and adds a header for delivery over the network

TCP Server Processes Well-known ports are used as destinations, such as 80 (SMTP) and 25 (HTTP).

TCP Communication TCP Server Processes (Cont.) Random ports are used sources.

TCP Connection, Establishment and Termination Three-Way Handshake Three-way Handshake is the method used by TCP set up a TCP/IP connection over an Internet Protocol based network. It first establishes that the destination device is present on the network It then verifies that the destination device has an active service and is accepting requests on the destination port number that the initiating client intends to use for the session It informs the destination device that the source client intends to establish a communication session on that port number

TCP Three-Way Handshake Step 1: The initiating client requests a client-to-server communication session with the server

TCP Three-Way Handshake Step 2: The server acknowledges the client-to-server communication session and requests a server-to-client communication session.

TCP Three-Way Handshake Step 3 Step 3: The initiating client acknowledges the server-to-client communication session.

TCP Session Termination

TCP Session

TCP Reliability Ordered Delivery Sequence numbers are used to reassemble segments into their original order.

Acknowledgement and Window Size The sequence number and acknowledgement number are used together to confirm receipt. The window size is the amount of data that a source can transmit before an acknowledgement must be received.

Window Size and Acknowledgements

TCP Flow Control Congestion

Reliability and Flow Control TCP Reliability - Acknowledgements

UDP Low Overhead vs. Reliability UDP Simple protocol that provides the basic transport layer function Used by applications that can tolerate small loss of data Used by applications that cannot tolerate delay Used by DNS Simple Network Management Protocol (SNMP) Dynamic Host Configuration Protocol (DHCP) Trivial File Transfer Protocol (TFTP) IP telephony or VoIP Online games

Datagram Reassembly

UDP Server and Client Processes UDP-based server applications are assigned well-known or registered port numbers. UDP client process randomly selects port number from range of dynamic port numbers as the source port.

Applications that use TCP

Applications That Use UDP