Saturday, November 19, 2011

What is the difference between a frame and a packet ina networks context?

Frames is an OSI layer 2 (data link layer) Protocol Data Unit


where as Packets is an OSI layer 3 Protocol Data Unit .





Data link layer of sending machine adds additional header and trailer to bits (PDU of OSI layer 1 i.e Physical Layer) and it becomes a frame then it is passed on to the upper layer which is the network layer that will then add other info and attach it to the frames which then becomes a packet (additional info added includes sending network ip address and receiving network ip address





the receiving machines's corresponding layers decrypt the messages that will detect whether the packet belongs to it .|||Packet: This term is considered by many to correctly refer to a message sent by protocols operating at the network layer of the OSI Reference Model. So you will commonly see people refer to IP Packets. However, this term is commonly also used to refer generically to any type of message.





Frame: This term is most commonly associated with messages that travel at low levels of the OSI Reference Model. In particular, it is most commonly seen used in reference to data link layer messages. It is occasionally also used to refer to physical layer messages, when message formatting is performed by a layer 1 technology. A frame gets its name from the fact that it is created by taking higher-level packets or datagrams and "framing" them with additional header information needed at the lower level.|||When data is transfered its transfered pieces... groups of bits (thats called packets) frames are pieces of data that contain hardware addresses, such as a MAC address, frame delimiters and data.

No comments:

Post a Comment