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

Similar documents
CCNA Exploration Network Fundamentals. Chapter 04 OSI Transport Layer

OSI Transport Layer. objectives

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

4.0.1 CHAPTER INTRODUCTION

Chapter 4. TCP / UDP Transport Protocol Overview

TSIN02 - Internetworking

TSIN02 - Internetworking

CCNA R&S: Introduction to Networks. Chapter 7: The Transport Layer

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

TSIN02 - Internetworking

TSIN02 - Internetworking

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

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

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

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

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

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space provided.

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

Chapter 7. Local Area Network Communications Protocols

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

The Transmission Control Protocol (TCP)

Computer Networks. Lecture 9 Network and transport layers, IP, TCP, UDP protocols

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

CSCD 330 Network Programming

Communicating over the Network. Network Fundamentals. ITE PC v4.0 Chapter Cisco Systems, Inc. All rights reserved.

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

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

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

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

Part VI. Appendixes. Appendix A OSI Model and Internet Protocols Appendix B About the CD

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

Different Layers Lecture 20

NT1210 Introduction to Networking. Unit 10

TCP/IP THE TCP/IP ARCHITECTURE

CS 4390 Computer Networks. Transport Services and Protocols

05 Transmission Control Protocol (TCP)

Internet and Intranet Protocols and Applications

Unit 2.

TCP /IP Fundamentals Mr. Cantu

Data Transport over IP Networks

Transport layer Internet layer

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

IS370 Data Communications and Computer Networks. Chapter 5 : Transport Layer

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

Chapter 11. User Datagram Protocol (UDP)

ECE697AA Lecture 3. Today s lecture

Transport Layer. Chapter 3: Transport Layer

ECE 333: Introduction to Communication Networks Fall 2001

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

Internet Routing. Review of Networking Principles. What s the Internet: nuts and bolts view. Communication links

Internet Routing. Review of Networking Principles

Defining Networks with the OSI Model. Module 2

UDP, TCP, IP multicast

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

Different Layers Lecture 21

QUIZ: Longest Matching Prefix

TRANSMISSION CONTROL PROTOCOL. ETI 2506 TELECOMMUNICATION SYSTEMS Monday, 7 November 2016

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

Lecture 3: The Transport Layer: UDP and TCP

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

The Data Link Layer. 32 PART I Networking Basics

(Refer Slide Time: 1:09)

UNIT IV -- TRANSPORT LAYER

CSC 401 Data and Computer Communications Networks

Introduction to Protocols

Transport Layer (TCP/UDP)

UNIT IV TRANSPORT LAYER

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

4. The transport layer

CSCD 330 Network Programming

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

Transport Layer Protocols TCP

Networking Technologies and Applications

CMPE 80N: Introduction to Networking and the Internet

Lesson 5 TCP/IP suite, TCP and UDP Protocols. Chapter-4 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

CNBK Communications and Networks Lab Book: Purpose of Hardware and Protocols Associated with Networking Computer Systems

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

Internetworking Models The OSI Reference Model

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322

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

ECE 333: Introduction to Communication Networks Fall 2002

CSCE 463/612 Networks and Distributed Processing Spring 2018

Hands-On Ethical Hacking and Network Defense

OSI Layer OSI Name Units Implementation Description 7 Application Data PCs Network services such as file, print,

Network and Security: Introduction

Transport Layer Review

ETSF10 Internet Protocols Transport Layer Protocols

Networking Fundamentals

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

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

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

Chapter 6. What happens at the Transport Layer? Services provided Transport protocols UDP TCP Flow control Congestion control

Chapter 5 OSI Network Layer

TCP/IP Transport Layer Protocols, TCP and UDP

NWEN 243. Networked Applications. Layer 4 TCP and UDP

Time : 3 hours. Full Marks: 70. The figures in the margin indicate full marks. Answer from all the Groups are directed. Group A.

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

Chapter 3 Transport Layer

The Transport Layer. Part 1

ch02 True/False Indicate whether the statement is true or false.

Transcription:

