5/6/2015© 2010 Raymond P. Jefferis IIILect 06- 1 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

TCP/IP Christopher Zacky. lolwut Decimal Numbers.
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 2 TCP/IP Fundamentals.
EE 4272Spring, 2003 Chapter 17 Transport Protocols Connection-Oriented Transport Protocol  Under Reliable Network Service  Design Issues  Under Unreliable.
CISCO NETWORKING ACADEMY Chabot College ELEC Transport Layer (4)
TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
Guide to TCP/IP, Second Edition1 Guide To TCP/IP, Second Edition Chapter 5 Transport Layer TCP/IP Protocols.
Transmission Control Protocol (TCP)
Fundamentals of Computer Networks ECE 478/578 Lecture #20: Transmission Control Protocol Instructor: Loukas Lazos Dept of Electrical and Computer Engineering.
CSEE W4140 Networking Laboratory Lecture 6: TCP and UDP Jong Yul Kim
TCP 與 UDP 協定分析 第 22 組 b 陳贊羽 b 馬家驤 b 林怡賢 b 王奕棠.
UDP & TCP Where would we be without them!. UDP User Datagram Protocol.
Configuring a Router with RIP Basic Configuration and Show Commands.
1 TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
1 CS 4396 Computer Networks Lab Transmission Control Protocol (TCP) Part I.
TO p. 1 Spring 2006 EE 5304/EETS 7304 Internet Protocols Tom Oh Dept of Electrical Engineering Lecture 13 Transport Layer.
Instructor: Sam Nanavaty TCP/IP protocol. Instructor: Sam Nanavaty Version – Allows for the evolution of the protocol IHL (Internet header length) – Length.
Transmission Control Protocol (TCP) Basics
1 Chapter 3 TCP and IP. Chapter 3 TCP and IP 2 Introduction Transmission Control Protocol (TCP) Transmission Control Protocol (TCP) User Datagram Protocol.
CS3505 The Internet and Info Hiway transport layer protocols : TCP/UDP.
Provides a reliable unicast end-to-end byte stream over an unreliable internetwork.
Transport Layer – TCP (Part1) Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Chapter 7 – Transport Layer Protocols
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.
Computer Networks 2 Lecture 2 TCP – I - Transport Protocols: TCP Segments, Flow control and Connection Setup.
TRANSPORT LAYER  Session multiplexing  Segmentation  Flow control (TCP)  Connection-oriented (TCP)  Reliability (TCP)
Copyright 1999, S.D. Personick. All Rights Reserved. Telecommunications Networking II Lecture 32 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
CSEE W4140 Networking Laboratory Lecture 6: TCP and UDP Jong Yul Kim
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Transport Layer.
CSCE 515: Computer Network Programming TCP Details Wenyuan Xu Department of Computer Science and Engineering.
EEC-484/584 Computer Networks Lecture 13 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
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
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?
ES Module 4 Transport Layer Protocols. Last Lecture(s) Routing and IP Addressing Domain Name System.
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.
1 LAN Protocols (Week 3, Wednesday 9/10/2003) © Abdou Illia, Fall 2003.
TCP: A Closer Look Transmission Control Protocol.
TCP : Transmission Control Protocol Computer Network System Sirak Kaewjamnong.
Copyright 2002, S.D. Personick. All Rights Reserved.1 Telecommunications Networking II Topic 20 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
1 TCP: Reliable Transport Service. 2 Transmission Control Protocol (TCP) Major transport protocol used in Internet Heavily used Completely reliable transfer.
1 15. Transport Protocols. Prof. Sang-Jo Yoo 2 Contents  Transport protocol  Transport Service  Protocol for reliable network service  Protocol for.
© Jörg Liebeherr (modified by Malathi Veeraraghavan) 1 Overview Formats, Data Transfer, etc. Connection Management.
4343 X2 – The Transport Layer Tanenbaum Ch.6.
NUS.SOC.CS2105 Ooi Wei Tsang Application Transport Network Link Physical you are still here.
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
1 Transmission Control Protocol (TCP) RFC: Introduction The TCP is intended to provide a reliable process-to-process communication service in a.
3. END-TO-END PROTOCOLS (PART 1) Rocky K. C. Chang Department of Computing The Hong Kong Polytechnic University 22 March
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.
Transport Layer.
Process-to-Process Delivery, TCP and UDP protocols
Process-to-Process Delivery
TCP.
© 2003, Cisco Systems, Inc. All rights reserved.
TCP - Part I Karim El Defrawy
Transport Layer Unit 5.
TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
PART V Transport Layer.
TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
Transport Protocols: TCP Segments, Flow control and Connection Setup
Introduction to Computer Networks
Transport Protocols: TCP Segments, Flow control and Connection Setup
Transport Layer 9/22/2019.
EEL 5718 Computer Communications
Presentation transcript:

