TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 16 Stream Control Transmission.

Slides:



Advertisements
Similar presentations
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Advertisements

20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Umut Girit  One of the core members of the Internet Protocol Suite, the set of network protocols used for the Internet. With UDP, computer.
Camarillo / Schulzrinne / Kantola November 26th, 2001 SIP over SCTP performance analysis
Transmission Control Protocol (TCP)
Guide to TCP/IP, Third Edition
1 TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
TCP/IP Protocol Suite 1 Chapter 13 Upon completion you will be able to: Stream Control Transmission Protocol Be able to name and understand the services.
TCP/IP Protocol Suite 1 Chapter 13 Upon completion you will be able to: Stream Control Transmission Protocol Be able to name and understand the services.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 13 Introduction to the Transport.
UNIT 07 Process – to – Process Delivery: UDP,TCP and SCTP
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 17 Introduction to the Application.
Chapter 15 Transmission Control Protocol (TCP)
Stream Control Transmission Protocol 網路前瞻技術實驗室 陳旻槿.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
Process-to-Process Delivery:
Ch 23 Ameera Almasoud Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007.
Chapter 23 Process-to-Process Delivery UDP, TCP, and SCTP
Process-to-Process Delivery:
Process-to-Process Delivery:
Chapter 16 Stream Control Transmission Protocol (SCTP)
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 Chapter Internetworking Part 4 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
1 Transport Layer Computer Networks. 2 Where are we?
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP : Transmission Control Protocol Computer Network System Sirak Kaewjamnong.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 3 Transport Layer.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 2.5 Internetworking Chapter 25 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
Chapter 12 Transmission Control Protocol (TCP)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 12 Transmission Control Protocol (TCP)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Transmission Control Protocol (TCP)
23.1 Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1.0 SIGTRAN protocol. Objectives SIGTRAN application in R4 network SIGTRAN protocol structure and message introduction SIGTRAN signaling flow Upon completion.
Computer Networks23-1 PART 5 Transport Layer. Computer Networks23-2 Position of Transport Layer Responsible for the delivery of a message from one process.
NET 221D:COMPUTER NETWORKS FUNDAMENTALS Lecture : Transport Layer: Behrouz A. Forouzan” Data communications and Networking 1.
ECE 4110 – Internetwork Programming
Teacher:Quincy Wu Presented by: Ying-Neng Hseih
Stream Control Transmission Protocol
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 12 Transmission Control Protocol (TCP)
McGraw-Hill©2003 The McGraw-Hill Companies, Inc. Chapter 3 Transport Layer.
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).
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 23 Introduction To Transport Layer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
SCTP (Stream Control Transmission Protocol) Chanmin Park ( 박 찬 민 ) CARES lab.
1 Chapter 24 Internetworking Part 4 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
TCP/IP Protocol Suite 1 Chapter 12 Upon completion you will be able to: Transmission Control Protocol Be able to name and understand the services offered.
Ch23 Ameera Almasoud 1 Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007.
Chapter 9: Transport Layer
Instructor Materials Chapter 9: Transport Layer
Chapter 16 Stream Control Transmission Protocol (SCTP)
Transport Layer.
Process-to-Process Delivery, TCP and UDP protocols
PART 5 Transport Layer Computer Networks.
TCP Transport layer Er. Vikram Dhiman LPU.
Process-to-Process Delivery:
Introduction to the Transport Layer
Stream Control Transmission Protocol (SCTP)
Chapter 20 Network Layer: Internet Protocol
Process-to-Process Delivery:
CS4470 Computer Networking Protocols
Chapter 15 Transmission Control Protocol (TCP)
Process-to-process delivery UDP TCP SCTP
Process-to-Process Delivery: UDP, TCP
Transport Layer 9/22/2019.
Presentation transcript:

TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 16 Stream Control Transmission Protocol (SCTP)

TCP/IP Protocol Suite 2OBJECTIVES:  To introduce SCTP as a new transport-layer protocol.  To discuss SCTP services and compare them with TCP.  To list and explain different packet types used in SCTP and discuss the purpose and of each field in each packet.  To discuss SCTP association and explain different scenarios such as association establishment, data transfer, association termination, and association abortion.  To compare and contrast the state transition diagram of SCTP with the corresponding diagram of TCP.  To explain flow control, error control, and congestion control mechanism in SCTP and compare them with the similar mechanisms in TCP.

TCP/IP Protocol Suite 3 Chapter Outline 16.1 Introduction 16.2 SCTP Services 16.3 STCP Features 16.4 Packet Format 16.5 An SCTP Association 16.6 State Transition Diagram 16.7 Flow Control 16.8 Error Control 16.9 Congestion Control

