The Network Layer طبقة الشبكة
•
Provides services to allow
end devices to exchange data
توفر
خدمات للسماح للأجهزة الطرفية بتبادل البيانات
•
IP version 4 (IPv4) and IP
version 6 (IPv6) are the principle network layer communication protocols.
IP الإصدار 4 (IPv4) و IP الإصدار 6 (IPv6) هي بروتوكولات اتصال طبقة الشبكة الرئيسية.
• The network layer performs four basic operations: تقوم طبقة الشبكة بأربع عمليات أساسية
• Addressing end devices عنونة الأجهزة الطرفية
• Encapsulation التضمين
• Routing التوجيه
* De-encapsulation إلغاء التضمين
IP Encapsulation تضمين
•
IP encapsulates the
transport layer segment.
يقوم IP
بتضمين مقطع طبقة النقل بإضافة رأس IP.
•
IP can use either an IPv4
or IPv6 packet and not impact the layer 4 segment.
يمكن
أن تستخدم IP
إما حزمة IPv4
أو IPv6
ولا تؤثر على شريحة الطبقة 4.
•
IP packet will be examined
by all layer 3 devices as it traverses the network.
سيتم
فحص حزمة IP
من قبل جميع أجهزة الطبقة 3 لأنها تجتاح الشبكة.
•
The IP addressing does not
change from source to destination.
لا يتغير عنوان IP من المصدر إلى الوجهة.
Characteristics of IP
من المفترض أن
يكون IP النفقات العامة منخفضة ويمكن وصفها على
النحو التالي:
•
Connectionless غير متصل
•
Best Effort أفضل جهد
• Media Independent مستقل عن الوسائط
Connectionless غير متصل
•
IP does not establish a
connection with the destination before sending the packet.
لا يتم إنشاء
اتصال مع الوجهة قبل إرسال حزم البيانات.
•
There is no control
information needed (synchronizations, acknowledgments, etc.).
لا توجد
معلومات تحكم مطلوبة (المزامنة، الإقرارات، إلخ).
•
The destination will
receive the packet when it arrives, but no pre-notifications are sent by IP.
ستتلقى الوجهة
الحزمة عند وصولها، ولكن لا يتم إرسال أي إشعارات مسبقة بواسطة IP.
•
If there is a need for
connection-oriented traffic, then another protocol will handle this (typically
TCP at the transport layer).
إذا كانت هناك
حاجة لحركة المرور الموجهة نحو الاتصال، فسيتعامل بروتوكول آخر مع هذا (عادة TCP
في طبقة النقل).
Best Effort أفضل جهد
IP is Best Effort
•
IP will not guarantee
delivery of the packet. تسليم الحزمة. IP
لن يضمن
•
IP has reduced overhead
since there is no mechanism to resend data that is not received.
خفضت IP
النفقات العامة لأنه لا توجد آلية لإعادة إرسال البيانات التي لم يتم تلقيها.
•
IP does not expect
acknowledgments. لا يتوقع الاقرارات. IP
•
IP does not know if the
other device is operational or if it received the packet.
لا يعرف IP
ما إذا كان الجهاز الآخر قيد التشغيل أو ما إذا كان قد تلقى الحزمة.
Media Independent الاستقلال عن
الوسائط
IP is unreliable: لا يمكن الوثوق
به IP
•
It cannot manage or fix
undelivered or corrupt packets.
لا يمكن إدارة أو إصلاح الحزم غير المسلمة أو التالفة.
•
IP cannot retransmit
after an error.
لا يمكن لـ IP
إعادة الإرسال بعد حدوث خطأ.
•
IP cannot realign out of
sequence packets.
•
IP must rely on other
protocols for these functions.
يجب أن
تعتمد IP على بروتوكولات أخرى لهذه الوظائف.
IP is media Independent: مستقلا عن الوسائط IP
•
IP does not concern
itself with the type of frame required at the data link layer or the media type
at the physical layer.
لا يهتم IP
بنوع الإطار المطلوب في طبقة ارتباط البيانات أو نوع الوسائط في الطبقة الفعلية.
•
IP can be sent over any
media type: copper, fiber, or wireless.
يمكن إرسال IP
عبر أي نوع من الوسائط: النحاس، الألياف، أو اللاسلكية.
The network layer will establish the Maximum Transmission Unit (MTU).
ستقوم طبقة الشبكة بإنشاء وحدة الإرسال القصوى (MTU).
•
Network layer receives
this from control information sent by the data link layer.
طبقة الشبكة
تتلقى هذا من معلومات التحكم المرسلة بواسطة طبقة ارتباط البيانات.
•
The network then
establishes the MTU size.
ثم تقوم الشبكة
بتحديد حجم MTU.
Fragmentation
is when Layer 3 splits the IPv4 packet into smaller units.
التجزؤ هو عندما
تقوم الطبقة 3 بتقسيم حزمة IPv4 إلى وحدات أصغر.
•
Fragmenting causes
latency. يؤدي التجزؤ إلى زمن الاستجابة.
•
IPv6 does not fragment
packets. بتجزئة الحزم IPv6.لا يقوم
•
Example: Router goes
from Ethernet to a slow WAN with a smaller MTU
مثال: ينتقل
الموجه من إيثرنت إلى WAN بطيئة مع MTU أصغر