码迷,mamicode.com
首页 > 其他好文 > 详细

什么是L2 frame?

时间:2015-08-26 19:22:19      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:

The data link layer or layer 2 is the second layer of the seven-layer OSI model of computer networking.

 

The data link layer is concerned with local delivery of frames between devices on the same LAN. Data-link frames, as these protocol data units are called, do not cross the boundaries of a local network. Inter-network routing and global addressing are higher-layer functions, allowing data-link protocols to focus on local delivery, addressing, and media arbitration. This way, the data link layer is analogous to a neighborhood traffic cop; it endeavors to arbitrate between parties contending for access to a medium, without concern for their ultimate destination. When devices attempt to use a medium simultaneously, frame collisions occur. Data-link protocols specify how devices detect and recover from such collisions, and may provide mechanisms to reduce or prevent them.

 

Layer 2 devices deliver frames using unique hardware addresses. A frame‘s header contains source and destination addresses that indicate which device originated the frame and which device is expected to receive and process it. In contrast to the hierarchical and routable addresses of the network layer, layer-2 addresses are flat, meaning that no part of the address can be used to identify the logical or physical group to which the address belongs.

 

来源

==========

Data link layer

https://en.wikipedia.org/wiki/Data_link_layer

什么是L2 frame?

标签:

原文地址:http://www.cnblogs.com/awpatp/p/4761077.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!