So what exactly is the difference between Frame, Packet and Payload?
I've seen people use these terms interchangeably but what is the actual difference?
terminology
So what exactly is the difference between Frame, Packet and Payload?
I've seen people use these terms interchangeably but what is the actual difference?
Best Answer
A Frame is a combination of the L2 header and the Data being carried
A Packet is a combination of the L3 header and the Data being carried.
In either case, the Data being carried is the payload of the Frame/Packet.
This animation will help illustrate the differences:
source
At any point in the animation, the
DATA
is the Payload for the respective layer (Segment, Packet, Frame).Within the Payload of the Segment is the application data put together by the application layers.
Within the Payload of the Packet is the L4 header (TCP, in the animation's case), as well as the application data.
Within the Payload of the Frame is the L3 header (IP, in the animation's case), the L4 header (TCP), as well as the application data