Introduction to Networking Layers in OSI Model - BunksAllowed

BunksAllowed is an effort to facilitate Self Learning process through the provision of quality tutorials.

Random Posts

Introduction to Networking Layers in OSI Model

Share This

Physical Layer


The Physical Layer refers to the lowest layer of the OSI model, responsible for the transmission and reception of raw data between devices
 
The physical layer manages the necessary operations to transmit a sequence of bits over a tangible medium. This pertains to the technical details and characteristics of the interface and transmission medium, both in terms of mechanics and electricity
 
It also specifies the protocols and operations that physical devices and interfaces must execute in order for transmission to take place.

The physical layer is additionally focused on the following:

The physical layer establishes the specific attributes of the connection between devices and the transmission media. It also specifies the type of transmission media.

Representation of binary digits. The physical layer data is a binary series of bits, with no inherent meaning or interpretation. In order for bits to be transferred, they need to be encoded into either electrical or optical signals. The physical layer determines the method of encoding, which governs the transformation of binary data (represented by 0s and 1s) into signals.

Data rate. The physical layer also determines the transmission rate, which refers to the amount of bits transferred per second. Put simply, the physical layer establishes the duration of a bit, which refers to its length of existence.

Bit synchronization. Both the sender and receiver must not only have the same bit rate, but they must also be synchronized at the bit level. Put simply, the clocks of the sender and receiver must be synced.

Line configuration. The physical layer focuses on establishing the connection between devices and the transmission media. In a point-to-point setup, two devices are interconnected by a dedicated link. In a multipoint arrangement, multiple devices share a single link.

Physical Topology. The physical topology refers to the arrangement of physical components in a network. 
 
The physical topology determines the manner in which devices are interconnected to establish a network. Devices can be interconnected using various topologies, such as mesh, star, ring, bus, or hybrid. In a mesh topology, every device is directly connected to every other device. A star topology involves connecting devices through a central device. In a ring topology, each device is connected to the next, forming a circular arrangement. A bus topology connects every device to a common link.
 
Lastly, a hybrid topology is a combination of two or more of these topologies.

Transmission mode. The physical layer establishes the transmission direction between two devices, which might be simplex, half-duplex, or full-duplex
 
In simplex mode, communication is unidirectional, allowing just one device to transmit data while the other device can only receive data. The simplex mode is a form of communication that only allows information to be transmitted in one direction. In the half-duplex mode, two devices have the capability to both send and receive data, but they cannot do so simultaneously. In a full-duplex (or duplex) mode, two devices have the capability to transmit and receive data simultaneously.


Data Link Layer


The Data Link Layer is a layer in the OSI model that is responsible for the reliable transfer of data between two nodes on a network.

The data connection layer converts the raw transmission facility of the physical layer into a dependable link. It presents the physical layer as error-free to the top layer (network layer).

Additional duties of the data link layer encompass the subsequent tasks:

Framing. The data link layer partitions the incoming stream of bits from the network layer into manageable data units known as frames.

Physical addressing. It refers to the process of assigning unique identifiers to physical devices in a computer network. In order to distribute frames to various systems on the network, the data link layer appends a header to the frame that specifies the sender and/or receiver of the frame. If the frame is meant for a system that is located outside the sender's network, the receiver address refers to the address of the device that serves as the connection point between the current network and the subsequent network.

Flow Control. If the rate at which the receiver absorbs the data is lower than the rate at which the sender produces data, the data link layer implements a flow control mechanism to prevent the receiver from being overwhelmed. 
 
Error control. The data link layer enhances the reliability of the physical layer by incorporating techniques to identify and retransmit frames that have been damaged or lost. 
 
Additionally, it employs a mechanism to identify redundant frames. Typically, error control is accomplished by appending a trailer to the end of the frame.

Access control. Data link layer protocols are essential for determining which device has control over a link when multiple devices are connected to it.


Network Layer


The network layer is a crucial component of computer networking that is responsible for the transmission of data between different networks.

The network layer is accountable for ensuring the successful transmission of a packet from its origin to its destination, which may involve traversing many networks or links. While the data link layer is responsible for managing the transfer of packets inside a network, the network layer ensures that each packet is successfully delivered from its source to its intended destination.

When two systems are connected to the same link, the network layer is typically unnecessary. However, in cases when the two systems are connected to separate networks through intermediary devices, it is typically necessary for the network layer to ensure the transmission of data from the source to the destination.

Additional duties of the network layer encompass the subsequent tasks:

Logical Addressing. It refers to the method of identifying network devices and their locations using logical identifiers, such as IP addresses, rather than physical addresses. The data link layer's physical addressing mechanism resolves the addressing issue within a local context. When a packet crosses the network boundary, an additional addressing scheme is required to differentiate between the source and destination systems. The network layer appends a header to the packet received from the top layer, which comprises, among other details, the logical addresses of the sender and receiver.

Routing. When separate networks or connections are joined together to form internetworks (networks of networks) or a big network, the equipment responsible for connecting them (known as routers or switches) direct or transfer the packets to their ultimate destination. The network layer has the function of providing this technique.


Transport Layer