Transport Layer TCP & UDP Week 7 Module : Computer Networks Lecturers : Lucy White lbwhite@wit.ie Office : 324 1

Purpose of the Transport Layer The Transport layer provides for the segmentation of data necessary to reassemble these pieces into the various communication streams. Its primary responsibilities to accomplish this are: Tracking the individual communication between applications on the source and destination hosts Segmenting data and managing each piece Reassembling the segments into application data Identifying the different applications In order to pass data streams to the proper applications, the Transport layer must identify the target application. Transport layer assigns an application an identifier called a port number. Each software process that needs to access the network is assigned a port number unique in that host.

Transport Layer Role and Services Supporting Reliable Communication

Transport Layer TCP -- a connection-oriented, reliable protocol; provides flow control by providing sliding windows, and reliability by providing sequence numbers and acknowledgments. TCP re-sends anything that is not received and supplies a virtual circuit between end-user applications. The advantage of TCP is that it provides guaranteed delivery of the segments. UDP -- connectionless and unreliable; although responsible for transmitting messages, no software checking for segment delivery is provided at this layer. The advantage that UDP provides is speed. Since UDP provides no acknowledgments, less traffic is sent across the network, making the transfer faster.

UDP Protocol

UDP Low Overhead vs. Reliability UDP is a simple protocol that provides the basic Transport layer functions. It is not connection-oriented It does not provide retransmission, sequencing, and flow control. This does not mean that applications that use UDP are always unreliable. It simply means that these functions are not provided by the Transport layer protocol and must be implemented elsewhere if required. key Application layer protocols that use UDP include: Domain Name System (DNS) Simple Network Management Protocol (SNMP) Dynamic Host Configuration Protocol (DHCP) Routing Information Protocol (RIP) Trivial File Transfer Protocol (TFTP) Online games If these applications used TCP, they may experience large delays while TCP detects data loss and retransmits data. These delays would be more detrimental to the application than small data losses.

Transmission Control Protocol (TCP) Flow Control provided by sliding window Reliability provided by Sequence numbers and Acknowledgement numbers 3-way Handshake used to establish TCP connection and initialise fields

TCP sequence numbers are used to reconstruct the data stream with segments placed in the correct order

Steps used by the TCP protocol in which sequence numbers and acknowledgement numbers are used to manage exchanges in a conversation 2

Mechanisms in TCP that manage the interrelationship between window size, data loss and congestion during a session

Port Numbers TCP and UDP are both transport protocols above the IP layer, which are interfaces between IP and upperlayer processes. TCP and UDP protocol port numbers are designed to distinguish multiple applications running on a single device from one another. Since many network applications may be running on the same machine, computers need something to make sure the correct software application on the destination computer gets the data packets from the source machine, and some way to make sure replies get routed to the correct application on the source computer. This is accomplished through the use of the TCP or UDP "port numbers". In the TCP and UDP header, there are "Source Port" and "Destination Port" fields which are used to indicate the message sending process and receiving process identities defined.

Port Numbers Application software developers have agreed to use the well-known port numbers that are defined in RFC 1700. Port numbers have the following assigned ranges: Numbers below 1023 are for public applications well known port numbers. Numbers above 1023 are unregulated.

The IANA assigns port numbers Well Known Ports (Numbers 0 to 1023) - These numbers are reserved for services and applications. HTTP (web server) POP3/SMTP (e-mail server) and Telnet. Registered Ports (Numbers 1024 to 49151) - These port numbers are assigned to user processes or applications. These processes are primarily individual applications that a user has chosen to install. When not used for a server resource, these ports may also be used dynamically selected by a client as its source port. Dynamic or Private Ports (Numbers 49152 to 65535) - Also known as Ephemeral Ports, these are usually assigned dynamically to client applications when initiating a connection. It is not very common for a client to connect to a service using a Dynamic or Private Port. Using both TCP and UDP Some applications may use both TCP and UDP. For example, the low overhead of UDP enables DNS to serve many client requests very quickly. Sometimes, however, sending the requested information may require the reliability of TCP.