السبت، 4 فبراير 2012

طبقة وصلة البيانات Data-Link Layer

الاضافة رقم:11
الشهادة +CompTIA Network
الفصل 1 : اساسيات التشبيك  CHAPTER 1: NETWORKING BASICS 

طبقة وصلة البيانات   Data-Link Layer



- البروتوكول في طبقة وصلة البيانات هو:
الانبوب بين اجهزة تشبيك الكمبيوتر وبرامج تشبيكه.
-The protocol at the data-link layer is:
 the conduit between the computer’s networking hardware and its  networking software.
------------------------------------------------------------
- تمرر بروتوكولات طبقة الشبكة بياناتها نزولاً الى:
بروتوكول طبقة وصلة البيانات الذي يحزم البيانات ليرسلها عبر الشبكة وعندما تتلقى الانظمة الاخرى على الشبكة البيانات المرسلة تعالجها بروتوكولات طبقتها وتمررها صعوداً الى طبقة الشبكة.
- Network layer protocols pass their outgoing data down to the:
 data-link layer protocol, which packages the data for transmission over the network. When the other systems on the network receive the transmitted data, their data-link layer protocols process it and pass it up to the network layer.
------------------------------------------------------------
- ما هو دور بروتوكول طبقة وصلة البيانات في تصميم وبناء شبكة LAN :
# تحديد اجهزة التشبيك التي ستشتريها
# وكيف ستثبتها
- What is the role or part of data-link layer protocol in designing and building a LAN:
# determining what networking hardware you buy
# and how you install it
------------------------------------------------------------
- لتطبيق بروتوكول لطبقة وصلة البيانات تحتاج الى الاجهزة والبرامج التالية:
# بطاقات الشبكة
# كبلات شبكة (او وسائط اخرى) واجهزة توصيل
# موزعات كبلات او بدالات (في بعض الحالات)
# تعريفات لبطاقات الشبكة
- To implement a data-link layer protocol, you need the following hardware and software:
# Network interface adapters
# Network cables (or other media) and connecting hardware
# Network hubs or switches (in some cases)
# Network adapter drivers
------------------------------------------------------------
- بروتوكول طبقة وصلة البيانات الاكثر شعبية في الشبكة هذه الايام (وفي كل تاريخ الشبكات LAN) هو:
# الايثرنت
# توكن رينغ في المرتبة الثانية
# تليه البروتوكولات الاخرى كـ :
   - FDDI (واجهة البيانات الموزعة بالالياف)
   - ATM
- the most popular data-link layer LAN protocol in use today (and throughout the history of the LAN) is:
# Ethernet
# Token Ring is a distant second
# followed by other protocols, such as:
   - Fiber Distributed Data Interface (FDDI)
   - ATM.
------------------------------------------------------------
واجهة البيانات الموزعة بالالياف   FDDI: Fiber Distributed Data Interface
------------------------------------------------------------
 
------------------------------------------------------------
- تتضمن مواصفات بروتوكولات طبقة وصلة البيانات عادة العناصر الاساسية الثلاثة التالية:
# تنسيق اللوح أي الرأس والتذييل المطبقين على بيانات طبقة الشبكة قبل الارسال
# آلية لتنظيم الوصول الى وسائط الشبكة
# مواصفات واحدة او اكثر للطبقة المادية للاستعمال مع البروتوكول
- The specifications for data-link layer LAN protocols typically include the following three basic elements:
# A format for the frame (that is, the header and footer applied to the network layer
  data before transmission)
# A mechanism for regulating access to the network medium
# One or more physical layer specifications for use with the protocol
------------------------------------------------------------
سنناقش هذه المكونات الثلاثة في الاقسام التالية:
These three components are discussed in the following sections:
------------------------------------------------------------
◄ تنسيق اللوح   Frame Format

- تنسيق اللوح:
يغلف بروتوكول طبقة وصلة البيانات، البيانات التي يتلقاها من بروتوكول طبقة الشبكة باضافة رأس وتذييل مما يشكل لوحاً كما هو موضح في الشكل 1-6
- Frame Format:
The data-link layer protocol encapsulates the data it receives from the network layer protocol by adding a header and footer, forming a frame (as shown in Figure 1-6).
 
