In: Computer Science
Answer)
The OSI model of networking has the layers as:
Physical
Data Link
Network
Transport
Session
Presentation
Application
The function of the different layers defined in the OSI
Reference Model are:
Physical layer - defines the connector and the interface
specification and the cable and medium requirements, thus physical
and hardware functions are provided in this layer.
Data Link - used for sending and receiving messages and also
provides error-detection capabilities.
Network - In this layer, the IP address is set up and connect and
exchange packets to one another. Router, subnets, and others exist
in this network.
Transport - offers the reliable, connection-oriented and also
connectionless and best effort types of communications.
Session - layer is responsible for the applications functioning on
the devices for establishing, managing and termination
connections/dialogs on the network
Presentation - is responsible for handling how the application
formats the data which is to be sent out to the network, allows the
application to read the message.
Application - providers and supports end-user networking on the
network. It supports files transfers, electronic mail, messaging,
etc.
We can use the OSI model when troubleshooting a network connectivity problem, as in the OSI model all the 7 layers make the entire network function and thus the OSI layers are something which supports the connectivity of every network and device. Thus when a problem occurs in connectivity we can ascertain that in which layer the problem has occurred, such that we can correct the configuration and address the problem there. For example, if a connection issue occurs and then we may start from at the physical layer and checking if the physical devices are working correctly and if the wirings are all correct, thereby verifying and resolving the problem. Thus the OSI model can be used when troubleshooting the network connectivity problems.