CSEN 503 Introduction to Communication Networks. Mervat AbuElkheir Hana Medhat Ayman Dayf. ** Slides are attributed to J. F.

Similar documents
CSC 401 Data and Computer Communications Networks

Chapter 3 Transport Layer

Chapter 3 Transport Layer

CMSC 332 Computer Networks Transport Layer

CS 4390 Computer Networks. Transport Services and Protocols

CSC 4900 Computer Networks: Transport Layer

Transport Layer. Chapter 3: Transport Layer

Input ports, switching fabric, output ports Switching via memory, bus, crossbar Queueing, head-of-line blocking

Chapter III: Transport Layer

CMPE 80N: Introduction to Networking and the Internet

CSCD 330 Network Programming

CSCE 463/612 Networks and Distributed Processing Spring 2018

Suprakash Datta. Office: CSEB 3043 Phone: ext Course page:

CSC358 Week 4. Adapted from slides by J.F. Kurose and K. W. Ross. All material copyright J.F Kurose and K.W. Ross, All Rights Reserved

Lecture 9: Transpor Layer Overview and UDP

Application. Transport. Network. Link. Physical

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 7

CS 3516: Computer Networks

Development of reliable protocol Sliding window protocols. C = channel capacity in bps I = interrupt/service time + propagation delay

COSC4377. Useful Linux Tool: screen

CSE 4213: Computer Networks II

Announcement. Homework 1 due last night, how is that? Will discuss some problems in the lecture next week

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Chapter 3 outline. Transport services and protocols

Transport Layer Overview

The Transmission Control Protocol (TCP)

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

Different Layers Lecture 20

The Transport Layer Multiplexing, Error Detection, & UDP

Chapter 3: Transport Layer

CSCD 330 Network Programming

Transport layer. Our goals: Understand principles behind transport layer services: Learn about transport layer protocols in the Internet:

Chapter 2: outline. 2.6 P2P applications 2.7 socket programming with UDP and TCP

Transport layer: Outline

Chapter 6 Transport Layer

Chapter 3 Transport Layer

Lecture 5. Transport Layer. Transport Layer 1-1

Chapter 7 Transport Layer. 7.0 Introduction 7.1 Transport Layer Protocols 7.2 TCP and UDP 7.3 Summary

CC451 Computer Networks

CSE 3214: Computer Network Protocols and Applications Transport Layer (Part 2) Chapter 3 outline. UDP checksum. Port numbers

OSI Transport Layer. objectives

Internet and Intranet Protocols and Applications

End-to-End Protocols: UDP and TCP. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Chapter 3: Transport Layer Part A

TSIN02 - Internetworking

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

Different Layers Lecture 21

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

Transport services and protocols. Chapter 3 outline. Internet transport-layer protocols Chapter 3 outline. Multiplexing/demultiplexing

Introduction to the Transport Layer

TSIN02 - Internetworking

TDTS06: Computer Networks

Transport Layer TCP & UDP Week 7. Module : Computer Networks Lecturers : Lucy White Office : 324

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

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

NT1210 Introduction to Networking. Unit 10

Chapter 3 Transport Layer

TSIN02 - Internetworking

TSIN02 - Internetworking

Computer Networking: A Top Down Approach

Lecture 07 The Transport Layer (TCP & UDP) Dr. Anis Koubaa

CS 43: Computer Networks. 15: Transport Layer & UDP October 5, 2018

Chapter 3 Transport Layer

Internet transport-layer protocols. Transport services and protocols. Sending and receiving. Connection-oriented (TCP) Connection-oriented

CSC 8560 Computer Networks: Transport Layer

Chapter 6. The Transport Layer. Transport Layer 3-1

Announcements Computer Networking. Outline. Transport Protocols. Transport introduction. Error recovery & flow control. Mid-semester grades

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

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

LECTURE 3 - TRANSPORT LAYER

CS 640: Introduction to Computer Networks. Today s Lecture. Page 1

Transport layer Internet layer

Computer Communication Networks Midterm Review

CS101 Lecture 6: Internetworking: Internet Protocol, IP Addresses, Routing, DNS. John Magee 8 July Some images courtesy Wikimedia Commons

TCP/IP Overview. Basic Networking Concepts. 09/14/11 Basic TCP/IP Networking 1

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

TCP/IP THE TCP/IP ARCHITECTURE

Introduction to computer networking

Connectionless and Connection-Oriented Protocols OSI Layer 4 Common feature: Multiplexing Using. The Transmission Control Protocol (TCP)

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

CS3600 SYSTEMS AND NETWORKS

Lecture (11) OSI layer 4 protocols TCP/UDP protocols

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

