ICE 302 T RANSPORT LAYER Md. Asif Hossain Term # 2 Lecture # 1 1 Thanks to A. B. Forouzan.

Slides:



Advertisements
Similar presentations
Transport Layer3-1 Transport Overview and UDP. Transport Layer3-2 Goals r Understand transport services m Multiplexing and Demultiplexing m Reliable data.
Advertisements

Introduction 1-1 Chapter 3 Transport Layer Intro and Multiplexing Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.
CPSC 441: Intro, UDP1 Transport Layer Instructor: Carey Williamson Office: ICT Class Location:
Computer Communication Digital Communication in the Modern World Transport Layer Multiplexing, UDP
Chapter 3: Transport Layer
Introduction to Transport Layer. Transport Layer: Motivation A B R1 R2 r Recall that NL is responsible for forwarding a packet from one HOST to another.
Transport Layer3-1 Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable data transfer.
Lecture 8 Chapter 3 Transport Layer
CPSC 441: Intro, UDP1 Instructor: Anirban Mahanti Office: ICT Class Location: ICT 121 Lectures: MWF 12:00 – 12:50 Notes.
Ch 23 1 Based on Data Communications and Networking, 4th Edition. by Behrouz A. Forouzan, McGraw-Hill Companies, Inc., 2007 Ameera Almasoud.
Some slides are in courtesy of J. Kurose and K. Ross Review of Previous Lecture Electronic Mail: SMTP, POP3, IMAP DNS Socket programming with TCP.
8-1 Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable data transfer m flow.
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.
Review: –What is AS? –What is the routing algorithm in BGP? –How does it work? –Where is “policy” reflected in BGP (policy based routing)? –Give examples.
Hyung-Min Lee©Networking Lab., 2001 Chapter 11 User Datagram Protocol (UDP)
Data Communications and Computer Networks Chapter 3 CS 3830 Lecture 12 Omar Meqdadi Department of Computer Science and Software Engineering University.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 04_a Transport Protocols - UDP Instructor: Dr. Li-Chuan Chen Date: 09/22/2003 Based in part upon slides.
CS 1652 The slides are adapted from the publisher’s material All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Jack Lange.
Network LayerII-1 RSC Part III: Transport Layer 1. Basic Concepts Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are,
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 All.
Transport Layer and UDP Tahir Azim Ref:
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Part.
Chapter 3 Transport Layer
1 Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Layer3-1 Chapter 3 Transport Layer These ppt slides are originally from the Kurose and Ross’s book. But some slides are deleted and added for.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A.
Transport Layer3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose, Keith Ross Addison-Wesley,
Transport Layer1 Ram Dantu (compiled from various text books)
1 Transport Layer Lecture 7 Imran Ahmed University of Management & Technology.
Lecture91 Administrative Things r Return homework # 1 r Review some problems in homework # 1 r Questions about grading? Yona r WebCT for CSE245 is working!
Transport Layer3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July A.
Transport Layer 3-1 Chapter 3 Outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP.
Chapter 3: Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable data transfer.
Transport Layer3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross Addison-Wesley,
1 Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Computer Networks23-1 PART 5 Transport Layer. Computer Networks23-2 Position of Transport Layer Responsible for the delivery of a message from one process.
MULTIPLEXING/DEMULTIPLEXING, CONNECTIONLESS TRANSPORT.
1 Kyung Hee University Chapter 11 User Datagram Protocol.
Transport Layer3-1 Chapter 3: Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable.
Application Layer 2-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
Chapter 14 User Datagram Protocol (UDP) Introduction  Responsibilities of Transport Layer to create a process-to-process communication l using.
Introduction 1-1 source application transport network link physical HtHt HnHn M segment HtHt datagram destination application transport network link physical.
2: Transport Layer 11 Transport Layer 1. 2: Transport Layer 12 Part 2: Transport Layer Chapter goals: r understand principles behind transport layer services:
Process-to-Process Delivery:
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
CSEN 404 Transport Layer I Amr El Mougy Lamia Al Badrawy.
02/10/20161 Chapter 3 Transport layer Erman Hamid.
Chapter 3 Transport Layer
Introduction to Networks
Chapter 3 Transport Layer
Chapter 11 User Datagram Protocol
Chapter 3 outline 3.1 Transport-layer services
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
06- Transport Layer Transport Layer.
TCP Transport layer Er. Vikram Dhiman LPU.
CS 1652 Jack Lange University of Pittsburgh
Introduction to Networks
September 19th, 2013 CS1652 Jack Lange University of Pittsburgh
Chapter 14 User Datagram Protocol (UDP)
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Protocols An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
CPEG514 Advanced Computer Networkst
Chapter 3 Transport Layer
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Layer Our goals:
Presentation transcript:

