Logical link control
In the IEEE 802 reference model of computer networking, the logical link control (LLC) data communication protocol layer is the upper sublayer of the data link layer (layer 2) of the seven-layer OSI model. The LLC sublayer acts as an interface between the medium access control (MAC) sublayer and the network layer.
The LLC sublayer provides multiplexing mechanisms that make it possible for several network protocols (e.g. IP, IPX and DECnet) to coexist within a multipoint network and to be transported over the same network medium. It can also provide flow control and automatic repeat request (ARQ) error management mechanisms.
Operation
The LLC sublayer is primarily concerned with multiplexing protocols transmitted over the MAC layer (when transmitting) and demultiplexing them (when receiving). It can also provide node-to-node flow control and error management.
The flow control and error management capabilities of the LLC sublayer are used by protocols such as the NetBIOS Frames protocol. However, most protocol stacks running atop 802.2 do not use LLC sublayer flow control and error management. In these cases flow control and error management are taken care of by a transport layer protocol such as TCP or by some application layer protocol. These higher layer protocols work in an end-to-end fashion, i.e. re-transmission is done from the original source to the final destination, rather than on individual physical segments. For these protocol stacks only the multiplexing capabilities of the LLC sublayer are used.
Application examples
X.25 and LAPB
An LLC sublayer was a key component in early packet switching networks such as X.25 networks with the LAPB data link layer protocol, where flow control and error management were carried out in a node-to-node fashion, meaning that if an error was detected in a frame, the frame was retransmitted from one switch to next instead. This extensive handshaking between the nodes made the networks slow.
Local area network
يحدد معيار IEEE 802.2 الطبقة الفرعية LLC لجميع شبكات المنطقة المحلية IEEE 802 ، مثل IEEE 802.3 / Ethernet (عند عدم استخدام تنسيق إطار Ethernet II )، و IEEE 802.5 ، و IEEE 802.11 . كما يُستخدم معيار IEEE 802.2 في بعض الشبكات غير المتوافقة مع معيار IEEE 802، مثل FDDI .
إيثرنت
نظرًا لندرة أخطاء البتات في الشبكات السلكية، لا توفر تقنية الإيثرنت التحكم في التدفق أو طلب إعادة الإرسال التلقائي (ARQ)، مما يعني أنه يتم اكتشاف الحزم غير الصحيحة ولكن يتم إلغاؤها فقط، ولا يُعاد إرسالها (إلا في حالة التصادمات التي يكتشفها بروتوكول طبقة التحكم في الوصول إلى الوسائط CSMA/CD ). وبدلاً من ذلك، تعتمد عمليات إعادة الإرسال على بروتوكولات الطبقات العليا.
بما أن نوع الإيثرنت (EtherType) في إطار إيثرنت يستخدم تقنية تأطير إيثرنت II يُستخدم لدمج بروتوكولات مختلفة فوق رأس MAC الخاص بالإيثرنت، فإنه يُمكن اعتباره مُعرّف LLC. مع ذلك، فإن إطارات الإيثرنت التي تفتقر إلى نوع الإيثرنت لا تحتوي على مُعرّف LLC في رأس الإيثرنت، وتستخدم بدلاً من ذلك رأس IEEE 802.2 LLC بعد رأس الإيثرنت لتوفير وظيفة دمج البروتوكولات.
شبكة محلية لاسلكية
في الاتصالات اللاسلكية، تُعدّ أخطاء البتات شائعة جدًا. في الشبكات اللاسلكية مثل IEEE 802.11، يُعدّ التحكم في التدفق وإدارة الأخطاء جزءًا من بروتوكول CSMA/CA MAC، وليس جزءًا من طبقة LLC. وتتبع طبقة LLC الفرعية معيار IEEE 802.2 .
HDLC
يمكن اعتبار بعض البروتوكولات غير المتوافقة مع معيار IEEE 802 مقسمة إلى طبقتي MAC و LLC. على سبيل المثال، بينما يحدد بروتوكول HDLC وظائف MAC (تأطير الحزم) ووظائف LLC (تعدد إرسال البروتوكول، والتحكم في التدفق، والكشف، والتحكم في الأخطاء من خلال إعادة إرسال الحزم المفقودة عند الحاجة)، فإن بعض البروتوكولات مثل Cisco HDLC قد تستخدم تأطير حزم مشابهًا لبروتوكول HDLC وبروتوكول LLC خاص بها.
بروتوكول PPP وأجهزة المودم
في أجهزة مودم شبكات الهاتف ، يمكن اعتبار بروتوكولات طبقة الربط PPP بمثابة بروتوكول LLC، حيث توفر خاصية تعدد الإرسال، لكنها لا توفر التحكم في التدفق وإدارة الأخطاء. في شبكات الهاتف، قد تكون أخطاء البتات شائعة، مما يجعل إدارة الأخطاء أمرًا بالغ الأهمية، ولكن هذه الخاصية متوفرة اليوم في البروتوكولات الحديثة. ورثت بروتوكولات المودم الحالية ميزات LLC من بروتوكول طبقة الربط LAPM الأقدم ، المصمم لاتصالات المودم في شبكات X.25 القديمة.
الأنظمة الخلوية
تقوم طبقة GPRS LLC أيضًا بتشفير وفك تشفير حزم SN-PDU ( SNDCP ).
خطوط الكهرباء
Another example of a data link layer which is split between LLC (for flow and error control) and MAC (for multiple access) is the ITU-TG.hn standard, which provides high-speed local area networking over existing home wiring (power lines, phone lines and coaxial cables).
See also
- Subnetwork Access Protocol (SNAP)
- Virtual Circuit Multiplexing (VC-MUX)
References
- ↑"X.225 : Information technology – Open Systems Interconnection – Connection-oriented Session protocol: Protocol specification". Archived from the original on 1 February 2021. Retrieved 10 March 2023.
- Logical link control
