osi - transport layer

20
Transport Layer Sohag University Computer Science M.KARAM 17.11.2014

Upload: muhammad-karam

Post on 17-Aug-2015

62 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: OSI - Transport layer

Transport Layer

Sohag University

Computer Science

M.KARAM

17.11.2014

Page 2: OSI - Transport layer

17.11.2014 M.KARAM 2

Transport Layer Role and Services

Page 3: OSI - Transport layer

17.11.2014 M.KARAM 3

Transport Layer Role and Services cont.

The transport layer is concerned with the actual end-to-end transfer of the data across the network.

This layer establishes a logical connection between the two communicating hosts and provides reliable or unreliable data delivery and can provide flow control and error recovery.

The transport layer segments and reassembles data.

Page 4: OSI - Transport layer

17.11.2014 M.KARAM 4

Its Protocols

This layer have two protocols :

Page 5: OSI - Transport layer

17.11.2014 M.KARAM 5

Connection Types

1- Connection-oriented

In case of connection-oriented the hosts must establish connection before sending any data.It use TCP ( Transmission Control Protocol ) protocol.

2- Connectionless

In case of connectionless the hosts start sending data without establish connection.It use UDP ( User Datagram Protocol ) protocol.

Page 6: OSI - Transport layer

17.11.2014 M.KARAM 6

Connection-oriented

The connection will be connection-oriented if it have some conditions :

1- A virtual circuit is set up such as( A three-way handshake )

2- It uses acknowledgments 3- It uses sequencing4- It uses flow control

The connection that have this four conditions called “ A reliable connection “ .

Page 7: OSI - Transport layer

17.11.2014 M.KARAM 7

A virtual circuit

Before transmitting any segment of data the

sender's TCP process contacts the destination's

TCP process to establish the connection.

What is creates is known as “ a virtual circuit “ .

But how it was created ?

By using A three-way handshake

Page 8: OSI - Transport layer

17.11.2014 M.KARAM 8

A virtual circuit cont. (A three-way handshake)

Page 9: OSI - Transport layer

17.11.2014 M.KARAM 9

Acknowledgment

Page 10: OSI - Transport layer

17.11.2014 M.KARAM 10

Sequencing

Page 11: OSI - Transport layer

17.11.2014 M.KARAM 11

Flow control

Flow control is a function for the control of the data flow within an OSI layer or between adjacent layers. In other words it limits the amount of data transmitted by the sending transport entity to a level, or rate, that the receiver can manage.

Page 12: OSI - Transport layer

17.11.2014 M.KARAM 12

Windowing

Page 13: OSI - Transport layer

17.11.2014 M.KARAM 13

Connectionless

Connectionless using UDP Protocol.

Page 14: OSI - Transport layer

17.11.2014 M.KARAM 14

Connectionless cont.

Page 15: OSI - Transport layer

17.11.2014 M.KARAM 15

Port number

In computer networking, a port is an application-specific or process-specific software construct serving as a communications endpoint in a computer's host operating system.

The purpose of ports is to uniquely identify different applications or processes running on a single computer and thereby enable them to share a single physical connection to a packet-switched network like the Internet.

A port number is a 16-bit unsigned integer, thus ranging from 0 to 65535.

Page 16: OSI - Transport layer

17.11.2014 M.KARAM 16

Port number cont.

Well-known ports :

The port numbers in the range from 0 to 1023 are the well-known ports or system ports.They are used by system processes that provide widely used types of network services.

Examples :

23 → telnet22 → SSH (Secure Shell)80 → HTTP

Page 17: OSI - Transport layer

17.11.2014 M.KARAM 17

Transport Layer Header

Page 18: OSI - Transport layer

17.11.2014 M.KARAM 18

The role of port numbers

the role of port numbers in establishing TCP sessions and directing segments to server process.

Page 19: OSI - Transport layer

17.11.2014 M.KARAM 19

The role of port numbers cont.

Page 20: OSI - Transport layer

17.11.2014 M.KARAM 20

Thank you