CSEN 503 Introduction to Communication Networks. Mervat AbuElkheir Hana Medhat Ayman Dayf. **Slides are attributed to J. F. Kurose

Lecture 4: The Transport Layer and UDP

Foundations of Telematics

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

CCNA Exploration Network Fundamentals. Chapter 04 OSI Transport Layer

Internet Applications and the Application Layer Material from Kurose and Ross, Chapter 2: The Application Layer

Distributed Systems. Networking Slides courtesy Kurose & Ross

Announcements Computer Networking. What was hard. Midterm. Lecture 16 Transport Protocols. Avg: 62 Med: 67 STD: 13.

CS457 Transport Protocols. CS 457 Fall 2014

ECE697AA Lecture 3. Today s lecture

CCNA 1 v3.11 Module 11 TCP/IP Transport and Application Layers

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Protocoles et Interconnexions

Outline. Inter-Process Communication. IPC across machines: Problems. CSCI 4061 Introduction to Operating Systems

CS4700/CS5700 Fundamentals of Computer Networks

Transport Layer (TCP/UDP)

CS 3516: Advanced Computer Networks

Module 2 Overview of Computer Networks

Transcription:

CSEN 503 Introduction to Communication Networks Mervat AbuElkheir Hana Medhat Ayman Dayf ** Slides are attributed to J. F. Kurose

Chapter 3 outline Transport-layer services Multiplexing and demultiplexing Connectionless trans UDP Connection-oriented trans TCP segment structure reliable data transfer flow control Principles of reliable data transfer connection management Principles of congestion control

Transport services and protocols provide logical communication between app processes running on different hosts transport protocols run in end systems send side: breaks app messages into segments, passes to layer receive side: reassembles segments into messages, passes to app layer more than one transport protocol available to apps Internet: TCP and UDP transport transport

Transport vs. layer layer: logical communication between hosts transport layer: logical communication between processes relies on, enhances, layer services Household analogy: 12 kids sending letters to 12 kids processes = kids app messages = letters in envelopes hosts = houses transport protocol = Ann and Bill -layer protocol = postal service

Internet transport-layer protocols reliable, in-order delivery (TCP) congestion control flow control connection setup transport unreliable, unordered delivery: UDP no-frills extension of besteffort IP services not available: delay guarantees transport bandwidth guarantees

Multiplexing/demultiplexing Demultiplexing at rcv host: delivering received segments to correct socket = socket = process Multiplexing at send host: gathering data from multiple sockets, enveloping data with header (later used for demultiplexing) P3 P1 transport transport link link host 1 host 2 P2 P4 transport link host 3

How demultiplexing works host receives IP datagrams each datagram has source IP address, destination IP address each datagram carries 1 transport-layer segment each segment has source, destination port number host uses IP addresses & port numbers to direct segment to appropriate socket 32 bits source port # dest port # other header fields data (message) TCP/UDP segment format

Choosing Port Numbers UDP TCP Source 26145 Src IP: C Dest. 80 Dest. IP: B Source 19157 Dest. 46428 Source 7532 Dest. 80 Src IP: C Dest. IP: B Source 46428 Dest. 19157 Source 26145 Dest. 80 Src IP: A Dest. IP: B Server is always listening on the well-known port number Client chooses a source port number and inserts it in the header. The destination port number is the wellknown port number In the reply, the server inserts the port number received in the packet in the destination port number Server is always listening on the well-known port number Client chooses a source port number and inserts it in the header. The destination port number is the well-known port number The server creates a socket for the client that is identifiable via the combination of src IP and src port address

UDP: User Datagram Protocol [RFC 768] no frills, bare bones Internet transport protocol best effort service, UDP segments may be: lost delivered out of order to app connectionless: no handshaking between UDP sender, receiver each UDP segment handled independently of others Why is there a UDP? no connection establishment (which can add delay) simple: no connection state at sender, receiver small segment header no congestion control: UDP can blast away as fast as desired

UDP: more often used for streaming multimedia apps loss tolerant rate sensitive other UDP uses DNS SNMP (Simple Net Management Protocol) reliable transfer over UDP: add reliability at layer -specific error recovery! Length, in bytes of UDP segment, including header 32 bits source port # dest port # length Application data (message) checksum UDP segment format

Examples of Transport-layer Protocols used by Applications Application Application-Layer Protocol Underlying Transport Protocol E-mail SMTP TCP Remote terminal access Telnet TCP Web HTTP TCP File transfer FTP TCP Remote file server NFS Typically UDP Streaming multimedia Typically proprietary UDP or TCP Internet telephony Typically proprietary UDP or TCP Network management SNMP Typically UDP Routing protocol RIP Typically UDP Name translation DNS Typically UDP