What is OSI Model?
OSI stands for Open Systems Interconnection. It was developed by International Organization of Standardization (ISO) to achieve International standards in communication. OSI Model divides the communication process into 7 layers and each layers has some specific functions.
7 layers of OSI model :
1. Physical layer
2. Data link layer
3. Network layer
4. Transport layer
5. Session layer
6. Presentation layer
7. Application layer
Functions of OSI Layers :
1. Physical layer :
- Physical layer is the lowermost layer of the OSI model
- It is responsible for movement of individual bits from one node to the other node
Functions of physical layer :
- Physical characteristics of interfaces and medium :
The physical layer defines the characteristics of interface between the devices and the transmission medium. It also defines the type of transmission medium.
- Representation of bits :
The physical layer data consists of stream of bits (0's and 1's). To be transmitted, bits must be encoded into signals. The physical layer defines the type of encoding.- Data rate :
- Synchronization of bits:
- Line configuration :
Point to point connection - Two devices are connected through a dedicated link
Multipoint connection - Two or more devices are connected to a single link
- Physical topology :
- Transmission mode :
2. Data link layer :
- The data link layer is responsible for moving frames from one node to the other node
- It has two sub layers :
- Data link control (DLC) / Logical link control (LLC) sub layer
- Media access control (MAC) sub layer
Functions of data link layer :
- Framing :
- Physical addressing :
- Flow Control :
- Error control :
- Access control :
3. Network layer :
- The network layer is responsible for delivery of individual packets from source host to destination host.
Functions of network layer :
- Logical addressing :
- Routing:
4. Transport layer :
- The transport layer is responsible for delivery of a message from one process to the other.
Functions of transport layer :
- Service-point addressing :
- Segmentation and Re-assembly :
In sender side, the transport layer divides the message into segments and adds a sequence number to each segment. In receiver side, the segments are rearranged based on the sequence number.
- Connection control :
Connection oriented service - Connection is established between source and destination. After data transmission, the connection is terminated.
Connectionless service - A connectionless service treats each segment as individual packets, and the packets travel through different routed to reach the destination.
- Flow control :
- Error control :
Like data link layer, the transport layer is also responsible for Error control.
5. Session layer :
- The session layer establishes, maintains, and synchronizes the interaction among communicating systems.
Functions of session layer :
- Dialog control :
- Synchronization :
6. Presentation layer :
- The presentation layer is concerned with the syntax and semantics of the information exchanged between the two systems
Functions of Presentation layer :
- Translation :
- Encryption and decryption :
In sender side encryption takes place, i.e., the original information is transformed into another form/code.
In receiver side decryption takes place, i.e., the coded form of the message is transformed into original message.
- Compression and decompression :
Compression is reducing the number of bits in the data. Compression is done in sender side and decompression in receiver side.
7. Application layer :
- The application layer is responsible for providing services to the user.
Functions of Application layer :
- Network virtual terminal :
- File transfer, access and management :
- Mail services :
- Directory services :
Comments
Post a Comment