In some sites , It is given that tcp/ip has 4 layers,network access,internet,transport,application. But in some other references , it is given that it has 5 layers (instead of network access, physical and link). What is the standard actually??? Somebody knows well tell me pls.
It seems like a combination of circumstances here has led to some confusion. Just so everyone is clear, The TCP/IP Model has a slightly different set of layers when compared to the OSI Model.
To be clear, the OSI Model's top three layers - that is: Application, Presentation, and Session - are essentially collapsed into the Application layer in TCP/IP. Additionally, the bottom two layers - Physical and Data Link - are combined into the Network Access layer for TCP/IP.
Therefore, there are 4 layers in the TCP/IP Model. Specifically, they are the Network Access Layer, Internet Layer, Transport Layer, and Application Layer.
I believe you are conflating the DOD\DARPA stack for IP with the OSI model
see here for how the layers of each model map to each other.
keep in mind, there are aspects of protocol modeling that are purely conceptual, and don't necessarily mimic analog reality. for instance in modern networking, the osi L1 and L2 are implemented in the network card's circuitry and in its driver code, but there's no good way to tell where one ends and the other begins. afterall the task of sending a media-compliant frame across the network cannot be separated from the task of constructing a 802.3 frame with all the correct data structures.
The layers are not necessarily concrete (especially when viewed from app perspectives), and as such there may not be a "correct" answer. A protocol can have as many layers as as you choose to slice it up into, regardless of the architecture of the code and the circuitry.
Models are often just how you think about a problem, and in this case, both models are valid for different analytic purposes.