Lecture 7 Transport Layer

Slides:



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

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.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 7: Transport Layer Introduction to Networking.
Cisco 2 - Routers Perrine. J Page 14/30/2015 Chapter 10 TCP/IP Protocol Suite The function of the TCP/IP protocol stack is to transfer information from.
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.
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.
Chapter 7: Objectives Part 1
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
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.
TCP/IP Application and Transport
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
思科网络技术学院理事会. 1 OSI Transport Layer Network Fundamentals – Chapter 4.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
1 Semester 2 Module 10 Intermediate TCP/IP Yuda college of business James Chen
Copyright 2003 CCNA 1 Chapter 9 TCP/IP Transport and Application Layers By Your Name.
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.
CCNA1 v3 Module 11 v3 CCNA 1 Module 11 JEOPARDY S Dow.
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 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.
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.
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
Computer Network Architecture Lecture 6: OSI Model Layers Examples 1 20/12/2012.
1 Version 3.1 Module 10 Intermediate TCP/IP (Layer 4)
01_NF_Ch04 – OSI Transport Layer ( 傳輸層 ) Source: CCNA Exploration.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
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.
© 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
Network Fundamentals – Chapter 4
Process-to-Process Delivery:
Network Fundamentals – Chapter 4
TCP and UDP Layer 3 of the TCP/IP protocol stack. Transport layer
Network Fundamentals – Chapter 4
Network Fundamentals – Chapter 4
Network Fundamentals – Chapter 4
Process-to-Process Delivery: UDP, TCP
The TCP/IP Model.
Network Fundamentals – Chapter 4
Presentation transcript:

Lecture 7 Transport Layer Objectives: Describe characteristics of the TCP and UDP protocols, including port numbers and their uses. Explain how TCP session establishment and termination processes facilitate reliable communication. Explain how TCP protocol data units are transmitted and acknowledged to guarantee delivery. Explain the UDP client processes to establish communication with a server.

Transportation of Data Role of the Transport Layer Chapter 7 7.1.1

Transportation of Data Role of the Transport Layer The Transport Layer is responsible for establishing a temporary communication session between two applications and delivering data between them. TCP/IP uses two protocols to achieve this: Transmission Control Protocol (TCP) User Datagram Protocol (UDP) Primary Responsibilities of Transport layer Protocols Tracking the individual communication between applications on the source and destination hosts Segmenting data for manageability and reassembling segmented data into streams of application data at the destination Identifying the proper application for each communication stream 7.1.1.1 and 7.1.1.2 Role of the Transport Layer

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 both send and receive data when running multiple applications. Header added to each segment to identify it. 7.1.1.3 Conversation Multiplexing

Transportation of Data Transport Layer Protocols Transmission Control Protocol (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 User Datagram Protocol (UDP) Provides just the basic functions for delivery – no reliability Less overhead 7.1.1.4 Transport Layer Reliability 7.1.1.5 TCP 7.1.1.6 UDP 7.1.1.7 The Right Transport Layer Protocol for the Right Application

Transportation of Data TCP or UDP There is a trade-off between the value of reliability and the burden it places on the network. Application developers choose the transport protocol based on the requirements of their applications. Applications that use TCP: HTTP, FTP, SMTP, Telnet Applications that use UDP: DHCP, DNS, SNMP, TFTP, VoIP, IPTV 7.2.4 TCP or UDP, that is the Question 7.2.4.1 Applications that use TCP

Introducing TCP and UDP Introducing TCP Transmission Control Protocol (TCP) RFC 793 Connection-oriented – creating a session between source and destination Reliable delivery – retransmitting lost or corrupt data Ordered data reconstruction – numbering and sequencing of segments Flow control - regulating the amount of data transmitted Stateful protocol – keeping track of the session 7.1.2 Introducing TCP and UDP 7.1.2.1 Introducing TCP 7.1.2.2 Role of TCP

Introducing TCP and UDP Introducing UDP Applications that use UDP: Domain Name System (DNS) Video Streaming Voice over IP (VoIP) 7.1.2.3 Introducing UDP 7.1.2.4 Role of UDP

Introducing TCP and UDP Separating Multiple Communications 7.1.2.6 TCP and UDP Port addressing

Introducing TCP and UDP TCP and UDP Port Addressing

Introducing TCP and UDP TCP and UDP Port Addressing 7.1.2.8 TCP and UDP Port Addressing (cont)

Introducing TCP and UDP netstat Used to examine TCP connections that are open and running on a networked host 7.1.2.9 TCP and UDP Port Addressing (cont) 6 sessions 1 client Browsing different web sites

TCP Communication TCP Server Processes

TCP Communication TCP Connection Establishment Three-Way Handshake Establishes that the destination device is present on the network. Verifies that the destination device has an active service and 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. 7.2.1.3 TCP Connection, Establishment and Termination

TCP Communication TCP Connection Establishment Within the TCP segment header, there are six 1-bit fields that contain control information used to manage the TCP processes. Each of these fields is only 1 bit and, therefore, has only two values: 1 or 0. When a bit value is set to 1, it indicates what control information is contained in the segment.

TCP Communication TCP Session Termination Four steps when the client has no more data to send, it sends a segment with the FIN flag set the server responds with an ACK to acknowledge receipt of the FIN to terminate the session the server sends a FIN to the client to terminate the session the client responds with an ACK to acknowledge the FIN request from the server 7.2.1.3 TCP Connection, Establishment and Termination

TCP Communication TCP Session Termination

Reliability and Flow Control Ordered Delivery Sequence numbers are used to reassemble segments into original order 7.2.2.1 TCP Reliability – Ordered Delivery

Reliability and Flow Control Acknowledgement and Window Size The sequence number and acknowledgement number are used together to confirm receipt. 7.2.2.2 TCP Reliability –Acknowledgement and Window size Window Size - The amount of data that a source can transmit before an acknowledgement must be received.

Reliability and Flow Control Window Size and Acknowledgements 7.2.2.4 TCP Flow Control- Window Size and Acknowledgements

Reliability and Flow Control Congestion Avoidance 7.2.2.5 TCP Flow Control –Congestion Avoidance

UDP Communication UDP Low Overhead vs. Reliability Simple protocol that provides the basic transport layer functions Used by applications that can tolerate small loss of data Used by applications that cannot tolerate delay Used by Domain Name System (DNS) Simple Network Management Protocol (SNMP) Dynamic Host Configuration Protocol (DHCP) Trivial File Transfer Protocol (TFTP) IP telephony or Voice over IP (VoIP) Online games 7.2.3 UDP Communication 7.2.3.1 UDP Low Overhead vs. Reliability

UDP Communication Datagram Reassembly

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. 7.2.3.3 UDP Server Processes and Requests 7.2.3.4 UDP Client Processes

Animation Activity 7212 TCP server processes 7213 TCP connection establishment 7217 TCP session termination 7234 UDP client processes Activity 712.11 TCP/UDP characteristics 7118 TCP or UDP? 7219 TCP connection establishment/termination

Further Exploration … Introduction to Networks Chapter 7: Transport Layer Further Exploration …

TCP Communication TCP Three-Way Handshake – Step 1 Step 1: The initiating client requests a client-to-server communication session with the server. 7.2.1.4 TCP Three Way Handshake – Step 1

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. 7.2.1.5 TCP Three Way Handshake – Step 2

TCP Communication TCP Three-Way Handshake – Step 3 Step 3: The initiating client acknowledges the server-to-client communication session. 7.2.1.6 TCP Three Way Handshake – Step 3