Layers of OSI Model
The seven Layer architecture of ISO-OSI reference model.it define seven levels or layers in a coplete communication system,the lowest kayer is physical layer and the highest one is called as the application layer.In the OSI model all the application needs not to use all the seven layers,the lower three layer enough for most of the applicationi, OSI framewok show how the computer networking function,and the how data transfer flow from server to the client. there are following layers of the OSI model -
- Application Layer
- Presentation Layer
- Session Layer
- Transport Layer
- Network Layer
- Data Link Layer
- Physical Layer
- Establishment and termination the logical link between two nodes.
- Tells the termination node to "back-off" when no frame buffers are available.
- Transmit/receives frames sequentially.
- Provides/expects frame acknowledgments. Detect and recovers from errors that occurs in the physical layer by retransmitting non-acknowledged frames and handling duplicate frame receipt.
- Create and recognize frame boundries.
- Check received frame for integrity.
- Determines when the node "has the right" to use the physical medium.
Network Layer ( Layer 3 )
- Routes frames among networks
- Routers can isntruct a sending to "throttle back" its frame transmission when the router buffers fills up.
- It is determines that downstream routers maximum transmission unit size is less then the frame size,a router can fragment a frame for transmission and re-assembly at the destination station.
- Translate logical addresses,or names,into physical addesses.
- Accounting functions to keep track of frames forwarded by subnet intermdiate system,to produce billing information.
Transport Layer ( Layer 4 )
- Accept message from the layer about it,splits the message into smaller units,and passes the smaller units down to the network layer.The trasport layer at the destination station reasemble the message.
- Provides reliable end-to-end messgae delivery with acknowledgements.
- It tell the transmitting station to "back-off" when no messge buffer are available
- Multiplexes several messages streams,or session onto one logical links and keeps tracks of which messages belongs to which session.
Typically transport layer can accept relatively large messgae,but there are strict messgae size limits imposed by the network layer.
Session Layer ( Layer 5 )
The Session layer is responsible for setting up communication between nodes. The Session layer responds to service requests from the Presentation layer as well as sending service requests to the Transport layer. The Session layer may also provide access control services, authentication, data synchronization, and other services.The session layer allow session establishment between processes running of different stations. It provides:
- Session establishment,maintain and termination:allow two application processes on different machies to establish,use and terminate a connection, called a session.
- Session support: perfrom the fnction that allow these processes to communicate over the network,performing security,name recognition and so on.
Presentation Layer ( Layer 6 )
- Character code translation : for example,ASCII to EBCDIC
- Data conversion bit order,CR-CR/LF,integer-floating point and so on.
- Data compression : reduce the number of bits that needs to be transmitted on the network.
- Data encryption : encrypt data for security purpose.
Application Layer ( Layer 7 )
- Resource sharing and device redirection
- Remote file access
- Remote printer access
- Inter-process communication
- Network management
- Directory services
- Electronic messaging(such as mail)
- Network virtual terminals.