- OSI stands for open system interconnection.
OSI model consists of 7 layers.
- Here's a brief overview of each layer and its functions
- 1)APPLICATION LAYER
- Application layer is implemented in software. Here the user interacts with the applications and send data in the form of messages , files etc.
- It supports communication and data exchange between applications running on different devices.
- Examples of protocols operating at this layer include HTTP, FTP, SMTP, DHCP, DNS, Telnet etc.
- 2)PRESENTATION LAYER
- Presentation layer receives the data from application layer , here the data in the application layer will be in the form of characters , so presentation layer converts the data into machine representable binary format.
- Before the data is transmitted to another layer it undergoes encoding , encryption and decryption.
- Data in presentation layer is compressed , it can be lossy or lossless.
- 3)SESSION LAYER
- Session layer protocol helps in setting up and managing the connections .
- Before a session is established it does authentication and then authorization takes place.
- 4)TRANSPORT LAYER
- Data from transport layer is transported to session layer.
- Data received from session layer is divide into small parts called segments.
- Every segment contains source and destination port numbers along with a sequence number
- port number is used to identify the application where as sequence number helps to reassemble the segments in correct order.
- It also provides error-checking mechanisms and flow control to ensure data integrity and proper pacing of data transmission.
- Examples of protocols operating at this layer include TCP , UDP
- 5)NETWORK LAYER
- This layer is responsible for routing packets across multiple networks.
- It determines the best path for data to travel from the source to the destination.
- It also handles logical addressing
- Network layer assigns the senders and receivers IP address to every segment and forms an IP packet , so that every data packet can reach to the destination.
- Examples of protocols operating at this layer include IP,ICMP,ARP.
- 6)DATA LINK LAYER
- Data link layer receives data packet from network layer and this data packet contains IP address of both sender and receiver.
- MAC address of sender and receiver are assigned to data packet to form frames.
- Function of data link layer is physical addressing.
- 7)PHYSICAL LAYER
- This layer deals with the physical connection between devices. It defines the electrical, mechanical, and procedural characteristics of the physical medium.
- It transmits raw data bits over a physical medium.
- Examples of protocols operating at this layer include ETHERNET .