TCP/IP Protocol Suite INTRODUCTION Stream Control Transmission Protocol (SCTP) is a new reliable, message-oriented transport-layer protocol. Figure 16.1 shows the relationship of SCTP to the other protocols in the Internet protocol suite. SCTP lies between the application layer and the network layer and serves as the intermediary between the application programs and the network operations.

TCP/IP Protocol Suite 5 Figure 16.1 TCP/IP Protocol suite

TCP/IP Protocol Suite 6 SCTP is a message-oriented, reliable protocol that combines the best features of UDP and TCP. Note

TCP/IP Protocol Suite SCTP SERVICES Before discussing the operation of SCTP, let us explain the services offered by SCTP to the application layer processes.

TCP/IP Protocol Suite 8 Topics Discussed in the Section Process-to-Process Communication Multiple Streams Multihoming Full-Duplex Communication Connection-Oriented Service Reliable Service

TCP/IP Protocol Suite 9

10 Figure 16.2 Multiple-stream concept

TCP/IP Protocol Suite 11 An association in SCTP can involve multiple streams. Note

TCP/IP Protocol Suite 12 Figure 16.3 Multihoming concept

TCP/IP Protocol Suite 13 SCTP association allows multiple IP addresses for each end. Note

TCP/IP Protocol Suite SCTP FEATURES Let us first discuss the general features of SCTP and then compare them with those of TCP.

TCP/IP Protocol Suite 15 Topics Discussed in the Section Transmission Sequence Number (TSN) Stream Identifier (SI) Stream Sequence Number (SSN) Packets Acknowledgment Number Flow Control Error Control Congestion Control

TCP/IP Protocol Suite 16 In SCTP, a data chunk is numbered using a TSN. Note Each data chunk must carry the corresponding TSN in its headera TSN.

TCP/IP Protocol Suite 17 To distinguish between different streams, SCTP uses an SI. Note

TCP/IP Protocol Suite 18 To distinguish between different data chunks belonging to the same stream, SCTP uses SSNs. Note

TCP/IP Protocol Suite 19 Figure 16.4 Comparison between a TCP segment and an SCTP packet The verification tag in SCTP is an association identifierTSN.

TCP/IP Protocol Suite 20 TCP has segments; SCTP has packets. Note

TCP/IP Protocol Suite 21 In SCTP, control information and data information are carried in separate chunks. (control chunk and data chunk) Note

TCP/IP Protocol Suite 22 Figure 16.5 Packet, data chunks, and streams

TCP/IP Protocol Suite 23 Data chunks are identified by three identifiers: TSN, SI, and SSN. TSN is a cumulative number identifying the association; SI defines the stream; SSN defines the chunk in a stream. Note

TCP/IP Protocol Suite 24 In SCTP, acknowledgment numbers are used to acknowledge only data chunks; control chunks are acknowledged by other control chunks if necessary. Note

TCP/IP Protocol Suite PACKET FORMAT In this section, we show the format of a packet and different types of chunks. Most of the information presented in this section will become clear later; this section can be skipped in the first reading or used only as the reference. An SCTP packet has a mandatory general header and a set of blocks called chunks. There are two types of chunks: control chunks and data chunks.

TCP/IP Protocol Suite 26 Topics Discussed in the Section General Header Chunks

TCP/IP Protocol Suite 27 Figure 16.6 SCTP packet format

TCP/IP Protocol Suite 28 In an SCTP packet, control chunks come before data chunks. Note

TCP/IP Protocol Suite 29 Figure 16.7 General header -The verification tag in SCTP is an association identifier.

TCP/IP Protocol Suite 30 Figure 16.8 Common layout of a chunk Chunks need to terminate on a 32-bit (4-byte) boundary (a multiple of 4 bytes) -Flag : defining the special flags that a particular chunk may need; each bit has a different meaning depending on the type of chunk -Length: in bytes.

TCP/IP Protocol Suite 31

TCP/IP Protocol Suite 32 The number of padding bytes is not included in the value of the length field. Note

TCP/IP Protocol Suite 33 Figure 16.9 Data chunk B(beginning) and E(end) bits together define the position of a chunk in a message that is fragmented B=1, E=0 : the first fragment B=0, E-1 : the last fragment B=0, E:0 : the middle fragment Protocol ID : defining the type of data; to be used by application

TCP/IP Protocol Suite 34 A DATA chunk cannot carry data belonging to more than one message, but a message can be split into several chunks. The data field of the DATA chunk must carry at least one byte of data, which means the value of length field cannot be less than 17. Note

TCP/IP Protocol Suite 35 Figure INIT chunk INIT Chunk is the first chunk sent by an end point to an association

TCP/IP Protocol Suite 36 -Initiation Tag : the same for all packets traveling in one direction in an association -A defines an initiation tag value, say x, which is used as the verification tag for all packet sent from B to A..