------------------------------------------------------------
- تعريفات:
# اللوح (Frame): الوحدة PDU التي ينشئها بروتوكول طبيقة وصلة البيانات
# وحدات البيانات(Datagrams):الوحدة PDU التي ينشئها بروتوكول طبقة الشبكة
# الرزمة(Packet): مصطلح سائب  او عام يستعمل لوصف الوحدة PDU في أي مرحلة في عملية تغليف البيانات
- Definitions:
# Frame: The PDU created by a data-link layer protocol
# datagrams: The PDU created by a network layer protocol
# Packet:  is a more generic term used to describe the PDU at any stage of the data encapsulation process.
------------------------------------------------------------
- وظائف لوح بروتوكول طبقة وصلة البيانات في الشبكة LAN تتضمن التالي:
- The functions of the data-link layer frame for a LAN protocol include the following:
  
1- العنونة   Addressing

لمتابعة التشبيه البريدي المذكور سابقاً في هذا الفصل ، رأس وتذييل بروتوكول طبقة وصلة البانات مرادفان للمغلف المستعمل للرسالة يحتوي الرأس على عنوان النظام و وجهتها . لبروتوكولات الشبكة LAN كالايثرنت وتوكن رينغ تلك العناوين هي سلاسل سدس عشرية طولها 6 بايت تسمى العناوين عناوين جهازية  او عناوين التحكم بالوصول الى الوسائط(MAC).
To continue the postal analogy mentioned earlier in this chapter, the data-link layer protocol’s header and footer are the equivalent of the envelope used to mail a letter. The header contains the address of the system sending the packet and the address of its destination system. For LAN protocols like Ethernet and Token Ring, these addresses are 6-byte hexadecimal strings. The addresses are referred to as hardware addresses or Media Access Control (MAC).
------------------------------------------------------------
التحكم بالوصول للوسائط    MAC: Media Access Control
------------------------------------------------------------
- عنوان MAC:
هي سلال سدس عشرية طولها 6 بايت معينه لبطاقات الشبكة من قبل صانعيها.
- MAC Address:
6-byte hexadecimal strings assigned to network interface adapters by their manufacturers.
------------------------------------------------------------
- ملاحظة (اتصالات طبقة وصلة البانات):
من المهم فهم ان بروتوكولات طبقة وصلة البيانات لا تتعلق بتسليم الرزم الى وجهتها النهائية الا اذا كانت الوجهة موجودة على نفس الشبكة كالمصدر تقتصر بروتوكولات طبقة وصلة البيانات عند الاتصال بالانظمة الموجودة على نفس الشبكة LAN . العنوان الجهازي في رأس بروتوكول طبقة وصلة البيانات يشير دائماً الى كمبيوتر على نفس الشبكة المحلية حتى ولو كانت الوجهة النهائية للبيانات هي نظام اخر على شبكة اخرى.
- NOTE Data-Link Communications:
 It’s important to understand that data-link layer protocols aren’t concerned with the delivery of packets to their final destination unless the destination is on the same network as the source. Data-link layer protocols are limited to communication with systems on the same LAN. The hardware address in a data-link layer protocol header always refers to a computer on the same local network, even if the data’s ultimate destination is a system on another network.
------------------------------------------------------------
- الاتصالات بالشبكات الاخرى هي مسؤولية:
بروتوكول طبقة الشبكة.
- communications with other networks, that’s responsible for:
network layer protocol.
------------------------------------------------------------
2- تعريف بروتوكول طبقة الشبكة Network layer protocol identification

يحتوي لوح بروتوكول طبقة وصلة البيانات عادة  على شفرة تحدد أي بروتوكول لطبقة الشبكة ولد البيانات في الرزمة لكي يستطيع بروتوكول طبقة وصلة البيانات على النظام المتلقي ان يمرر البيانات الى البروتوكول الملائم في طبقة شبكته.
A computer can use multiple protocols at the network layer, and the data-link layer protocol frame usually contains a code that specifies which network layer protocol generated the data in the packet so that the data-link layer protocol on the receiving system can pass the data to the appropriate protocol at its own network layer.
------------------------------------------------------------
3- اكتشاف الأخطاء    Error Detection

