I know this question may not make sense to many of you, but I still want to learn.
I want to know that when we want to send a message from one device to another device from another network, are all the OSI layers is going to be handled by our computer?
Or there are specific layers that our computer can process, other layers can be processed by switches, routers, etc.
Your kind support is highly appreciated.
The OSI layer is a model to represent 7 layers of the data contain in a packet. This model is a representation only. There is the TCP/IP model that is the one used for almost all TCP/IP communications.
The devices Switch for example work on the layer 2 of the OSI model, this means they can read the MAC address of the packet that is located on the 2nd layer.
Routers for example they can read up to the layer 3 of the OSI model, meaning they can read IP addresses of the package to make routing decisions.
Hubs on the other hand are layer 1 devices, they just forward the information they get to all ports.