What is the transport layer in the OSI model?
The OSI model transport layer takes data from the session layer and moves it to the network layer. The transport layer breaks down packets, manages transfer speed, and ensures secure and transparent communication between two systems.
What is the OSI model transport layer?
The transport layer is the fourth layer in the OSI model and facilitates communication between two systems via a continuous, secure and transparent end-to-end data transfer. The transport layer is also responsible for avoiding congestion.
The OSI model is a standard used to create a connection between two end devices within a network, even if the participants are using different software or hardware. This model was first developed in the 1970s and was published for the first time in 1983. It consists of seven different levels, which are built one on top of the other. Each layer has its own unique set of tasks. The seven layers are as follows:
What are the functions of the transport layer?
The main task of the transport layer is to prepare a functional and secure end-to-end data transfer within a network. To do this the transfer layer takes the data from the session layer (layer 5) and then sends it to the network layer (layer 3). The transport layer can, if needed, separate the data into smaller units or pull the data together into larger packets to send them on more easily.
Transfers can occur in either a connection-oriented or connectionless mode. The transport layer can use a network connection, a connection for multiple connections or spread a transport connection across different network connections. This is always done in a transparent way.
Other features of the transport layer include the creation, monitoring and termination of a connection. If the transfer occurs in the connection-oriented mode, the successful data transfer will be secured with a confirmation. This means that the computer sending the data knows that all units have been transferred as intended. If there is no confirmation, it will try to carry out the transfer again. When doing this, the transport layer doesn’t pay attention to the media used in the first three layers.
Which services does the transport layer carry out?
There are many services offered by the transport layer to the higher levels. These are relevant for different aspects of the data transfer. Among the most important services include the following:
- Connection-oriented transfers: The transport layer enables connection-oriented transfers such as TCP (Transmission Control Protocol). To do this, it assigns port numbers between 0 and 65.535 and relies on the confirmation process described above.
- Connectionless protocols: Unlike connection-oriented protocols, connectionless transfers do not need a confirmation. Although this security feature is not used, this method can still be very practical, especially with real-time transfers such as video conferencing. Protocols such as UDP (User Datagram Protocol) also use ports between 0 and 65.535.
- Same order delivery: This service ensures that data packets are sent and received in a set order. To this end, the individual packets are numbered and can be ordered correctly.
- Reliability: When sending data between two systems, data may become damaged, get lost or be received in the wrong order. The transport layer uses troubleshooting codes to ensure that the data arrives as intended. To this end, the transport layer sends a confirmation message to the sender.
- Flow control: Flow control regulates and optimizes data flow. This allows for adjustments to be made to the data exchange by increasing or throttling the transmission speed. This prevents the receiver from being overloaded.
- Congestion avoidance: If there is still some congestion on the nodes and connections, the transport layer can implement measures to avoid long-term congestion. This includes, for example, a reduction in the transfer rate.
- Multiplexing: Packets which are transferred from one system to another can come from many different sources. With multiplexing, the transport layer allows users to open applications and services from different sources within a network.
Transport layer protocols
There are many protocols which use the OSI model transport layer. These include among others:
- DCCP (datagram congestion control protocol): A network protocol to transfer media in IP networks in real time without sending an obligatory confirmation
- FCP (fiber channel protocol): A SCSI interface protocol for a standard interface within a memory network
- IL Protocol: A simpler form of TCP
- MPTCP (multipath TCP): A recommended standard which pulls together different paths
- NORM (NACK-oriented reliable multicast): A protocol used for reliable transport in multicast groups within a network
- RDP (reliable data protocol): A transport protocol for transferring images and data
- RUDP (reliable user datagram protocol): A protocol for the Plan 9 operating system
- SCTP (stream control transmission protocol): A network protocol that is placed on a potentially unreliable packet service
- TCP (transmission control protocol): A widespread network protocol that determines the way data is transferred between network components
- UDP (user datagram protocol): A minimalistic network protocol that allows for datagrams to be sent on IP networks