Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 6 Transport Layer.

Slides:



Advertisements
Similar presentations
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 20 – Transport Protocols.
Advertisements

Transport Layer. Context of various layers upto Network layer NL : present in LAN and subnet MAC sublayer : not present in Subnets, only in LANs DLL :
Chapter 6 The Transport Layer.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Transport Layer Chapter
Computer Networks NYUS FCSIT Spring 2008 Milos STOLIC, Bs.C. Teaching Assistant
Chapter 6 The Transport Layer.
Transmission Control Protocol (TCP)
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:
Guide to TCP/IP, Third Edition
XCYANG Transport Protocols XCYANG Department of Computer Science and Technology, Nanjing University 1 Data Communications and Networking Chapter.
Chapter 7: Transport Layer
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
I N THE N AME OF G OD C OMPUTER N ETWORKS C HAPTER 6: T HE T RANSPORT L AYER Dr. Shahriar Bijani Shahed University May 2014.
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.
Lectured by: Nguyễn Lê Duy Lai 2/14/2011HCM City University of Technology1.
EEC-484/584 Computer Networks Lecture 12 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 26 Introduction to Computer Networks.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
The Transport Layer Chapter 6. The Transport Service Services Provided to the Upper Layers Transport Service Primitives Berkeley Sockets An Example of.
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
Computer Networks Transport Layer. Topics F Introduction  F Connection Issues F TCP.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
Gursharan Singh Tatla Transport Layer 16-May
Process-to-Process Delivery:
Chapter 6 The Transport Layer.
The Transport Layer (L4) Provides an end-to-end, reliable transport service between l4 entities –Reliable - error-free, in- sequence, no loss or duplication.
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?
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Transport Layer Chapter 6.
© 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.
SMUCSE 4344 transport layer. SMUCSE 4344 transport layer end-to-end protocols –transport code runs only on endpoint hosts encapsulates network communications.
The Transport Layer.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 26.
The Transport Layer Chapter 6. The Transport Service The transport layer is the heart of the whole protocol hierarchy It provides reliable data transport.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Data Link Layer Part I – Designing Issues and Elementary.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 6 The Transport Layer.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
(from Tanenabaum: “Computer Networks” Chapter 1) and
Networking Basics CCNA 1 Chapter 11.
The Transport Layer Chapter 6. Transport Service Primitives The primitives for a simple transport service.
The Transport Layer Chapter 6 12/14/2015www.ishuchita.com1.
Computer Networks23-1 PART 5 Transport Layer. Computer Networks23-2 Position of Transport Layer Responsible for the delivery of a message from one process.
Advanced UNIX programming Fall 2002, lecture 16 Instructor: Ashok Srinivasan Acknowledgements: The syllabus and power point presentations are modified.
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.
Chapter 6 Transport Layer
4343 X2 – The Transport Layer Tanenbaum Ch.6.
1 Computer Communication & Networks Lecture 23 & 24 Transport Layer: UDP and TCP Waleed Ejaz
Data Communications and Networks Chapter 6 – IP, UDP and TCP ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Distributed Systems 8. Transport Layer Simon Razniewski Faculty of Computer Science Free University of Bozen-Bolzano A.Y. 2014/2015.
Process-to-Process Delivery:
The Transport Layer Dr. ir. S.S. Msanjila RIS 251.
Distributed Systems 12. Transport Layer Simon Razniewski Faculty of Computer Science Free University of Bozen-Bolzano A.Y. 2015/2016.
The Transport Layer Implementation Services Functions Protocols
Unit-7 The Transport Layer.
Chapter 6 The Transport Layer.
PART 5 Transport Layer Computer Networks.
Transport Layer: Sliding Window Reliability
Chapter 6: Transport Layer (Part I)
Transport Layer Unit 5.
Chapter 6 The Transport Layer The Transport Service & Elements of Transport Protocols.
Process-to-Process Delivery:
The Transport Layer Chapter 6.
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Transport Layer 9/22/2019.
EEL 5718 Computer Communications
Presentation transcript:

Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 6 Transport Layer

2 Topics l Transport Service l Elements of Transport Protocols

3 Transport Service l Services provided to the upper layers l Goal  Provide efficient, reliable, and cost- effective services to its users (application/session layer processes) l Transport entity  Hardware/software within transport layer to do the work

4 Logical Relationship The network, transport, and application layers

5 Transport Services l Connection-oriented  E.g., TCP (Transmission Control Protocol) in TCP/IP l Connectionless  E.g., UDP (User Datagram Protocol) in TCP/IP l Why another layer between network and application/session layers?

Transport Service Primitives The primitives for a simple transport service

7 Transport Service Primitives l TPDU  Transport protocol data unit  Message transmitted between transport entities Nesting of TPDUs, packets, and frames.

8 Transport Service Primitives l Client-server example Client processServer process CONNECTLISTEN ACCEPT SENDRECEIVE RECEIVESEND ::DISCONNECT

9 Elements of Transport Protocols l Addressing l Connect l Disconnect l Flow control and buffering l Multiplexing l Crash recovery

10 Elements of Transport Protocols l Transport protocol  Used to implement transport service  Resembles data link protocol  Error control, sequencing, flow control, etc.  BUT, their environments are different! Environment of data link layerEnvironment of transport layer

11 Elements of Transport Protocols l Differences from data link protocol  Explicit addressing of destination  More complicated initial connection establishment  Storage capacity in subnet  Packet might be "hiding" in subnet  Large and dynamically varying number of connections  buffering and flow control needed in both layers, but different approaches required

12 Addressing l Which remote application process to connect to l Transport address  Which process can listen for connection  TSAP  Transport service access point  Internet: Port  Usually multiple TSAP supported by transport entity  NSAP  Network service access point  Internet: IP address  One or more NSAP (e.g., host w/ more than one connections, router, etc.)

Addressing

14 Establishing a Connection l Problem: delayed duplicates  Congestion, timeout, retransmission, packet hidden in subnet l Solution  Ensure no packet lives longer than some known time  Lifetime control  Restricted subnet design  Putting a hop counter in each packet  Timestamping each packet

Connection Establishment Three protocol scenarios for establishing a connection using a three-way handshake. CR denotes CONNECTION REQUEST. Normal operation.

Connection Establishment Three protocol scenarios for establishing a connection using a three-way handshake. CR denotes CONNECTION REQUEST. Old duplicate CONNECTION REQUEST appearing out of nowhere.

Connection Establishment Three protocol scenarios for establishing a connection using a three-way handshake. CR denotes CONNECTION REQUEST. Duplicate CONNECTION REQUEST and duplicate ACK

Connection Release Abrupt disconnection with loss of data

19 Analogy - Two-Army Problem l Unreliable channel  Three-way, four-way, …, N-way handshake  NONE OF THEM WORKS

20 Releasing a Connection l Three-way handshake + timers l Fails when all DRs from source lost  Half-open connection l Solution:  If no TPDUs have arrived for a certain amount of time disconnect  Timer needed  Dummy TPDU might be needed to keep a connection alive

Connection Release Four protocol scenarios for releasing a connection. (a) Normal case of three-way handshake

Connection Release Four protocol scenarios for releasing a connection. (b) Final ACK lost.

Connection Release Four protocol scenarios for releasing a connection. (c) Response lost

Connection Release Four protocol scenarios for releasing a connection. (d) Response lost and subsequent DRs lost.

25 Flow Control l Flow control  Similar to data link layer  Sliding windows (or some other scheme) needed  Difference  Host: numerous connections Router: a few lines  different buffering strategies