Chapter 7 – Transport Layer Protocols

Slides:



Advertisements
Similar presentations
Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
Advertisements

CISCO NETWORKING ACADEMY Chabot College ELEC Transport Layer (4)
Guide to TCP/IP, Second Edition1 Guide To TCP/IP, Second Edition Chapter 5 Transport Layer TCP/IP Protocols.
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.
Transmission Control Protocol (TCP)
Intermediate TCP/IP TCP Operation.
Guide to TCP/IP, Third Edition
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.
Fundamentals of Computer Networks ECE 478/578 Lecture #20: Transmission Control Protocol Instructor: Loukas Lazos Dept of Electrical and Computer Engineering.
UDP & TCP Where would we be without them!. UDP User Datagram Protocol.
Transmission Control Protocol (TCP) Basics
CS3505 The Internet and Info Hiway transport layer protocols : TCP/UDP.
Transport Layer – TCP (Part1) Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Chapter 7: Objectives Part 1
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.
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:
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
UNIT 07 Process – to – Process Delivery: UDP,TCP and SCTP
1 CCNA 2 v3.1 Module Intermediate TCP/IP CCNA 2 Module 10.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
Chapter 4 OSI Transport Layer
Gursharan Singh Tatla Transport Layer 16-May
What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host IP treats a computer as an endpoint of communication Best.
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 Semester 2 Module 10 Intermediate TCP/IP Yuda college of business James Chen
1 Chapter Overview TCP/IP DoD model. 2 Network Layer Protocols Responsible for end-to-end communications on an internetwork Contrast with data-link layer.
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.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
TCP: A Closer Look Transmission Control Protocol.
TCP : Transmission Control Protocol Computer Network System Sirak Kaewjamnong.
University of the Western Cape Chapter 12: The Transport Layer.
Routers and Routing Basics CCNA 2 Chapter 10.
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
11 TRANSPORT LAYER PROTOCOLS Chapter 6 TCP and UDP SPX and NCP.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
Networking Basics CCNA 1 Chapter 11.
Institute of Technology Sligo - Dept of Computing Chapter 12 The Transport Layer.
Chapter 24 Transport Control Protocol (TCP) Layer 4 protocol Responsible for reliable end-to-end transmission Provides illusion of reliable network to.
Hour 6 The Transport Layer 1. What You'll Learn in This Hour Connections oriented and connectionless protocols Ports and sockets TCP UDP 2.
Transport Protocols.
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
01_NF_Ch04 – OSI Transport Layer ( 傳輸層 ) Source: CCNA Exploration.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
1 Computer Communication & Networks Lecture 23 & 24 Transport Layer: UDP and TCP Waleed Ejaz
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
Process-to-Process Delivery:
3. END-TO-END PROTOCOLS (PART 1) Rocky K. C. Chang Department of Computing The Hong Kong Polytechnic University 22 March
Chapter 9: Transport Layer
Instructor Materials Chapter 9: Transport Layer
TCP Transport layer Er. Vikram Dhiman LPU.
Process-to-Process Delivery:
TCP and UDP Layer 3 of the TCP/IP protocol stack. Transport layer
CPEG514 Advanced Computer Networkst
Chapter 5 Transport Layer Introduction
PART 5 Transport Layer.
Chapter 5 Transport Layer Introduction
Process-to-Process Delivery: UDP, TCP
Transport Layer 9/22/2019.
Presentation transcript:

Chapter 7 – Transport Layer Protocols TCP and UDP SPX and NCP

TCP Characteristics TCP is the acronym for Transmission Control Protocol. TCP is Connection oriented Reliable It is used to carry large amounts of data. It provides services that Internet Protocol (IP) lacks. TCP is defined in Request for Comments (RFC) 793. (www.ietf.org)

TCP Functions Guaranteed delivery Packet acknowledgment Flow control Error detection Error correction

Segmentation Occurs when the Application layer Protocol passes more data to TCP than can fit in a single packet. TCP splits application layer messages into datagram-sized segments and encapsulates each segment with its own header. The collection of segments is called a sequence.

