What units are used in network terminology? Where do we use them?
I know the following - but I'm not sure what their meaning is:
Can they be assigned to a specific OSI-Layer? Is it more complex?
The PDU of Transport Layer is called as a Segment. The PDU of Network Layer is called as a Packet. The PDU of the Data-Link Layer is called Frames.
Segment: If the transport protocol is TCP, the unit of data sent from TCP to network layer is called Segment. Datagram: This is used in 2 layers. If the network protocol is IP, the unit of data is called Datagram. At transport layer, if protocol is UDP, we use datagram there as well.
While a packet is the unit of data used in the network layer, a frame is the unit of data used in the OSI model's data link layer. A frame contains more information about the transmitted message than a packet. In networking, there exist two types of frames: fixed-length and variable-length frames.
A network interface unit (NIU) (sometimes called a network interface device) is a device that serves as a common interface for various other devices within a local area network (LAN), or as an interface to allow networked computers to connect to an outside network.
Taking from Section 1.2 in TCP/IP Illustrated: Vol 1 by Richard Stevens et al., consider the 4 layered TCP/IP stack:
+-------------+-------------------------+ | Application | Telnet, FTP, etc | +-------------+-------------------------+ | Transport | TCP, UDP | +-------------+-------------------------+ | Network | IP, ICMP | +-------------+-------------------------+ | Link | drivers, interface card | +-------------+-------------------------+
Segment: If the transport protocol is TCP, the unit of data sent from TCP to network layer is called Segment.
Datagram: This is used in 2 layers. If the network protocol is IP, the unit of data is called Datagram. At transport layer, if protocol is UDP, we use datagram there as well. Hence, we differentiate them as UDP Datagram, IP Datagram.
Frame: Physical layer representation.
Packet: It is a more generic term used either transport layer or network layer. TCP Packet, UDP Packet, IP Packet etc. I have not seen it to represent Physical layer data units.
Fragment: My guess here is that when a unit of data is chopped up by a protocol to fit the MTU size, the resultant unit of data is called Fragments. But I am guessing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With