Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

During transmissions over localhost which layers are used in OSI Model?

While transmiting data via localhost address or 127.0.0.1 which layers are used in the OSI model?

I believe communication starts through application layer and goes down till some layer but no data goes through physical layer, or does any?

like image 951
yusuf Avatar asked Oct 23 '25 03:10

yusuf


1 Answers

Traffic to 127.0.0.1 will be looped back by the internet layer of the TCP/IP model, which is matched in the OSI model by the Network layer. This is the layer where routing and address resolution take place.

like image 107
Bell Avatar answered Oct 26 '25 13:10

Bell