- عملية فحص التكرار الدوري (CRC):
عملية حسابية تتضمنها بروتوكولات طبقة وصلة البيانات وينفذها النظام المرسل على بيانات الحمولة ثم يضع النتائج في تذييل اللوح ، عند تلقي الرزمة ينفذ النظام المتلقي نفس العملية الحسابية ويقارن نتائجه بتلك المكتوبة في التذييل اذا تطابقت النتائج تكون البانات قد وصلت بنجاح . والا سيفرض النظام المتلقي ان الرزمة معطوبة ويرميها
- cyclical redundancy check(CRC):
computation including in data-link layer protocols performed on the payload data by the transmitting system, the results of which are included in the frame’s footer. On receiving the packet, the receiving system performs the same computation and compares its results to those in the footer. If the results match, the data has been transmitted successfully. If they don’t, the receiving system assumes that the packet is corrupted and discards it.
------------------------------------------------------------
◄ التحكم بالوصول الى الوسائط   Media Access Control

- آلية التحكم بالوصول الى الوسائط (MAC):
هي احدى الوظائف الرئيسية  لبروتوكول طبقة وصلة البيانات في الشبكات التي ترسل البيانات في الوقت نفسه هذه الآلية تنظم استخدام وسائط الشبكة وتعطي كل كمبيوتر نفس الفرصة ليرسل بياناته مع تقليل حصول تصادمات الرزم .
- Media Access Control (MAC) mechanism:
it's One of the primary functions of the data-link layer protocol on the networks that transmit data at the same time. this mechanism regulates access to the network medium. and provides each computer with an equal opportunity to transmit its data, while minimizing the occurrence of packet collisions.
------------------------------------------------------------
◄ مواصفات الطبقة المادية   Physical Layer Specifications

- تستطيع الآليات MAC المستعملة في الشبكات MAC ان تعمل فقط في الشبكات التي:
تطيع (تتماشى مع او تتوافق مع) مواصفات الطبقة المادية المشمولة في معايير بروتوكول طبقة وصلة البيانات.
- The MAC mechanisms used on LANs can function only on networks that:
 comply with physical layer specifications included in the data-link layer protocol standards.
------------------------------------------------------------
مثلاً :
اذا تخطت شبكة الايثرنت الطول الأقصى المسموح للكبل في معايير البروتوكول ، لا تستطيع الكمبيوترات ان تكتشف الاخطاء عندما تحدث.
- For example:
 if an Ethernet network exceeds the maximum cable length restrictions in the protocol standard, the computers can’t reliably detect collisions when they occur.
------------------------------------------------------------
- احد الاسباب الرئيسية التي تجعل بروتوكولات طبقة وصلة البيانات للشبكة LAN كالايثرنت وتوكن رينغ تتضمن الطبقة المادية هي:
MAC
- one of the primary reasons that LAN data-link layer protocols such as Ethernet and Token Ring encompass the physical layer as well is:
MAC
------------------------------------------------------------
- توصيلات الشبكة WAN لا تحتاج الى اليات MAC.لماذا؟
لان توصيلات الشبكة WAN هي توصيلات نقطة-الى-نقطة عادة بين نظامين.
- WAN links don’t need MAC mechanisms. why?
Because WAN links are usually point-to-point connections between two systems only.
------------------------------------------------------------
- لذا :
بروتوكولات طبقة وصلة البيانات التي تستعملها الشبكة WAN غير مربوطة بمعايير محددة للطبقة المادية .
- So:
the data-link layer protocols that WANs use aren’t bound to specific physical layer standards.
------------------------------------------------------------
بروتوكول الانترنت تسلسلي الخط SLIP: Serial Line Internet Protocol
------------------------------------------------------------



هناك تعليقان (2):