© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.

Slides:



Advertisements
Similar presentations
Network Fundamentals – Chapter 4 Sandra Coleman, CCNA, CCAI
Advertisements

IT305: Computer Networks – Chapter 4
Layer 3 of the TCP/IP protocol stack. Transport layer.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Transport Layer3-1 Transport Overview and UDP. Transport Layer3-2 Goals r Understand transport services m Multiplexing and Demultiplexing m Reliable data.
Chapter 4 OSI 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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Intermediate TCP/IP TCP Operation.
Chapter 7: Transport Layer
© 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.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking Assist. Prof.
Lecture 7 Transport Layer
Chapter 7 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain the need for the transport layer.  Identify.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Transport Layer.
TRANSPORT LAYER  Session multiplexing  Segmentation  Flow control (TCP)  Connection-oriented (TCP)  Reliability (TCP)
CCNA 1 v3.1 Module 11 Review.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
Chapter 4 OSI Transport Layer
Gursharan Singh Tatla Transport Layer 16-May
Ensuring the Reliability of Data Delivery © 2004 Cisco Systems, Inc. All rights reserved. Understanding How UDP and TCP Work INTRO v2.0—6-1.
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.
The Saigon CTT Semester 1 CHAPTER 12 – 13 – 14 Le Chi Trung.
思科网络技术学院理事会. 1 OSI Transport Layer Network Fundamentals – Chapter 4.
1 Semester 2 Module 10 Intermediate TCP/IP Yuda college of business James Chen
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.
Transport Layer Layer #4 (OSI-RM). Transport Layer Main function of OSI Transport layer: Accept data from the Application layer and prepare it for addressing.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
1 Version 3.0 Module 11 TCP Application and Transport.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
University of the Western Cape Chapter 12: The Transport Layer.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI Transport Layer Network Fundamentals – Chapter 4.
TCP/IP Transport and Application (Topic 6)
11 TRANSPORT LAYER PROTOCOLS Chapter 6 TCP and UDP SPX and NCP.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
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.
Transport Layer COM211 Communications and Networks CDA College Theodoros Christophides
Networking Basics CCNA 1 Chapter 11.
Institute of Technology Sligo - Dept of Computing Chapter 12 The Transport Layer.
Chapter 9: Transport Layer
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 10 Intermediate TCP/IP.
1 Version 3.1 Module 10 Intermediate TCP/IP (Layer 4)
01_NF_Ch04 – OSI Transport Layer ( 傳輸層 ) Source: CCNA Exploration.
© 2002, Cisco Systems, Inc. All rights reserved..
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
1 14-Jun-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
Process-to-Process Delivery:
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI transport layer CCNA Exploration Semester 1 – Chapter 4.
Application Layer Functionality and Protocols Abdul Hadi Alaidi
Chapter 7: Transport Layer
Chapter 9: Transport Layer
Instructor Materials Chapter 9: Transport Layer
Network Fundamentals – Chapter 4
Process-to-Process Delivery:
TCP and UDP Layer 3 of the TCP/IP protocol stack. Transport layer
CPEG514 Advanced Computer Networkst
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Transport Layer 9/22/2019.
Presentation transcript:

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking

Presentation_ID 2 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Chapter Introduction 7.1 Transport Layer Protocols 7.2 TCP and UDP 7.3 Summary

Presentation_ID 3 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Chapter 7: Objectives  The purpose of the transport layer  Characteristics of the TCP and UDP protocols  TCP session establishment and termination  TCP protocol data units transmission and acknowledgement  UDP client processes to establish communication with a server  High-reliability TCP transmissions and non-guaranteed UDP transmissions

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 4 7.1: Transport Layer Protocols

Presentation_ID 5 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Transportation of Data Role of the Transport Layer The transport layer is responsible for  establishing a temporary communication session between two applications  delivering data between them TCP/IP uses two protocols to achieve this:  Transmission Control Protocol (TCP)  User Datagram Protocol (UDP) Responsibilities of Transport Layer Protocols  Tracking the individual communication between applications  Segmenting data for manageability and reassembling  Identifying the proper application for each communication stream

Presentation_ID 6 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Transportation of Data Role of the Transport Layer (Cont.)

Presentation_ID 7 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Transportation of Data Conversation Multiplexing Segmenting the Data  Enables many different communications, from many different users, to be interleaved (multiplexed) on the same network, at the same time.  Provides the means to send and receive data when running multiple applications.  Adds header to each segment to identify it.

Presentation_ID 8 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Transportation of Data Conversation Multiplexing (Cont.)

Presentation_ID 9 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Transportation of Data Conversation Multiplexing (Cont.)

Presentation_ID 10 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Transportation of Data Transport Layer Reliability Different applications have different transport reliability requirements. TCP/IP provides two transport layer protocols, TCP and UDP. TCP  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  Provides just the basic functions for delivery – no reliability.  Less overhead. TCP or UDP  The value of reliability vs. the burden it places on the network.  Choose the TCP or UDP according to your requirements.