ICE 302 T RANSPORT LAYER Md. Asif Hossain Term # 2 Lecture # 1 1 Thanks to A. B. Forouzan

This is the presentation slides of the Book You MUST go through this TEXT BOOK for your further learning and for the EXAMS. So, without reading the Book, you can not pass the exams. Read the topics that will be covered in the classes. 2 3 rd Edition

P OSITION OF T RANSPORT LAYER 3

P ROCESS - TO - PROCESS DELIVERY Several processes (application programs) can run on both the source and the destination host Two communicating processes are in client-server relationship Client – a process on the local host Server – a process at the remote host 4

A NALOGY Two houses, each with a dozen of kids, are located in Eindhoven and Amsterdam. All kids in different houses are relatives (cousins) Each kid weekly writes a letter to every other kid in another house 144 letters/week in total (huge cost) Dutch kids would probably use (low cost) In each household there is one kid (Jantje & Pietje, respectively) responsible for mail collection and mail distribution each week they give all the letters to a postal-service mail carrier who makes daily visits to the house. Application message = letters in the envelope Processes = cousins Hosts (end systems) = houses Transport-layer protocol = Jantje & Pietje Network-layer protocol = postal service (including mail carriers) 02/10/2015 5

A DDRESSING Data link - MAC address Network – IP address Transport – port number needed to chose among multiple processes running on the destination host The Internet model: 16 bit integer 0 – Client mostly chooses ephemeral port number Server mostly uses well-known (permanent) port numbers 02/10/ ephemeral port number well-known port number

A DDRESSING ( CNT ’ D ) Internet Assigned Number Authority 02/10/2015 7

IP ADDRESSING VERSUS PORT ADDRESSING destination IP defines the host after the host has been selected: the port number defines one of the processes on this host 02/10/2015 8

S OCKET ADDRESS Process-to-process delivery needs 2 identifiers: IP number port number 02/10/2015 9

T RANSPORT LAYER MUX & D E MUX Extending host-to-host delivery to process-to-process delivery Transport layer de/multiplexes several processes on the transport layer protocol (TCP, UDP) 02/10/

T RANSPORT LAYER MUX & D E MUX ( CNT ’ D ) 02/10/ Copyright © 2005 Pearson Addison-Wesley. All rights reserved.

Q UESTION What is the analogy of multiplexing and de- multiplexing in the example of the two houses with kids? 02/10/

R ELIABLE VERSUS UNRELIABLE Reliable service error control flow control congestion control TCP Unreliable service UDP Question: Do we need reliable transport service if the Data link transport is reliable? 02/10/

U SER D ATAGRAM P ROTOCOL UDP – unreliable connectionless transport protocol Why would anybody need this? small overhead suitable for short message transport does not require much sender-receiver interaction required for (de)multiplexing Application: simple request-response communication with little concern about flow & error control in processes with internal flow & error control Trivial File Transport Protocol multicasting updating routing information (in RIP) in conjunction with Real Time Transport Protocol (RTP) for real-time data 02/10/

U SER DATAGRAM FORMAT source port number – from 0 – destination port number – 0 – length – the total length of the user datagram (header + data) checksum – detect errors over the entire datagram – Checksum is the 16-bit one's complement of the one's complement sum of a pseudo header of information from the IP header, the UDP header, and the data, padded with zero octets at the end (if necessary) to make a multiple of two octets. – optional (if not calculated filled with 0’s) 02/10/

UDP CHECKSUM CALCULATION IP pseudo header Source address Destination address Zeros Protocol UDP length 02/10/

I NTERNET C HECKSUM E XAMPLE Note When adding numbers, a carryout from the most significant bit needs to be added to the result Example: add two 16-bit integers wraparound sum checksum

UDP A process (application program) sends a chunk of bytes to UDP for delivery UDP adds its own header to this chunk of data (user datagram) and delivers it to IP UDP treats each chunk independently 02/10/