The Transport Layer (L4) Provides an end-to-end, reliable transport service between l4 entities –Reliable - error-free, in- sequence, no loss or duplication.

Slides:



Advertisements
Similar presentations
Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
Advertisements

Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 6 Transport Layer.
CCNA – Network Fundamentals
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Transmission Control Protocol (TCP)
Intermediate TCP/IP TCP Operation.
TELE202 Lecture 13 TCP/UDP (1) 1 Lecturer Dr Z. Huang Overview ¥This Lecture »Internet Protocols (4) »Source: chapter 15 ¥This Lecture »TCP/UDP (1) »Source:
Chapter 7: Transport Layer
OSI Model OSI MODEL.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
5/6/2015© 2010 Raymond P. Jefferis IIILect Transport Layer.
TELE202 Lecture 14 TCP/UDP (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »TCP/UDP (1) »Source: chapter 17 ¥This Lecture »TCP/UDP (2) »Source: chapter.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
The Transport Layer Chapter 6. The Transport Service Services Provided to the Upper Layers Transport Service Primitives Berkeley Sockets An Example of.
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Transport Layer.
The OSI Reference Model
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
EE 4272Spring, 2003 Chapter 17 Transport Protocols Connection-Oriented Transport Protocol  Reliable Network Service: Design Issues  Unreliable Network.
Gursharan Singh Tatla Transport Layer 16-May
What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host IP treats a computer as an endpoint of communication Best.
Lect11.ppt - 03/15/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 11 Link-Level Flow and Error Control by Zornitza Genova Prodanoff.
Link-Level Flow and Error Control
Process-to-Process Delivery:
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
1 Transport Layer Computer Networks. 2 Where are we?
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
6.1. Transport Control Protocol (TCP) It is the most widely used transport protocol in the world. Provides reliable end to end connection between two hosts.
Mukesh N. Tekwani Elphinstone College Mumbai
26-TCP Dr. John P. Abraham Professor UTPA. TCP  Transmission control protocol, another transport layer protocol.  Reliable delivery  Tcp must compensate.
University of the Western Cape Chapter 12: The Transport Layer.
SMUCSE 4344 transport layer. SMUCSE 4344 transport layer end-to-end protocols –transport code runs only on endpoint hosts encapsulates network communications.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 2.5 Internetworking Chapter 25 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
Routers and Routing Basics CCNA 2 Chapter 10.
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Types of Service. Types of service (1) A network architecture may have multiple protocols at the same layer in order to provide different types of service.
Networking Basics CCNA 1 Chapter 11.
Institute of Technology Sligo - Dept of Computing Chapter 12 The Transport Layer.
5. The Transport Layer 5.1 Role of Transport Layer It bridge the gab between applications and the network layer. Provides reliable cost-effective data.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Principles of reliable data transfer 0.
4343 X2 – The Transport Layer Tanenbaum Ch.6.
1 Computer Communication & Networks Lecture 23 & 24 Transport Layer: UDP and TCP Waleed Ejaz
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
Ch 3. Transport Layer Myungchul Kim
Ch 3. Transport Layer Myungchul Kim
The Transport Layer Dr. ir. S.S. Msanjila RIS 251.
Computer Engineering and Networks, College of Engineering, Majmaah University Protocols OSI reference MODEL TCp /ip model Mohammed Saleem Bhat
OSI Model OSI MODEL. Communication Architecture Strategy for connecting host computers and other communicating equipment. Defines necessary elements for.
OSI Model OSI MODEL.
Chapter 7: Transport Layer
The Transport Layer Implementation Services Functions Protocols
Chapter 9: Transport Layer
Fast Retransmit For sliding windows flow control we waited for a timer to expire before beginning retransmission of a packet TCP uses an additional mechanism.
Unit-7 The Transport Layer.
Instructor Materials Chapter 9: Transport Layer
Lecturer, Department of Computer Application
CCNA 2 v3.1 Module 10 Intermediate TCP/IP
Process-to-Process Delivery:
OSI Model OSI MODEL.
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Transport Layer 9/22/2019.
EEL 5718 Computer Communications
Presentation transcript:

The Transport Layer (L4) Provides an end-to-end, reliable transport service between l4 entities –Reliable - error-free, in- sequence, no loss or duplication Typically connection-oriented –can be connectionless –depends on needs of application

ISO Transport Layer ISO classify subnets as type A, B and C –(reliable to unreliable) Define 5 different Layer 4 protocols to operate over these 3 types Class 4 protocols (TP4) is defined to operate over an unreliable network TP4 functionality almost identical to TCP

Connection oriented service typical 3 phase connection –establish connection –data transfer –terminate connection T-Connect, T-Data, T- Disconnect services, with service primitives –.request –.indication –.response –.confirm

Parameters associated with primitives, e.g. –Addressing –Quality of Service parameters Addresses are T-SAP identifiers –(Sockets in TCP/IP terminology) –Can be well known addresses –Can be ‘discovered’ at connection set-up time T-Connect can then be directed to appropriates –address, T-SAP identifier (socket)

Quality of service is negotiated. –Source specifies requirements –network and destination agree or modify these. Typical QoS parameters –throughput, end-to-end delay, error rate, etc Connection requests can be denied by local or remote L4 entity

L4 has very similar functionality to L2 (link layer), but –L2 operates (typically) across a link –L4 operates end-to-end (across a network)

Main issues are:- –Connection establishment and termination. –Error and flow control –Buffering and multiplexing.

The problems arising from these issues are:- –how to guarantee ordered delivery of PDUs to the users –how to ensure that only legitimate connections are established –how to ensure that connections are broken down in a proper manner –how to ensure that connections are terminated correctly –how to separate acknowledgements from flow control, i.e. Tell source everything has arrived OK send / don’t send any more (yet)

Ordered delivery – relies on every (data) TPDU being numbered –SREJ typically used at L4 for error recovery, this impacts on number of TPDUs which can be ‘in transit’ –remember connection is across a network »connection distance is long –potential inefficient use of channel capacity –need long sequence numbers buffering at destination

Long connection distance can cause other problems –if connectionless layer 3 in operation TPDUs can take different routes therefore can get delayed (lost) –Can’t therefore allow same sequence numbers to be reused between different connections else a delayed TPDU, from a terminated call, could arrive and be accepted –Initial Sequence Numbers defined at connection establishment

Connection establishment phase - three-way handshake –CR(Connection Request) sent by source, with proposed start sequence no CR(ISN = x) –CC (Connect Confirm) sent by destination, with ack of x, and their own start sequence no CC(ISN=y, ack=x) –Source acks CC ACK(seq = x, ack=y) –Only valid connections will be established

Connection Termination –Three way handshake also used to ensure all TPDUs have arrived before connection terminated –TPDUs are DR and DC, e.g. DR(last sent = a, ack =b) DC(last sent = b + 2, ack = a) Ack(last sent = a, ack = b+2) –Connection will remain opern until final Ack is received

Error Control –Typical ARQ, but with sequence numbers constraints outlined above clearly includes acks, retransmissions, etc, as appropriate –Can also use checksum on data

Flow Control Flow Control is a more difficult problem –SREJ typically used for error recovery essential if error control is across the network essential if connectionless network (L3) under L4 –Need to buffer out of sequence frames –Need large buffers at destination, to buffer out of sequence TPDUs

Hence, Ack cannot be misinterpreted as meaning –‘I have acked another 2 TPDUs’ –‘So, you can send 2 more TPDUs’ Ack means TPDUs have arrived correctly Permission to transmit more data must be signalled separately –this is a flow control issue

Mechanics of separate Acks and Flow Control –Acks (and certain other TPDUs) have a separate CR(credit field) e.g. (AK=n, CR=m) Acking upto TPDU n, permission to send m TPDUs (after n) Flow control is achieved by adjusting value of m m may be zero –Timers used (as for L2) to ensure deadlock doesn’t occur

Multiplexing Upwards and Downwards multiplexing allowed Upwards Multiplexing –Several transport connections using one layer 3 connection –Multiple calls to the same destination Downwards Multiplexing –One L4 connection spread over multiple L3 connections –Necessary if L3 connect slow, and high data rate to transmit One-to-one multiplexing more common

Summary - L4 Functionality To insulate application (upper layers from subnet (lower 3 layers) End-to-end (connection oriented) service –Ordered delivery of TPDUs Issues and sequence number selection and sequence number length –Ensuring only valid connections accepted Need for 3 way hand shake –Ensuring connections terminated correctly