20
Chapter 23 Introduction To Transport Layer

Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

Chapter 23

Introduction

To

Transport Layer

Page 2: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.2

23-1 INTRODUCTION

The transport layer is

- located between the application layer and

the network layer

- provides a process-to-process

communication between two application

layers

Page 3: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.3

Logical connection at the transport layer

Page 4: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.4

Transport-Layer Services

The transport layer

- is responsible for providing services to the

application layer

- receives services from the network layer.

Page 5: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.5

Network layer versus transport layer

Page 6: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.6

Port numbers

Page 7: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.7

IP addresses versus port numbers

Page 8: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.8

ICANN ranges

Page 9: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.9

Encapsulation and decapsulation

Page 10: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.10

Multiplexing and demultiplexing

Page 11: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.11

Error control at the transport layer

Page 12: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.12

Sliding window in linear format

Page 13: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.13

Connection

A transport-layer protocol can provide two types of

services

- connectionless

- connection-oriented

Page 14: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.14

Connectionless service

Page 15: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.15

Connection-oriented service

Packet 2

Page 16: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.16

Stop-and-Wait Protocol

- uses both low and error control.

- both the sender and the receiver use a sliding

window

- the sender sends one packet at a time and waits

for an acknowledgment before sending the next

one.

- to detect corrupted packets, we need to add a

checksum to each data packet.

- when a packet arrives at the receiver, it is

checked. If its checksum is incorrect, the packet

is corrupted and silently discarded.

Page 17: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.17

Flow diagram

Page 18: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.18

Go-Back-N Protocol (GBN)

Page 19: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.19

Selective-Repeat Protocol

Page 20: Chapter 23 Introduction To Transport Layerfaculty.wiu.edu/Y-Kim2/NET321F14ch23.pdf · 2014. 9. 10. · Chapter 23 Introduction To Transport Layer. 23.2 23-1 INTRODUCTION The transport

23.20

Selective-Repeat, window size