TCP/IP Protocol Suite 37 No other chunk can be carried in a packet that carries an INIT chunk. Note

TCP/IP Protocol Suite 38 Figure INIT ACK chunk

TCP/IP Protocol Suite 39 No other chunk can be carried in a packet that carries an INIT ACK chunk. Note

TCP/IP Protocol Suite 40 Figure COOKIE ECHO chunk

TCP/IP Protocol Suite 41 Figure COOKIE ACK

TCP/IP Protocol Suite 42 Figure SACK chunk

TCP/IP Protocol Suite 43 Figure HEARTBEAT and HEARTBEAT ACK chunk - Used for to periodically probe the condition of an association

TCP/IP Protocol Suite 44 Figure SHUTDOWN chunks - Used for closing an association

TCP/IP Protocol Suite 45 Figure ERROR chunk -Sent when an end point finds some error in received packet

TCP/IP Protocol Suite 46

TCP/IP Protocol Suite 47 Figure ABORT chunk -Sent when an end point finds fatal error and needs to abort the association

TCP/IP Protocol Suite AN SCTP ASSOCIATION SCTP, like TCP, is a connection-oriented protocol. However, a connection in SCTP is called an association to emphasize multihoming.

TCP/IP Protocol Suite 49 Topics Discussed in the Section Association Establishment Data Transfer Association Termination Association Abortion

TCP/IP Protocol Suite 50 A connection in SCTP is called an association. Note

TCP/IP Protocol Suite 51 Figure Four-way handshaking -Pack the information and send it back to the client

TCP/IP Protocol Suite 52 No other chunk is allowed in a packet carrying an INIT or INIT ACK chunk. A COOKIE ECHO or a COOKIE ACK chunk can carry data chunks. Note

TCP/IP Protocol Suite 53 In SCTP, only data chunks consume TSNs; data chunks are the only chunks that are acknowledged. Note

TCP/IP Protocol Suite 54 Figure Simple data transfer

TCP/IP Protocol Suite 55 The acknowledgment in SCTP defines the cumulative TSN, the TSN of the last data chunk received in order. Note

TCP/IP Protocol Suite 56 Figure Association termination -Unlike TCP, SCTP does not allow a “half- closed” association.

TCP/IP Protocol Suite 57 Figure Association abortion -May with to abort the association if there is a problem in the process itself.

TCP/IP Protocol Suite STATE TRANSITION DIAGRAM To keep track of all the different events happening during association establishment, association termination, and data transfer, the SCTP software, like TCP, is implemented as a finite state machine. Figure shows the state transition diagram for both client and server.

TCP/IP Protocol Suite 59 Topics Discussed in the Section Scenarios

TCP/IP Protocol Suite 60 Figure State transition diagram

TCP/IP Protocol Suite 61

TCP/IP Protocol Suite 62 Figure A common scenario of state

TCP/IP Protocol Suite 63 Figure Simultaneous open

TCP/IP Protocol Suite 64 Figure Simultaneous close

TCP/IP Protocol Suite FLOW CONTROL Flow control in SCTP is similar to that in TCP. In TCP, we need to deal with only one unit of data, the byte. In SCTP, we need to handle two units of data, the byte and the chunk. The values of rwnd and cwnd are expressed in bytes; the values of TSN and acknowledgments are expressed in chunks.

TCP/IP Protocol Suite 66 Topics Discussed in the Section Receiver Site Sender Site A Scenario

TCP/IP Protocol Suite 67 Figure Flow control, receiver site

TCP/IP Protocol Suite 68 Figure Flow control, sender site

TCP/IP Protocol Suite 69 Figure Flow control scenario

TCP/IP Protocol Suite ERROR CONTROL SCTP, like TCP, is a reliable transport-layer protocol. It uses a SACK chunk to report the state of the receiver buffer to the sender. Each implementation uses a different set of entities and timers for the receiver and sender sites. We use a very simple design to convey the concept to the reader.

TCP/IP Protocol Suite 71 Topics Discussed in the Section Receiver Site Sender Site Sending Data Chunks Generating SANK Chunks

TCP/IP Protocol Suite 72 Figure Error-control receiver site

TCP/IP Protocol Suite 73 Figure Error control, sender site

TCP/IP Protocol Suite 74 Figure New state at the sender site after receiving a SACK chunk

TCP/IP Protocol Suite CONGESTION CONTROL SCTP, like TCP, is a transport layer protocol with packets subject to congestion in the network. The SCTP designers have used the same strategies we described for congestion control in Chapter 15 for TCP. SCTP has slow start, congestion avoidance, and congestion detection phases. Like TCP, SCTP also uses fast retransmission and fast recovery.

TCP/IP Protocol Suite 76 Topics Discussed in the Section Congestion Control and Multihoming Explicit Congestion Notification