Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between PACKETS and FRAMES

Two words commonly used in networking world - Packets and frames.

Can anyone please give the detail difference between these two words?

Hope it might sounds silly but does it mean as below

A packet is the PDU(Protocol Data Unit) at layer 3 (network layer - ip packet) of the networking OSI model.

A frame is the PDU of layer 2 (data link) of the OSI model.

like image 465
sujai M J Avatar asked Jul 16 '15 06:07

sujai M J


1 Answers

Packets and Frames are the names given to Protocol data units (PDUs) at different network layers

  • Segments/Datagrams are units of data in the Transport Layer.

    In the case of the internet, the term Segment typically refers to TCP, while Datagram typically refers to UDP. However Datagram can also be used in a more general sense and refer to other layers (link):

    Datagram

    A self-contained, independent entity of data carrying sufficient information to be routed from the source to the destination computer without reliance on earlier exchanges between this source and destination computer andthe transporting network.

  • Packets are units of data in the Network Layer (IP in case of the Internet)

  • Frames are units of data in the Link Layer (e.g. Wifi, Bluetooth, Ethernet, etc).

enter image description here

like image 122
Malt Avatar answered Sep 28 '22 23:09

Malt