Phillies8607 wrote: » This is a term I often hear with L2 protocols. But I'm not sure I fully understand the meaning behind it. It seems it is often used in conjunction with an L3PDU being put in an L2 frame with a header and trailer specific to the L2 protocol to be used on the sending device and the receiving device of a link. Is there anything I'm missing?? I'm not sure if what I'm saying makes sense lol. But it feels like there is more meaning to the word encapsulation beyond establishing header and trailers.
Welly_59 wrote: » It works the other way around. Encapsulation occurs from layer 1 upwards. So a frame from layer 2 gets encapsulated by layer 3 and is then a packet. It leaves the existing data and headers in place and encloses it (encapsulates it) within the packet headers and trailers
GDaines wrote: » In general, encapsulation is the inclusion of one thing within another thing so that the included thing is not apparent. Decapsulation is the removal or the making apparent a thing previously encapsulated. (Description was taken from here). From that I'd summize that data is encapsulated into a segment at layer4, then a packet at layer3, and a frame at layer2 before being sent as bits at layer1. At the receiving end decapsulation takes place stripping the additional information to finally leave the data. You would not add headers and trailers to data received which is destined for an application, they are part of the routing process and would be stripped off as it passes layers 2, 3 then 4.
carterw65 wrote: » Remember though, we are usually talking about the OSI model which is cool for teaching the concepts, but is not actually in use except for, perhaps, a few networks most of us will never see. The TCP/IP stack is what is being used so you have to know which OSI layers correlate to the TCP/IP layers. Hope that make sense. It is early! LOL