5/6/2015© 2010 Raymond P. Jefferis IIILect Transport Layer

5/6/2015© 2010 Raymond P. Jefferis IIILect Position in OSI Model

5/6/2015© 2010 Raymond P. Jefferis IIILect Position in TCP/IP Model

5/6/2015© 2010 Raymond P. Jefferis IIILect Functions Provides data transfer services to the Application layer Uses the services of the Network layer Adds error and congestion control Sequences packets and insures complete delivery Establishes and releases connections Handles flow control and congestion

5/6/2015© 2010 Raymond P. Jefferis IIILect Error Control Network layer can be unreliable Packets can arrive out of sequence –arrange in order –detect and remove duplicates Data link can crash –reconnect if necessary –complete unfinished transmission

5/6/2015© 2010 Raymond P. Jefferis IIILect Packet (octet) Ordering Packets (octets in TCP) are given sequence numbers Credit scheme for packet acknowledgment –octets are acknowledged in blocks –permission granted for specified number of additional octets

5/6/2015© 2010 Raymond P. Jefferis IIILect Congestion Control Permission to transmit specified number of octets is explicitly given (credits) –partly determined by available buffer space –partly determined by network delays Receiver can issue credits for unavailable space, assuming it will become available in time to avoid overflow Window size is variable, depends on conditions at the time

5/6/2015© 2010 Raymond P. Jefferis IIILect TCP Flow Control Receiver grants window of 2000 octets Transmitter sends 1000 octets Receiver ACKs 1000 Window is then 1000 etc.

5/6/2015© 2010 Raymond P. Jefferis IIILect TCP Header

5/6/2015© 2010 Raymond P. Jefferis IIILect Re: Flow Control Note that header includes ACK number Header also includes window size Thus ACK can update remaining window

5/6/2015© 2010 Raymond P. Jefferis IIILect TCP Header Fields SRC/DST port - local/remote user Sequence number - for each octet Acknowledgment number - expected octet Header Length - offset to data Control flags –urgent, attn ACK field, push, reset connection, synch sequence numbers, end of data

5/6/2015© 2010 Raymond P. Jefferis IIILect TCP Header Fields (cont’d) Window - number of octets granted (credit) Checksum - Mod 16 sum of segment Urgent pointer - last octet in urgent data Options -

5/6/2015© 2010 Raymond P. Jefferis IIILect Types of Service Connection-oriented manages establishment of a connection, transfer of data over the connection, termination of the connection Connectionless datagrams sent and received

5/6/2015© 2010 Raymond P. Jefferis IIILect Connection Header Transmitter sends –SYN = 1 –Sequence Number = x Receiver sends –SYN = 1 –ACK = 1 –Sequence Number = y –ACK Number = x+1 (next expected octet)

5/6/2015© 2010 Raymond P. Jefferis IIILect Connection Header (cont’d) Transmitter –SYN = 1 –ACK Number = y + 1 (next ACK expected)

5/6/2015© 2010 Raymond P. Jefferis IIILect Data Segments 32-bit sequence number for each segment Sequence number applies to first octet in the data field Flow control credits are in octets PUSH (+URG flag if urgent) flag clears transmit buffer, signifying end of transmission block

5/6/2015© 2010 Raymond P. Jefferis IIILect Disconnecting CLOSE function in TCP Transport sets FIN flag on last segment of data to be sent

5/6/2015© 2010 Raymond P. Jefferis IIILect Connection Petri Diagram

5/6/2015© 2010 Raymond P. Jefferis IIILect Connection Transitions t1- passive open t2- active open; send SYN t3- send data; send SYN t4- close; send FIN t5- recv SIN; send SYN, ACK; recv RST t6- recv SYN, ACK; send ACK t7- recv FIN; send ACK; recv ACK t8- recv ACK t9- recv FIN; send ACK t10- close; send FIN

5/6/2015© 2010 Raymond P. Jefferis IIILect Transport Primitives Services available to Application Layer Connection-oriented Reliable end-to-end delivery User tasks call library procedures Support connection, of transport data units, and disconnection

5/6/2015© 2010 Raymond P. Jefferis IIILect Basic Transport Primitives

5/6/2015© 2010 Raymond P. Jefferis IIILect TCP Request Primitives

5/6/2015© 2010 Raymond P. Jefferis IIILect TCP Response Primitives