ETSF10 Internet Protocols Transport Layer Protocols

Similar documents
ETSF10 Internet Protocols Transport Layer Protocols

ETSF05/ETSF10 Internet Protocols Transport Layer Protocols

UNIT IV TRANSPORT LAYER

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP

ETSF10 Internet Protocols Routing on the Internet

TSIN02 - Internetworking

ETSF10 Internet Protocols Network Layer Protocols

The Transmission Control Protocol (TCP)

ECE 333: Introduction to Communication Networks Fall 2001

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP 23.1

UNIT IV -- TRANSPORT LAYER

TSIN02 - Internetworking

TSIN02 - Internetworking

Just enough TCP/IP. Protocol Overview. Connection Types in TCP/IP. Control Mechanisms. Borrowed from my ITS475/575 class the ITL

Washington State University CptS 455 Sample Final Exam (corrected 12/11/2011 to say open notes) A B C

TSIN02 - Internetworking

Advanced Network Design

Transport Over IP. CSCI 690 Michael Hutt New York Institute of Technology

Transport Layer. The transport layer is responsible for the delivery of a message from one process to another. RSManiaol

CSE 461 Module 10. Introduction to the Transport Layer

Intro to LAN/WAN. Transport Layer

ECE697AA Lecture 3. Today s lecture

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

Q23-5 In a network, the size of the receive window is 1 packet. Which of the follow-ing protocols is being used by the network?

Lecture 11. Transport Layer (cont d) Transport Layer 1

Network Management & Monitoring

Lecture 20 Overview. Last Lecture. This Lecture. Next Lecture. Transport Control Protocol (1) Transport Control Protocol (2) Source: chapters 23, 24

Transport Layer Protocols TCP

Guide To TCP/IP, Second Edition UDP Header Source Port Number (16 bits) IP HEADER Protocol Field = 17 Destination Port Number (16 bit) 15 16

Protocol Overview. TCP/IP Performance. Connection Types in TCP/IP. Resource Management. Router Queues. Control Mechanisms ITL

UNIT 2 TRANSPORT LAYER

TCP over wireless links

Congestion Avoidance and Control. Rohan Tabish and Zane Ma

Introduction to Networking. Operating Systems In Depth XXVII 1 Copyright 2017 Thomas W. Doeppner. All rights reserved.

Transport protocols. Transport Layer 3-1

Department of Computer and IT Engineering University of Kurdistan. Transport Layer. By: Dr. Alireza Abdollahpouri

Lecture 4: Congestion Control

"Filling up an old bath with holes in it, indeed. Who would be such a fool?" "A sum it is, girl," my father said. "A sum. A problem for the mind.

OSI Transport Layer. Network Fundamentals Chapter 4. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

Topics. TCP sliding window protocol TCP PUSH flag TCP slow start Bulk data throughput

UDP and TCP. Introduction. So far we have studied some data link layer protocols such as PPP which are responsible for getting data

Chapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control

Computer Networks. Homework #4: No Grading

Announcements. No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

Transport Layer PREPARED BY AHMED ABDEL-RAOUF

PLEASE READ CAREFULLY BEFORE YOU START

Chapter 24. Transport-Layer Protocols

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

OSI Transport Layer. objectives

Basic Reliable Transport Protocols

No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

Lecture 2 Communication services The Trasport Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Page 1. Goals for Today" Discussion" Example: Reliable File Transfer" CS162 Operating Systems and Systems Programming Lecture 11

Congestion Control in Communication Networks

UDP, TCP, IP multicast

TCP/IP Performance ITL

23-3 TCP. Topics discussed in this section: TCP Services TCP Features Segment A TCP Connection Flow Control Error Control 23.22

6.033 Lecture 12 3/16/09. Last time: network layer -- how to deliver a packet across a network of multiple links

CS4700/CS5700 Fundamentals of Computer Networks

Transport Protocols & TCP TCP

Direct Link Communication I: Basic Techniques. Data Transmission. ignore carrier frequency, coding etc.

ADVANCED COMPUTER NETWORKS

05 Transmission Control Protocol (TCP)

NWEN 243. Networked Applications. Layer 4 TCP and UDP

COMP/ELEC 429/556 Introduction to Computer Networks

Outline 9.2. TCP for 2.5G/3G wireless

Chapter 13 TRANSPORT. Mobile Computing Winter 2005 / Overview. TCP Overview. TCP slow-start. Motivation Simple analysis Various TCP mechanisms

Computer Communication Networks Midterm Review

Application. Transport. Network. Link. Physical

5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A

CS457 Transport Protocols. CS 457 Fall 2014

Example questions for the Final Exam, part A

CS 43: Computer Networks. 19: TCP Flow and Congestion Control October 31, Nov 2, 2018

Advanced Computer Networks

Applied Networks & Security

TCP/IP. Chapter 5: Transport Layer TCP/IP Protocols

Exercises TCP/IP Networking With Solutions

MIDTERM EXAMINATION #2 OPERATING SYSTEM CONCEPTS U N I V E R S I T Y O F W I N D S O R S C H O O L O F C O M P U T E R S C I E N C E

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

Network Technology 1 5th - Transport Protocol. Mario Lombardo -

Transport layer. UDP: User Datagram Protocol [RFC 768] Review principles: Instantiation in the Internet UDP TCP

