Open System Interconnection (OSI) Layer is an ISO standard conceptual model used for visualising or troubleshooting computer networks. It has 7 layers namely
1) Physical layer - is where the real bits are transmitted with ethernet cables. Data here is in binary format 0's and 1's. Data will be in the form of electrical pulses if it is coaxial or twisted cables and in the form of light if it is optical fibre cable.
2) Data Link - is responsible to establish reliable links between two directly connecting nodes via switches or bridges. It organises bits into frame and ensures hop to hop delivery. It consists of Media Access Control (MAC) and Logical Link Control (LLC). MAC maintains how devices connected to the network gain access, whereas LLC ensures error checking and packet synchronisation. Data here is converted from packets to frames.
3) Network - is responsible for routing the information packets from source to destination via the best path available. This is done via router using routing protocols. Source and destination is determined by the ip address of the router. Data segment is converted into packets here.
4) Transport - is responsible for information transferred between the operating system and the web server. It also decides how much data is sent and received and used for end to end connectivity. It identifies service TCP/UDP, also segmentation segments the data into small data segments, sequencing/reassembling takes care that data is arranged in correct sequence. In case if a data segment is missed in sending to the target node, error correction mechanism ensures that the missing data segment is re-transmitted to target node.
5) Session - maintains sessions/connections between operating system and third party system. It is responsible for establishing, maintaining and terminating sessions. When we visit a url on the web, we interact with application layer, application layer interacts with presentation layer, the session later then interacts with the web server.
6) Presentation - is where operating system interacts with the data. It's responsible for translation, encoding/decoding, compression/decompression and encryption/decryption of data. User interacts with application layer, the application layer interacts with the presentation layer.
7) Application - is where a user interacts directly. It provides networking services to the user using port numbers. For example Web browser (http request on port 80).
An easy way to remember the layer name is
Application >> All
Presentation >> People
Session >> Seem
Transport >> To
Network >> Need
Data Link >> Data
Physical >> Processing
1) Physical layer - is where the real bits are transmitted with ethernet cables. Data here is in binary format 0's and 1's. Data will be in the form of electrical pulses if it is coaxial or twisted cables and in the form of light if it is optical fibre cable.
2) Data Link - is responsible to establish reliable links between two directly connecting nodes via switches or bridges. It organises bits into frame and ensures hop to hop delivery. It consists of Media Access Control (MAC) and Logical Link Control (LLC). MAC maintains how devices connected to the network gain access, whereas LLC ensures error checking and packet synchronisation. Data here is converted from packets to frames.
3) Network - is responsible for routing the information packets from source to destination via the best path available. This is done via router using routing protocols. Source and destination is determined by the ip address of the router. Data segment is converted into packets here.
4) Transport - is responsible for information transferred between the operating system and the web server. It also decides how much data is sent and received and used for end to end connectivity. It identifies service TCP/UDP, also segmentation segments the data into small data segments, sequencing/reassembling takes care that data is arranged in correct sequence. In case if a data segment is missed in sending to the target node, error correction mechanism ensures that the missing data segment is re-transmitted to target node.
5) Session - maintains sessions/connections between operating system and third party system. It is responsible for establishing, maintaining and terminating sessions. When we visit a url on the web, we interact with application layer, application layer interacts with presentation layer, the session later then interacts with the web server.
6) Presentation - is where operating system interacts with the data. It's responsible for translation, encoding/decoding, compression/decompression and encryption/decryption of data. User interacts with application layer, the application layer interacts with the presentation layer.
7) Application - is where a user interacts directly. It provides networking services to the user using port numbers. For example Web browser (http request on port 80).
An easy way to remember the layer name is
Application >> All
Presentation >> People
Session >> Seem
Transport >> To
Network >> Need
Data Link >> Data
Physical >> Processing

