Computer Networks NYUS FCSIT Spring 2008 Milos STOLIC, Bs.C. Teaching Assistant

Slides:



Advertisements
Similar presentations
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 :
Advertisements

CMPE 150 – Winter 2009 Lecture 16 March 3, 2009 P.E. Mantey.
Chapter 6 The Transport Layer.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Transport Layer Chapter
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Chapter 6 Transport Layer.
Chapter 6 The Transport Layer.
Transmission Control Protocol (TCP)
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.
Lecture 7 Transport Layer
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Transport Layer.
The TCP Segment Header TCP header length in 32 bit words, URG-urgent, ACK- ack number is valid, PSH-push, RST-reset connection, SYN-used to establish connection,
Chapter 6-2 The Transport Layer
EECC694 - Shaaban #1 lec #12 Spring Internet Transport Protocols Transmission Control Protocol (TCP):Transmission Control Protocol (TCP):
TRANSPORT LAYER  Session multiplexing  Segmentation  Flow control (TCP)  Connection-oriented (TCP)  Reliability (TCP)
Chapter 6 The Transport Layer.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 26 Introduction to Computer Networks.
Transport Layer Problems with network layer services
The Transport Layer Chapter 6. The TCP Segment Header TCP Header.
The Transport Layer Chapter 6. Performance Issues Performance Problems in Computer Networks Network Performance Measurement System Design for Better Performance.
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
1 Computer Networks Transport Layer Protocols. 2 Application-layer Protocols Application-layer protocols –one “piece” of an app –define messages exchanged.
Gursharan Singh Tatla Transport Layer 16-May
Process-to-Process Delivery:
Chapter 6 The Transport Layer.
The Transport Layer.
The Transport Layer Chapter 6.
Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall, 2011 The Transport Layer Chapter 6.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
SMUCSE 4344 transport layer. SMUCSE 4344 transport layer end-to-end protocols –transport code runs only on endpoint hosts encapsulates network communications.
Transport Layer Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
The Transport Layer.
ECE453 – Introduction to Computer Networks Lecture 14 – Transport Layer (I)
The Transport Layer Chapter 6. The Transport Service The transport layer is the heart of the whole protocol hierarchy It provides reliable data transport.
TCP/IP Transport and Application (Topic 6)
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 6 The Transport Layer.
The Transport Layer application transport network data link physical application transport network data link physical application transport network data.
(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.
Transport Layer Chapter 6 CN5E by Tanenbaum & Wetherall, © Pearson Education-Prentice Hall and D. Wetherall, 2011 Transport Service Elements of Transport.
The Transport Layer Chapter Computer Networks, Fifth Edition by Andrew Tanenbaum and David Wetherall, © Pearson Education-Prentice Hall,
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.
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
Chapter 6 Transport Layer
4343 X2 – The Transport Layer Tanenbaum Ch.6.
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.
1 14-Jun-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
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.
Chapter 6 The Transport Layer.
The Transport Layer Chapter
Transport Layer: Sliding Window Reliability
Transport layer issues Johan Lukkien
Transport Layer Unit 5.
Chapter 6 The Transport Layer The Transport Service & Elements of Transport Protocols.
Process-to-Process Delivery:
PART V Transport Layer.
The Transport Layer Chapter 6.
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Transport Layer 9/22/2019.
Presentation transcript:

Computer Networks NYUS FCSIT Spring 2008 Milos STOLIC, Bs.C. Teaching Assistant

The Transport Layer Chapter 6

The Transport Service a)Services Provided to the Upper Layers b)Transport Service Primitives

Services Provided to the Upper Layers The network, transport, and application layers.

Transport Service Primitives The primitives for a simple transport service.

Transport Service Primitives (2)‏ The nesting of TPDUs, packets, and frames.

Transport Service Primitives (3)‏ A state diagram for a simple connection management scheme. Transitions labeled in italics are caused by packet arrivals. The solid lines show the client's state sequence. The dashed lines show the server's state sequence.

Elements of Transport Protocols a)Addressing b)Connection Establishment c)Connection Release d)Flow Control and Buffering e)Multiplexing f)Crash Recovery

Transport Protocol (a) Environment of the data link layer. (b) Environment of the transport layer.

Addressing TSAPs, NSAPs and transport connections.

Connection Establishment How a user process in host 1 establishes a connection with a time-of-day server in host 2.

Connection Establishment (2)‏ (a) TPDUs may not enter the forbidden region. (b) The resynchronization problem.

