The data unit of the data link layer is "frame"; the data link layer defines how to transmit data on a single link, between the physical layer and the network layer, mainly including frame coding and errors Correctly controls both functions, frame encoding means defining a packet containing information frequency, bit synchronization, source address, destination address and other control information.
The operating environment of this tutorial: Windows 10 system, DELL G3 computer.
The unit of data transmitted by the data link layer is the frame.
It defines how data is transmitted on a single link. These protocols are relevant to the various media in question.
Related introduction:
The data link layer is the second layer in the OSI reference model, between the physical layer and the network layer. The data link layer provides services to the network layer based on the services provided by the physical layer. Its most basic service is to reliably transmit data from the physical layer to the target network layer of adjacent nodes.
The data link layer defines how data is transmitted over a single link. These protocols are relevant to the various media in question. Example: ATM, FDDI, etc. The data link layer must have a series of corresponding functions, mainly including: how to combine data into data blocks, which are called frames in the data link layer, and frames are the transmission units of the data link layer; how to control frames Transmission on the physical channel includes how to handle transmission errors, how to adjust the sending rate to match the receiver; and management of the establishment, maintenance, and release of data link paths between two network entities.
Physical link (physical line): It is composed of transmission media and equipment. Original physical transmission lines refer to basic physical transmission media and equipment that do not use high-level error control.
Data link (logical line): On a physical line, the transmission of these data is controlled through some procedures or protocols to ensure the correctness of the transmitted data. The hardware and software that implement these procedures or protocols are added to the physical lines, thus forming a data link, a transmission path from the data sending point to the data receiving point. When multiplexing technology is used, there can be multiple data links on one physical link.
#The data link layer mainly has two functions: frame coding and error correction control. Frame encoding means defining a data packet that contains information frequency, bit synchronization, source address, destination address, and other control information. The data link layer protocol is divided into two sub-layers: Logical Link Control (LLC) protocol and Media Access Control (MAC) protocol.
The most basic function of the data link layer is to provide transparent and reliable basic data transmission services to users of this layer. Transparency means that there are no restrictions on the content, format, and encoding of data transmitted on this layer, and there is no need to explain the meaning of the information structure; reliable transmission eliminates users' worries about lost information, interfering information, and incorrect order. These situations may occur in the physical layer, and error correction codes must be used in the data link layer to detect and correct errors. The data link layer enhances the function of the physical layer to transmit the original bit stream, transforming the possible error-prone physical connections provided by the physical layer into a logically error-free data link, so that it appears as an error-free line to the network layer. .
For more related knowledge, please visit theFAQcolumn!
The above is the detailed content of What is the data unit of the data link layer?. For more information, please follow other related articles on the PHP Chinese website!