The transport layer is a networking layer responsible for the reliable and efficient transmission of data between devices in a network.

The transport layer is accountable for the end-to-end transmission of the complete message between processes. 
 
A process refers to an application software that is currently executing on a host computer. While the network layer is responsible for ensuring that individual packets are delivered from the source to the destination, it does not acknowledge any connection or correlation between these packets. It processes each item individually, as if each component were part of a distinct message, regardless of whether it actually is. 
 
The transport layer is responsible for ensuring the complete and sequential delivery of the entire message. It manages error control and flow control between the source and destination.

Additional duties of the transport layer encompass the subsequent tasks:

Regarding service-point addressing. Computers frequently execute multiple programs simultaneously. Hence, source-to-destination delivery encompasses not only the transfer of data between computers, but also the transmission of data between individual processes or running programs on those computers. The transport layer header must include a service-point address, often known as a port address. The network layer ensures that each packet is delivered to the appropriate computer, while the transport layer ensures that the full message is delivered to the relevant process on that computer.

Segmentation and reassembly. A message is partitioned into transmittable segments, whereby each segment is assigned a sequence number. The numbers facilitate the transport layer in accurately reassembling the message upon reaching the destination and in identifying and replacing missing packets during transmission.

Connection management. The transport layer can operate in either a connectionless or connection-oriented manner. A connectionless transport layer considers each segment as a separate packet and transfers it to the transport layer on the receiving machine. A connection-oriented transport layer establishes a connection with the destination machine's transport layer prior to delivering the packets. Once all the data has been sent, the connection is disconnected.

Flow control. Similar to the data link layer, the transport layer has the responsibility of managing flow control. Nevertheless, flow control at this layer is executed from the source to the destination, rather than being limited to a single connection. 
 
Error control. Similar to the data link layer, the transport layer has the responsibility of managing error control. However, error control at this layer is conducted between processes rather than within a single link. The transmitting transport layer ensures that the complete message is received by the receiving transport layer without any errors, such as damage, loss, or duplication. Retransmission is commonly used to provide error correction.


Session Layer


The session layer is a component of the OSI model that is responsible for establishing, maintaining, and terminating communication sessions between applications.

The services offered by the initial three layers (physical, data connection, and network) are inadequate for certain tasks. The session layer functions as the controller for network dialogues.

It establishes, maintains, and synchronizes the relationship between communication systems.

The session layer has distinct duties that encompass the following:

Dialog control. The session layer facilitates communication between two systems by enabling them to engage in a dialogue. The communication between two processes can occur in either half-duplex (one-way at a time) or full-duplex (two-ways at a time) mode.

Synchronization. The session layer enables a process to insert checkpoints, also known as synchronization points, into a continuous flow of data. 
 
For instance, when a system is transmitting a file consisting of 2000 pages, it is recommended to include checkpoints after every 100 pages. This ensures that each unit of 100 pages is received and acknowledged separately. If a crash occurs while transmitting page 523, just the pages from 501 to 523 need to be resent after the system recovers. Pages preceding 501 do not need to be resent.


Presentation Layer


The presentation layer focuses on the syntax and semantics of the data communicated between two systems.

The presentation layer has the following specific responsibilities:

Translate. The processes in two systems often communicate by exchanging data in the form of character strings, integers, and other similar entities. The information must be converted into bit streams before to transmission. 
 
The presentation layer ensures interoperability between different encoding systems used by various computers. The presentation layer of the sender converts the information from its original format into a standardized format. The presentation layer of the receiving machine converts the standard format into a format specific to the receiver.

Encryption. In order to transport confidential data, a system must possess the capability to guarantee privacy. Encryption involves the conversion of the original information into a different format by the sender, who then transmits the resulting message across the network. Decryption is the process of reversing the original transformation to restore the communication to its original form.

Compression. Data compression decreases the quantity of bits encompassed inside the information. Data compression plays a crucial role in transmitting multimedia content, including text, audio, and video.


Application Layer


The application layer facilitates user access to the network, whether it be a human or software user. The system offers user interfaces and assistance for many services, including electronic mail, remote file access and transfer, shared database administration, and other forms of distributed information services.

The services provided include XAOO for message processing, X.500 for directory services, and FTAM for file transfer, access, and management. The user in this instance utilizes XAOO to transmit an email message.

The application layer provides a range of specific services, which include:

The network virtual terminal. A network virtual terminal is a software emulation of a physical terminal, enabling a user to establish a remote connection to a host system. In order to accomplish this, the application generates a software emulation of a terminal on the remote computer. The user's computer communicates with the software terminal, which in turn communicates with the host, and so versa. The remote host is under the impression that it is establishing a connection with one of its own terminals and grants the user permission to log in.

Transfer, retrieval, and administration of files. This application enables users to remotely access files on a host computer, allowing them to modify or retrieve data. Additionally, it provides the ability to manage and control files on a remote computer from a local computer.

Regarding mail services. This application serves as the foundation for the process of redirecting and storing emails.

Directory services. This program offers distributed database resources and enables global access to comprehensive information on a wide range of items and services. 






Happy Exploring!

No comments:

Post a Comment