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: • Wireless Network Standards - 80211a, 80211b, 80211g, 80211n, 80216 • IEEE 802 Standards Specify the Basics of Physical and Logical Networking • The OSI Data Link Layer • Protocol Suites • Major Protocols in the TCP/IP Suite • 14 Common Network Ports You Should Know • Internet Security and VPN Network Design • IPv6 Prefix Length Notation • IPv4 to IPv6 Transition With the Dual-Stack Technique • Understanding IP Routing
|