What's the Difference Between a Packet and a Frame?
By Stephen Bucaro
|Protocol Data Unit||Layer 7 Application|
|Layer 6 Presentation|
|Layer 5 Session|
|Segment||Layer 4 Transport|
|Packet||Layer 3 Network|
|Frame||Layer 2 Data Link|
|Bits||Layer 1 Physical|
When speaking of the data in a network, people often call everything a packet.
A more proper generic term would be protocol data unit or PDU. The specific
name for a PDU depends on at what layer the data unit is in the OSI model.
At layer 5, 6, or 7 of the OSI model, the actual construction of the PDU depends
upon the specific application. At these levels you could just call the PDU data.
At layer 4, the transport layer of the OSI model, if the protocol stack is TCP,
the PDU is called a segment. This is because at the transport layer the
data is segmented it into chunks, and a TCP header is added.
At layer 3, the Network layer of the OSI model, if the protocol stack is TCP,
the PDU is called a packet. The Network layer encapsulates each TCP segment
into an IP packet by adding a header that includes the destination IP address.
At layer 2, the Data Link layer, the PDU is called a frame. The Data Link layer
encapsulates one or more packets into a frame by adding the physical address
of the source and destination, and adds a frame sequence number.
At layer 1, the Physical layer, the PDU is the bit. The Physical layer is the electronic
network circuitry and connection media like fiber optic cable. Its the layer where
data is physically moved across the network.
More Networking Protocols and Standards:
• IP Addressing and Subnetting
• T-Carrier - A Complete and Comprehensive Guide
• The OSI Reference Model
• IEEE 802 Standards Specify the Basics of Physical and Logical Networking
• IPv6 Neighbor Discovery Protocol (NDP)
• The OSI Application Layer
• An Introduction to the Types of VPNs
• WAN Network Protocols - DSL, SONET, HDLC, DWDM, DLSW+
• Introducing OpenStack
• NTP Server Systems - The Network Time Protocol