Segmentation (Continue) The destination system reassembles the segments into the original sequence. The segmentation process is completely separate from the network layer fragmentation process.

The TCP Message Format

Port Numbers and Sockets A port number refers to a specific application or process running on a computer. A socket is a combination of a port number and an IP address. The Internet Assigned Numbers Authority (IANA) assigns well-known port numbers to common Internet applications.

Port Numbers and Sockets The most commonly used port numbers are listed in the Services file on computers running TCP/IP. (page 184-185, table 7.1) Clients choose ephemeral (momentary) port numbers at random.

Control Bits Control Bit Function URG ACK PSH RST SYN FIN Indicates that the segment contains urgent data ACK Indicates that the message acknowledges a previously transmitted segment PSH Indicates that the receiving system should forward the message immediately rather than wait for the rest of the sequence RST Resets the TCP connection and discards the segments received so far SYN Synchronizes the Sequence Number values for both systems FIN Terminates a TCP connection

Three-Way Handshake Functions (Establishing a Connection) Verify that both computers are operating and ready to receive data Exchange initial sequence numbers (ISNs) Exchange maximum segment sizes (MSSs) Exchange port numbers

Three-Way Handshake Messages TCP Connection Three-Way Handshake Messages

Transmitting Data Information needed to transmit data: Port number Sequence number MSS

Packet Acknowledgment TCP implements packet acknowledgment by using the Sequence Number and Acknowledgment Number fields. The Sequence Number field specifies the number of bytes transmitted. The Acknowledgment Number field specifies the number of bytes received.

Delayed Acknowledgments TCP systems do not have to individually acknowledge every packet they receive. The frequency of acknowledgment is left up to the individual TCP implementation.

Positive and Negative Acknowledgments With positive acknowledgment with retransmission, TCP systems acknowledge only the number of bytes they have received correctly. With negative acknowledgment, the computer specifies the information that it has not received correctly. All data beginning with the failed segment is retransmitted. Messages that are not acknowledged are retransmitted.

TCP Error Detection TCP provides the only end-to-end error detection for the application layer data. TCP computes a checksum based on The TCP header The application layer information in the TCP Data field A pseudo-header created from some of the fields in the IP header (pseudo-header ensures datagrams are delivered to the correct computer and correct transport layer)

TCP Checksum Value

Flow Control Flow control allows a receiving system to control the transmission rate of the sending system. Each computer has a buffer for storing incoming packets. When a computer transmits too quickly, the buffer on the receiving system can fill up, causing packets to be dropped. TCP uses the Window field in its acknowledgment messages to implement flow control. The Window value indicates how much buffer space the receiving system has available. The sending system is permitted to transmit only the number of bytes specified in the Window field.

Sliding Window Technique

Terminating the Connection

UDP Characteristics UDP is the acronym for User Datagram Protocol. UDP is defined in RFC 768. It is a connectionless protocol. It is used primarily for brief request/reply transactions.

The UDP Message Format

SPX Characteristics SPX is the acronym for Sequenced Packet Exchange. SPX is a connection-oriented protocol. It provides packet acknowledgment and flow control. It is used infrequently by NetWare. Messages are carried in Internet Packet Exchange (IPX) datagrams.

The SPX Message Format

NCP Characteristics NCP is the acronym for NetWare Core Protocol. NCP is used for NetWare file sharing traffic. It is much more frequently used than SPX. Messages are carried in IPX datagrams. NCP requires an acknowledgment for each transmitted message.

The NCP Request Message Format

The NCP Reply Message Format

Chapter Summary TCP UDP Connection-oriented protocol Used to carry relatively large amounts of data Provides guaranteed delivery, packet acknowledgment, flow control, error detection, and error correction UDP Connectionless protocol Essentially a subset of TCP Generates less overhead than TCP does Used primarily for brief transactions consisting of a single request and a single reply

Chapter Summary (Cont.) SPX Connection-oriented protocol Provides packet acknowledgment and flow control, much like TCP NCP Used for NetWare file sharing traffic, among many other functions Used much more frequently than SPX Requires an acknowledgment for each message transmitted