Frame vs Packet
Difference Between Frame and Packet
The crucial difference between frame and packet is that frame is the serial collection of bits, and it encapsulates packets whereas packets are the fragmented form of data and it encapsulates segment.
Another major difference is that a frame includes device’s MAC address while a packet includes device’s IP address.
Basis for comparison | Frame | Packet |
---|---|---|
Basic | Frame is the data link layer protocol data unit. | Packet is the network layer protocol data unit. |
Associated OSI layer | Data link layer | Network layer |
Includes | Source and destination MAC address. | Source and destination IP address. |
Correlation | Segment is encapsulated within a packet. | Packet is encapsulated within a frame. |
Conclusion:
Frames and Packets function as protocol data units utilized on the different layers of OSI. Firstly, the data passed to the network layer by transport layer is a segment which typically holds transport layer header and data.In network layer, segments are divided into fragments known as packets which contain the segment, and an IP header basically includes IP address of the source and destination. At last, the packets are encapsulated in frames. Data link prepends its header with the source and destination MAC address after that it transmits the resulting frame.
Comments
Post a Comment