0

I have been searching out for in depth knowledge of OSI layer model. I want to know that what information does a Application, Presentation and session layer header contains. Moreover where do these layer exists? the protocols which work at top three layers are present inside OS or they are just built-in inside that specific application which the user is using.

2

Moreover where do these layer exists?

Nowhere. There's no current operating system that is compliant with the OSI model. All existing computers and networking enabled devices use the TCP/IP model.

Although in literature (including this site), we use a mix of the two models, keeping the layer 1/2/3 from the OSI model, and layer 4/5 from the TCP/IP model. To be really consistent we should refer as IPv4 or IPv6 as layer 2 protocols and TCP, UDP, etc.. as layer 3, but there's really old habit about this and its not gonna change.

So the answer to:

I want to know that what information does a Application, Presentation and session layer header contains

is: nothing, since they don't actually exist.

Even with the TCP/IP model, keep in mind that it is just a model, i.e. a guideline on how to build a networking stack, and real implementation sometimes have to make compromises with the model.

What is really used are:

| improve this answer | |
0

The physical layer (L1) and the data link layer (L2) are usually implemented in hardware: switches, WAPs, NICs. L1 is the only layer actually moving data and L2 controls its flow inside a local network.

IEEE explicitly state that their 802 family of protocols uses a layering model derived from the OSI model, emphasizing the lower two layers (see IEEE 802: Overview and Architecture).

The network layer (L3) and the transport layer (L4) are usually implemented in an operating system's "network stack" - most prominently IPv4, IPv6, and TCP, UDP. L3 takes care of global routing and L4 provides transport for actual data for an application.

The application layer (L7) sits inside an application. An email client speaks SMTP and IMAP, a browser speaks HTTP/S. Various base protocols like DNS are commonly implemented by the operating system but that varies.

The session layer (L5) and the presentation layer (L6) aren't usually implemented separately but - if implemented at all - also sit inside the application.

Most protocols in each layer use prepended headers to organize their work but those headers can vary massively, so there's no general format.

Each layer has a specific task, and all together they form a modular "stack" with an extreme range of functionality and adaptability. After all, that modularity has enabled TCP/IP to become the most popular and powerful set of protocols on the planet.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.