Presentation_ID 11 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Introducing TCP and UDP Introducing TCP  Connection-oriented – Creates a session between the source and destination  Reliable delivery – Retransmits lost or corrupt data  Ordered data reconstruction – Reconstructs numbering and sequencing of segments  Flow control – Regulates the amount of data transmitted  Stateful protocol – Tracks the session

Presentation_ID 12 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Introducing TCP and UDP Introducing UDP  Connectionless  Unreliable delivery  No ordered data reconstruction  No flow control  Stateless protocol Applications that use UDP:  Domain Name System (DNS)  Video Streaming  VoIP (telephone)

Presentation_ID 13 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Introducing TCP and UDP Separating Multiple Communications TCP and UDP use port numbers to differentiate between applications..

Presentation_ID 14 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Introducing TCP and UDP TCP and UDP Port Addressing

Presentation_ID 15 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Introducing TCP and UDP TCP and UDP Port Addressing (Cont.)

Presentation_ID 16 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Introducing TCP and UDP TCP and UDP Port Addressing (Cont.)

Presentation_ID 17 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Introducing TCP and UDP TCP and UDP Port Addressing (Cont.) The program Netstat is used to examine TCP connections that are open and running on a networked host. Zkuste příkaz netstat z příkazového řádku.

Presentation_ID 18 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Introducing TCP and UDP TCP and UDP Segmentation The transport layer divides the data into pieces and adds a header for delivery over the network

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID TCP and UDP

Presentation_ID 20 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential TCP Communication TCP Server Processes Tento chce otevřít internetovou stránku. Tento chce otevřít poštu.

Presentation_ID 21 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential TCP Communication TCP Server Processes (Cont.) Tento chce otevřít internetovou stránku. Tento chce otevřít poštu.

Presentation_ID 22 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential TCP Communication TCP Connection, Establishment and Termination Three-Way Handshake  Establishes that the destination device is present on the network  Verifies that the destination device has an active service is accepting requests on the destination port number that the initiating client intends to use for the session  Informs the destination device that the source client intends to establish a communication session on that port number

Presentation_ID 23 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential TCP Communication TCP Three-Way Handshake – Step 1 Step 1: The initiating client requests a client-to-server communication session with the server

Presentation_ID 24 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential TCP Communication TCP Three-Way Handshake – Step 2 Step 2: The server acknowledges the client-to-server communication session and requests a server-to-client communication session. Podstatné věci, o kterých je řeč, v obrázku vůbec nejsou vidět: ACK flag Acknowledgement number SYN flag Destination port number Source port number

Presentation_ID 25 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential TCP Communication TCP Three-Way Handshake – Step 3 Step 3: The initiating client acknowledges the server-to-client communication session. Podstatné věci, o kterých je řeč, v obrázku vůbec nejsou vidět: ACK flag Acknowledgement number Source port number Destination port number

Presentation_ID 26 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential TCP Communication TCP Session Termination FIN = Finish

Presentation_ID 27 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Reliability and Flow Control TCP Reliability – Ordered Delivery Sequence numbers are used to reassemble segments into their original order.

Presentation_ID 28 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Reliability and Flow Control 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.

Presentation_ID 29 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Reliability and Flow Control Window Size and Acknowledgements Pošle zpátky číslo, které očekává

Presentation_ID 30 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Reliability and Flow Control TCP Flow Control – Congestion Avoidance Ten se snaží poslat další a další nedostal Proto znovu žádá

Presentation_ID 31 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Reliability and Flow Control TCP Reliability - Acknowledgements Žádá dvojku Nedostal, proto znovu a znovu žádá dvojku Až dvojku dostane, tak požádá o trojku.

Presentation_ID 32 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential UDP Communication 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  Video

Presentation_ID 33 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential UDP Communication Datagram Reassembly Části, došlé ve špatném pořadí, se nepřerovnávají. Ztracené části se neposílají znovu.

Presentation_ID 34 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential UDP Communication 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. Server používá dobře známá registrovaná čísla portů. Klient používá náhodně zvolená čísla portů.

Presentation_ID 35 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential TCP or UDP Applications that use TCP

Presentation_ID 36 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential TCP or UDP Applications That Use UDP Telefon Video

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID Summary

Presentation_ID 38 © 2008 Cisco Systems, Inc. All rights reserved.Cisco Confidential Chapter 7: Summary  The transport layer provides these services: multiplexing segmentation reassembly error checking  The transport layer: Divides data into segments. Adds a header to each segment. Reassembles the segments back into application data. Passes the assembled data to the correct application.  Transport Layer addresses issues in QoS and security.  Ports help data to get from the transport layer to the appropriate application at the destination.