Connection Establishment (3)‏ Three protocol scenarios for establishing a connection using a three-way handshake. CR denotes CONNECTION REQUEST. (a) Normal operation, (b) Old CONNECTION REQUEST appearing out of nowhere. (c) Duplicate CONNECTION REQUEST and duplicate ACK.

Connection Release Abrupt disconnection with loss of data.

Connection Release (2)‏ The two-army problem.

Connection Release (3)‏ Four protocol scenarios for releasing a connection. (a) Normal case of a three-way handshake. (b) final ACK lost. 6-14, a, b

Connection Release (4)‏ (c) Response lost. (d) Response lost and subsequent DRs lost. 6-14, c,d

Flow Control and Buffering (a) Chained fixed-size buffers. (b) Chained variable-sized buffers. (c) One large circular buffer per connection.

Multiplexing (a) Upward multiplexing. (b) Downward multiplexing.

Crash Recovery Different combinations of client and server strategy.

The Internet Transport Protocols: UDP a)Introduction to UDP b)Remote Procedure Call c)The Real-Time Transport Protocol

Introduction to UDP The UDP header.

Remote Procedure Call Steps in making a remote procedure call. The stubs are shaded.

The Real-Time Transport Protocol (a) The position of RTP in the protocol stack. (b) Packet nesting.

The Real-Time Transport Protocol (2)‏ The RTP header.

The Internet Transport Protocols: TCP a)Introduction to TCP b)The TCP Service Model c)The TCP Protocol d)The TCP Segment Header e)TCP Connection Establishment f)TCP Connection Release g)TCP Connection Management Modeling h)TCP Transmission Policy i)TCP Congestion Control j)TCP Timer Management k)Wireless TCP and UDP l)Transactional TCP

The TCP Service Model Some assigned ports. PortProtocol Use 21 FTP File transfer 23 Telnet Remote login 25 SMTP 69 TFTP Trivial File Transfer Protocol 79 FingerLookup info about a user 80 HTTP World Wide Web 110 POP-3 Remote access 119 NNTP USENET news

The TCP Service Model (2)‏ (a) Four 512-byte segments sent as separate IP datagrams. (b) The 2048 bytes of data delivered to the application in a single READ CALL.

The TCP Segment Header TCP Header.

The TCP Segment Header (2)‏ The pseudoheader included in the TCP checksum.

TCP Connection Establishment (a) TCP connection establishment in the normal case. (b) Call collision. 6-31

TCP Connection Management Modeling The states used in the TCP connection management finite state machine.

TCP Connection Management Modeling (2)‏ TCP connection management finite state machine. The heavy solid line is the normal path for a client. The heavy dashed line is the normal path for a server. The light lines are unusual events. Each transition is labeled by the event causing it and the action resulting from it, separated by a slash.

TCP Transmission Policy Window management in TCP.

TCP Transmission Policy (2)‏ Silly window syndrome.

TCP Congestion Control (a) A fast network feeding a low capacity receiver. (b) A slow network feeding a high-capacity receiver.

TCP Congestion Control (2)‏ An example of the Internet congestion algorithm.

TCP Timer Management (a) Probability density of ACK arrival times in the data link layer. (b) Probability density of ACK arrival times for TCP.

Wireless TCP and UDP Splitting a TCP connection into two connections.

Transitional TCP (a) RPC using normal TPC. (b) RPC using T/TCP.

Performance Issues a)Performance Problems in Computer Networks b)Network Performance Measurement c)System Design for Better Performance d)Fast TPDU Processing e)Protocols for Gigabit Networks

Performance Problems in Computer Networks The state of transmitting one megabit from San Diego to Boston (a) At t = 0, (b) After 500 μsec, (c) After 20 msec, (d) after 40 msec.

Network Performance Measurement The basic loop for improving network performance. A.Measure relevant network parameters, performance. B.Try to understand what is going on. C.Change one parameter.

System Design for Better Performance Rules: A.CPU speed is more important than network speed. B.Reduce packet count to reduce software overhead. C.Minimize context switches. D.Minimize copying. E.You can buy more bandwidth but not lower delay. F.Avoiding congestion is better than recovering from it. G.Avoid timeouts.

System Design for Better Performance (2)‏ Response as a function of load.

System Design for Better Performance (3)‏ Four context switches to handle one packet with a user-space network manager.

Fast TPDU Processing The fast path from sender to receiver is shown with a heavy line. The processing steps on this path are shaded.

Fast TPDU Processing (2)‏ (a) TCP header. (b) IP header. In both cases, the shaded fields are taken from the prototype without change.

Fast TPDU Processing (3)‏ A timing wheel.

Protocols for Gigabit Networks Time to transfer and acknowledge a 1-megabit file over a 4000-km line.