Transport Protocols and TCP

Transport layer. Review principles: Instantiation in the Internet UDP TCP. Reliable data transfer Flow control Congestion control

Transport Protocols and TCP: Review

Lecture 3: The Transport Layer: UDP and TCP

Problem 7. Problem 8. Problem 9

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 30, 2018

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 25, 2018

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

CSE 4215/5431: Mobile Communications Winter Suprakash Datta

CS519: Computer Networks. Lecture 5, Part 1: Mar 3, 2004 Transport: UDP/TCP demux and flow control / sequencing

TCP based Receiver Assistant Congestion Control

COMP 431 Internet Services & Protocols. Transport Layer Protocols & Services Outline. The Transport Layer Reliable data delivery & flow control in TCP

TCP: Flow and Error Control

TCP and Congestion Control (Day 1) Yoshifumi Nishida Sony Computer Science Labs, Inc. Today's Lecture

Chapter 3 Review Questions

Department of Electrical and Information Technology ETSF10 Internet Protocols Home / Laboratory Project II

Chapter 3 outline. 3.5 Connection-oriented transport: TCP. 3.6 Principles of congestion control 3.7 TCP congestion control

Transport Layer. <protocol, local-addr,local-port,foreign-addr,foreign-port> ϒ Client uses ephemeral ports /10 Joseph Cordina 2005

Transcription:

ETSF10 Internet Protocols Transport Layer Protocols 2012, Part 2, Lecture 2.1 Kaan Bür, Jens Andersson

Transport Layer Protocols Process-to-process delivery [ed.4 ch.23.1] [ed.5 ch.24.1] Transmission Control Protocol (TCP) [ed.4 ch.23.3] [ed.5 ch.24.3.1-8] Special Topic: Network performance [ed.4 ch.3.6] [ed.5 ch.3.6] Congestion control [ed.4 ch.24.2-4] [ed.5 ch.18.3+24.3.9] 2

Transport Layer Communication between applications Process-to-process delivery Client/server concept Local host Remote host 3

Process-to-Process Delivery Same host, multiple applications 4

Addressing in TCP/IP 5

Logical and port addresses 6

Addressing the processes Port numbers Organised by a central authority (IANA) 7

IP addresses and port numbers 8

Socket addresses Combination of IP address & port number Unique for each process on the host 9

Transmission Control Protocol (TCP) Connection-oriented Sessions Byte stream service Reliable Flow control Error control Retransmissions Congestion control 10

TCP header format 11

Exercise: Fill in the header. 053200170000123400004321500207FF... 0x0532 0x0017 0x00001234 0x00004321 0x5 0x002 0x07FF 12

Sending and receiving buffers 13

... turned into Segments Sequence numbers 14

TCP operation Connection establishment Three-way handshake Data transfer Flow control ( congestion control) Error control Connection termination Three-way handshake Half-close 15

Connection establishment 16

Data transfer 17

Connection termination 18

Half-close 19

Error control Reliable transport layer service Provided by TCP 20

Error control in TCP Checksum Acknowledgement ACK recieved data Retransmission After time-out RTO = f(rtt) After 3 duplicate ACK Fast retransmission 21

Normal operation 22

Lost segment 23

Fast retransmission 24

See you in 15 :) After the break Network performance Congestion control 25

Network performance Bandwidth Bits per second (capacity) Throughput Efficiency, always less than capacity (<1) Latency (Delay) Transmission, propagation, processing, queueing Jitter real-time data! 26

Exercise: Find the delays. Given: Packet size 1 MB Bandwidth 200 Kbps Propagation speed 2x10 8 m/s Link length 2.000 km Transmission delay? Propagation delay? = = = 8 10 200 10 / = 2 10 2 10 / 27

Bandwidth-delay product How much data can fill the link Important for congestion avoidance Delay = Round Trip Time (RTT) Burst = 2 * bandwidth * delay 28

Bandwidth-delay product bandwidth: 5 bps, delay: 5s bandwidth x delay = 25 bits 29

Delay and throughput Related to network load Normal operation vs. congestion 30

Congestion control Avoiding and eliminating congestion Open-loop = proactive Closed-loop = reactive 31

Closed-loop congestion control (1) Backpressure 32

Closed-loop congestion control (2) Choke packet 33

Congestion Control in TCP Congestion window Sliding window (byte-oriented) Variable size Hybrid impl. (Go-back-N & Selective repeat) Slow start (state) Congestion avoidance (state) Congestion detection (event to act upon) 34

Congestion window 35

Slow start: Exponential increase 36

Congestion avoidance: Additive increase 37

Reaction to congestion detection Detection by time-out Probably both channels congested New slow start phase Detection by three ACK Probably sending channel congested only New congestion avoidance phase 38

TCP congestion policy: Summary 39

TCP congestion policy: Example 40

Coming Up Special Topic: Quality of Service (QoS) [ed.4 ch.24.1+5-6] [ed.5 ch.30.1-2] Real-time interactive audio/video [ed.4 ch.29.5] [ed.5 ch.28.3.3] RTP/RTCP, UDP [ed.4 ch.29.6-7+23.2] [ed.5 ch.28.4.1-3+24.2] Special Topic: Voice over IP (VoIP) [ed.4 ch.29.8] [ed.5 ch.28.4.4-5] 41