You are on page 1of 37

‫ التوجيه الديناميكي‬:3 ‫حاضرة‬3‫ا‬

Lecture 3: Dynamic Routing


Instructor Materials
‫درب‬$‫مواد ا‬

CCNA Routing and Switching


Routing and Switching Essentials v6.0
Lecture 6- Sections & Objectives ‫هداف‬%‫قسام وا‬%‫ ا‬-6 ‫حاضرة‬/‫ا‬

 6.1 Dynamic Routing Protocols ‫ت التوجيه الديناميكي‬0‫ بروتوكو‬6.1

• Explain the function of dynamic routing protocols. ‫ت التوجيه الديناميكي‬0‫شرح وظيفة بروتوكو‬

• Explain the purpose of dynamic routing protocols. ‫ت التوجيه الديناميكي‬0‫اشرح الغرض من بروتوكو‬
• Explain the use of dynamic routing and static routing. ‫اشرح استخدام التوجيه الديناميكي والتوجيه الثابت‬
 6.2 RIPv2 6.2 RIPv2
• Implement RIPv2. RIPv2 ‫تنفيذ‬

• Configure the RIPv2 routing protocol. RIPv2 ‫قم بتكوين بروتوكول توجيه‬

• 6.3 The Routing Table ‫ جدول التوجيه‬6.3


!‫دارية والقياس 'سار مع‬1‫حدد مصدر ا'سار وا'سافة ا‬
• Determine the route source, administrative distance, and metric for a given route.
• Explain the components of an IPv4 routing table entry for a given route. !‫ 'سار مع‬IPv4 ‫اشرح مكونات إدخال جدول توجيه‬
• Explain the parent/child relationship in a dynamically built routing table. ‫ التابع في جدول توجيه مبني ديناميكيًا‬/ ‫صل‬F‫قة ا‬I‫اشرح الع‬
• Determine which route will be used to forward a IPv4 packet. IPv4 ‫عادة توجيه حزمة‬. ‫سار الذي سيتم استخدامه‬:‫حدد ا‬
• Determine which route will be used to forward a IPv6 packet. IPv6 ‫عادة توجيه حزمة‬. ‫سار الذي سيتم استخدامه‬:‫حدد ا‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 2
‫ت التوجيه الديناميكي‬0‫ بروتوكو‬3.1

3.1 Dynamic Routing


Protocols

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3
Dynamic Routing Protocol Overview ‫نظرة عامة حول بروتوكول التوجيه الديناميكي‬

Dynamic Routing Protocol Overview ‫نظرة عامة حول بروتوكول التوجيه الديناميكي‬

‫ستيعاب النمو في بيئة الشبكة‬4 RIPv2 ‫ إلى‬RIP ‫تم تحديث بروتوكول‬


 RIP protocol was updated to RIPv2 to accommodate growth in the network environment
• RIPv2 does not scale to current larger network implementations ‫ مع تطبيقات الشبكة ا*كبر الحالية‬RIPv2 ‫ يتناسب‬8
:‫ت التوجيه التي تم تطويرها لتلبية احتياجات الشبكات ا)كبر ما يلي‬:‫تشمل بروتوكو‬
 Routing Protocols developed to meet the need of larger networks include:
• Open Shortest Path First (OSPF) (OSPF) ً"‫فتح أقصر مسار أو‬

• Intermediate System-to-Intermediate System (IS-IS). (IS-IS) ‫نظام متوسط إلى وسيط‬

• Enhanced IGRP (EIGRP) IGRP ‫حسن‬$‫( ا‬EIGRP)


 Border Gateway Protocol (BGP) is used between Internet service providers (ISPs)
(ISPs) ‫نترنت‬%‫ مزودي خدمة ا‬/‫( ب‬BGP) ‫يستخدم بروتوكول بوابة الحدود‬
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4
Dynamic Routing Protocol Overview ‫نظرة عامة حول بروتوكول التوجيه الديناميكي‬

Dynamic Routing Protocol Components


:‫ت التوجيه الديناميكي ما يلي‬1‫يشمل الغرض من بروتوكو‬
‫مكونات بروتوكول التوجيه الديناميكي‬  Purpose of dynamic routing protocols includes:
‫اكتشاف الشبكات البعيدة‬
• Discovery of remote networks
‫حدثة‬2‫الحفاظ على معلومات التوجيه ا‬
• Maintaining up-to-date routing information
‫اختيار أفضل مسار لشبكات الوجهة‬
• Choosing the best path to destination networks
• Ability to find a new best path if the current path is no
longer available ‫القدرة على العثور على أفضل مسار جديد إذا لم يعد‬
‫ا>سار الحالي متاحًا‬
 The main components of dynamic routing
‫كونات الرئيسية لبروتوكو)ت التوجيه‬5‫تشمل ا‬
protocols include: :‫الديناميكي ما يلي‬
‫حفوظة في ذاكرة الوصول العشوائي‬3‫ الجداول أو قواعد البيانات ا‬- ‫هياكل البيانات‬ • Data structures - tables or databases kept in RAM.
‫كتشاف أجهزة‬+ - ‫رسائل بروتوكول التوجيه‬ • Routing protocol messages - to discover neighboring
، ‫ وتبادل معلومات التوجيه‬، ‫جاورة‬B‫التوجيه ا‬ routers, exchange routing information, and maintain
‫والحفاظ على معلومات دقيقة حول الشبكة‬ accurate information about the network.
‫ لتسهيل تعلم معلومات‬- ‫الخوارزميات‬ • Algorithms – to facilitate learning routing information
‫التوجيه ولتحديد أفضل للمسار‬ and for best path determination.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
Dynamic versus Static Routing ‫التوجيه الديناميكي مقابل التوجيه الثابت‬

Static Routing Uses ‫يستخدم التوجيه الثابت‬

 Networks often use both static


and dynamic routing. ‫غالبًا ما تستخدم الشبكات التوجيه الثابت والديناميكي‬
 Static Routing is used as :‫يستخدم التوجيه الثابت على النحو التالي‬

follows:
• For easy routing table ‫لسهولة صيانة جدول التوجيه في الشبكات الصغيرة‬
maintenance in small networks.
• Routing to and from a stub
network. ‫التوجيه من وإلى شبكة كعب‬
• Accessing a single default route.
‫الوصول إلى مسار افتراضي واحد‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
Dynamic versus Static Routing ‫التوجيه الديناميكي مقابل التوجيه الثابت‬
Static Routing Advantages and Disadvantages
‫مزايا وعيوب التوجيه الثابت‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
Dynamic versus Static Routing ‫التوجيه الديناميكي مقابل التوجيه الثابت‬

Dynamic Routing Protocols Uses


‫فضل للشبكات الكبيرة‬/‫التوجيه الديناميكي هو الخيار ا‬
‫ت التوجيه الديناميكي‬0‫استخدامات بروتوكو‬
 Dynamic routing is the best
choice for large networks
:‫تساعد بروتوكو>ت التوجيه الديناميكي مسؤول الشبكة على إدارة الشبكة‬
 Dynamic routing protocols help
the network administrator
manage the network:
‫توفير مسارات زائدة عن الحاجة‬
• Providing redundant paths
• Automatically implementing the
alternate path when a link goes
down. ‫سار البديل تلقائيًا عند تعطل ا&رتباط‬6‫تنفيذ ا‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
Dynamic versus Static Routing ‫التوجيه الديناميكي مقابل التوجيه الثابت‬

Dynamic Routing Advantages and Disadvantages


‫مزايا وعيوب التوجيه الديناميكي‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9
6.2 RIPv2

6.2 RIPv2

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
Dynamic versus Static Routing ‫التوجيه الديناميكي مقابل التوجيه الثابت‬

Router RIP Configuration Mode ‫ لجهاز التوجيه‬RIP ‫وضع تكوين‬

RIP v1 !‫ لتمك‬router rip ‫استخدم ا(مر‬


 Use the router rip command to enable RIP v1

 Use the no router rip command to disable RIP


RIP ‫ لتعطيل‬no router rip ‫استخدم ا(مر‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
Configuring the RIP Protocol RIP ‫تكوين بروتوكول‬

Advertise Networks ‫أعلن عن الشبكات‬


:‫أمر وضع تكوين جهاز توجيه عنوان الشبكة‬
 The network network-address
router configuration mode
command: ‫ على جميع الواجهات التي‬RIP 0‫لتمك‬
‫تنتمي إلى شبكة معينة‬
• Enables RIP on all interfaces that
belong to a specific network
• Advertises the network in RIP routing
updates sent to other routers every 30
seconds. RIP ‫يعلن عن الشبكة في تحديثات توجيه‬
‫ ثانية‬30 ‫رسلة إلى أجهزة التوجيه ا?خرى كل‬H‫ا‬

Note: RIPv1 is a classful routing protocol


for IPv4. IPv4 ‫ هو بروتوكول توجيه من فئة‬RIPv1 :‫حظة‬Q‫م‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
Configuring the RIP Protocol RIP ‫تكوين بروتوكول‬

Verify RIP Routing RIP ‫تحقق من توجيه‬

show ip route – displays RIP routes


installed in the routing table.
show ip route - ‫ يعرض مسارات‬RIP ‫ثبتة في جدول التوجيه‬9‫ا‬
show ip protocols – displays IPv4 routing
protocols configured on the router.
‫ يعرض بروتوكو'ت توجيه‬- IP ‫عرض بروتوكو'ت‬
‫ ا;كونة على جهاز التوجيه‬IPv4
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
Configuring the RIP Protocol RIP ‫تكوين بروتوكول‬

Enable and Verify RIPv2 RIPv2 !‫ لتمك‬version 2 router mode configuration ‫استخدم ا(مر‬
RIPv2 ‫تمك* والتحقق من‬
 Use the version 2 router
configuration mode command to
enable RIPv2
RIPv2 ‫ للتحقق من تكوين‬show ip protocols ‫استخدم ا(مر‬
 Use the show ip protocols
command to verify that RIPv2 is
configured.
 Use the show ip route
command to verify the RIPv2
routes in the routing table.
‫ للتحقق من‬show ip route ‫استخدم ا*مر‬
‫ في جدول التوجيه‬RIPv2 ‫مسارات‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
Configuring the RIP Protocol RIP ‫تكوين بروتوكول‬

Disable Auto Summarization ‫ تلقائيًا بتلخيص الشبكات عند حدود الشبكة الرئيسية‬RIPv2 ‫يقوم‬
‫تعطيل التلخيص التلقائي‬
 RIPv2 automatically
summarizes networks at major
network boundaries.
‫ لتعطيل التلخيص التلقائي‬no auto-abstract ‫استخدم أمر وضع تكوين جهاز التوجيه‬
 Use the no auto-summary
router configuration mode
command to disable auto
summarization.
 Use the show ip protocols
command to verify that auto
summarization is off.
‫ للتحقق‬show ip protocols ‫مر‬C‫استخدم ا‬
‫من إيقاف تشغيل التلخيص التلقائي‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15
Configuring the RIP Protocol RIP ‫تكوين بروتوكول‬

Configure Passive Interfaces ‫تكوين الواجهات الخاملة‬


 RIP updates: :RIP ‫تحديثات‬
• Are forwarded out all RIP-enabled
interfaces by default. ‫ افتراضيًا‬RIP ‫مكّنة لـ‬0‫يتم إعادة توجيه جميع الواجهات ا‬
• Only need to be sent out interfaces that are
connected to other RIP-enabled routers.
RIP ‫تحتاج فقط إلى إرسال واجهات متصلة بأجهزة توجيه أخرى ممكّنة لـ‬
 Sending RIP updates to LANs wastes
bandwidth, wastes resources, and is a
security risk. ‫حلية‬%‫ إلى نفايات الشبكات ا‬RIP ‫إرسال تحديثات‬
.‫ ويمثل مخاطرة أمنية‬، ‫وارد‬%‫ وإهدار ا‬، ‫عرض النطاق الترددي‬
 Use the passive-interface router
configuration command to stop routing
updates out the interface. Still allows
that network to be advertised to other
routers.
‫يقاف توجيه التحديثات خارج‬4 ‫استخدم أمر تكوين جهاز التوجيه الخامل‬
‫خرى‬A‫جهزة التوجيه ا‬A ‫ن عن تلك الشبكة‬K‫ع‬4‫ يزال يسمح با‬Q .‫الواجهة‬
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
Configuring the RIP Protocol RIP ‫تكوين بروتوكول‬

Propagate a Default Route R1 ‫نترنت على‬2‫ يتم تكوين مسار افتراضي ثابت ل‬، ‫في الرسم التخطيطي‬
‫سار ا'فتراضي‬+‫نشر ا‬
 In the diagram a default static
route to the Internet is configured
on R1.
 The default-information
originate router configuration
command instructs R1 to send the
default static route information in
the RIP updates.
R1 ‫فتراضية يوجه‬,‫علومات ا‬2‫يقوم أمر تكوين جهاز التوجيه با‬
RIP ‫فتراضية في تحديثات‬,‫سار الثابتة ا‬2‫رسال معلومات ا‬E

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17
Configuring the RIP Protocol RIP ‫تكوين بروتوكول‬

Packet Tracer - Configuring RIPv2


Packet Tracer - ‫ تكوين‬RIPv2

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
Configuring the RIP Protocol RIP ‫تكوين بروتوكول‬

Lab - Configuring Basic RIPv2


RIPv2 ‫ تكوين أساسي‬- ‫مختبر‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19
‫ جدول التوجيه‬6.3

6.3 The Routing Table

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20
Parts of an IPv4 Route Entry IPv4 ‫أجزاء من مدخل مسار‬

Routing Table Entries


‫ت جدول التوجيه‬6‫إدخا‬

Routing Table for R1 R1 ‫جدول التوجيه لـ‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 21
‫( تلقائيًا إلى جدول‬C) ‫تصلة مباشرة‬7‫تتم إضافة الشبكات ا‬
Parts of an IPv4 Route Entry IPv4 ‫أجزاء من مدخل مسار‬
‫التوجيه عند تكوين الواجهة وتنشيطها‬

Directly Connected Entries  Directly Connected Networks (C) are


‫ت متصلة مباشرة‬7‫إدخا‬ automatically added to the routing table
when the interface is configured and
activated.
:‫علومات التالية‬,‫ت على ا‬/‫دخا‬2‫تحتوي ا‬
 Entries contain the following information:
‫ كيف تم تعلم الطريق‬- ‫مصدر الطريق‬
• Route source - how the route was learned.
‫ الشبكة البعيدة‬- ‫شبكة الوجهة‬
• Destination network – remote network.
‫عادة توجيه الحزم إلى الوجهة‬3 ‫ستخدمة‬9‫ واجهة الخروج ا‬- ‫الواجهة الصادرة‬
• Outgoing Interface – exit interface used to
forward packets to destination.
:‫ت مصدر الطريق ا)خرى ما يلي‬2‫تشمل إدخا‬
 Other route source entries include:
• S –Static Route S- ‫الطريق الثابت‬
• D – EIGRP routing protocol EIGRP ‫ بروتوكول توجيه‬- ‫د‬
• O – OSPF routing protocol O - ‫ بروتوكول توجيه‬OSPF

• R - RIP routing protocol R - ‫ بروتوكول توجيه‬RIP

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 22
Parts of an IPv4 Route Entry IPv4 ‫أجزاء من مدخل مسار‬

Remote Network Entries :‫علومات التالية‬5‫تحتوي مسارات الشبكات البعيدة على ا‬


‫ت الشبكة البعيدة‬,‫إدخا‬  Routes to remote networks contain the
following information:
‫ كيف تم تعلم الطريق‬- ‫مصدر الطريق‬
• Route source – how route was learned
• Destination network ‫شبكة وجهاتنا‬
(‫سافة ا'دارية )م‬+‫ا‬
• Administrative distance (AD) -
‫جدارة بالثقة من الطريق‬
trustworthiness of the route.
‫فضل‬$‫قل هو ا‬$‫ ا‬.‫خصصة للوصول إلى الشبكة البعيدة‬9‫ القيمة ا‬- ‫متري‬
• Metric – value assigned to reach the remote
network. Lower is better.
‫ للموجه التالي الذي يجب إعادة توجيه الحزمة إليه‬IPv4 ‫ عنوان‬- ‫الخطوة التالية‬
• Next hop – IPv4 address of the next router
that the packet should be forwarded to.
• Route timestamp – time since the route was
updated. ‫سار‬$‫ الوقت منذ تحديث ا‬- ‫الطابع الزمني للمسار‬
• Outgoing interface - the exit interface to use
to forward the packet ‫ واجهة الخروج‬- ‫الواجهة الصادرة‬
‫عادة توجيه الحزمة‬F ‫ستخدمة‬$‫ا‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23
Dynamically Learned IPv4 Routes ‫كتسبة ديناميكيًا‬-‫ ا‬IPv4 ‫مسارات‬

Routing Table Terms ‫شروط جدول التوجيه‬

 The routing table is a hierarchical


structure that is used to speed up the
lookup process when locating routes and
forwarding packets. ‫الحزم‬
‫جدول التوجيه عبارة عن بنية هرمية تُستخدم لتسريع‬
‫سارات وإعادة توجيه‬C‫عملية البحث عند تحديد ا‬

 The hierarchy includes: :‫يتضمن التسلسل الهرمي‬

• Ultimate Routes ‫الطرق النهائية‬

• Level 1 routes 1 ‫ستوى‬%‫طرق ا‬

• Level 1 parent routes 1 ‫ستوى‬%‫طرق رئيسية من ا‬

• Level 2 child routes 2 ‫ستوى‬%‫سارات الفرعية من ا‬%‫ا‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 24
Dynamically Learned IPv4 Routes
Ultimate Route ‫كتسبة ديناميكيًا‬-‫ ا‬IPv4 ‫مسارات‬

 An ultimate route is a routing table


entry that contains either a next-hop
IPv4 address or an exit interface.
 Directly connected, dynamically
learned, and local routes are
ultimate routes.
‫سار النهائي هو إدخال جدول التوجيه الذي يحتوي‬-‫ا‬
‫ للخطوة التالية أو واجهة خروج‬IPv4 ‫إما على عنوان‬

‫تعلم‬%‫تصلة بشكل مباشر وا‬%‫سارات ا‬%‫ا‬


‫حلية هي طرق نهائية‬%‫ديناميكيًا وا‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 25
Dynamically Learned IPv4 Routes ‫كتسبة ديناميكيًا‬-‫ ا‬IPv4 ‫مسارات‬
Level 1 Route 1 ‫ستوى‬-‫طريق ا‬ :1 ‫ستوى‬%‫سار من ا‬%‫يمكن أن يكون ا‬

 A level 1 route can be a:


‫صنف‬$‫سار القناع ا‬$ ٍ‫ مسار شبكة يحتوي على قناع شبكة فرعية مساو‬- ‫مسار الشبكة‬
• Network route - a network route that
has a subnet mask equal to that of the
classful mask.
‫ عنوان ملخص‬، ‫ثال‬.‫ على سبيل ا‬، ‫صنف‬.‫ عنوان شبكة يحتوي على قناع أقل من القناع ا‬- ‫مسار سوبرنت‬
• Supernet route - a network address
with a mask less than the classful
mask, for example, a summary
address.
• Default route - a static route with the
address 0.0.0.0/0
‫ مسار ثابت مع العنوان‬- ‫فتراضي‬O‫سار ا‬.‫ا‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 26
Dynamically Learned IPv4 Routes ‫كتسبة ديناميكيًا‬-‫ ا‬IPv4 ‫مسارات‬

Level 1 Parent Route ‫كتسبة ديناميكيًا‬-‫ ا‬IPv4 ‫مسارات‬


‫ مقسم إلى شبكات فرعية‬1 ‫ستوى‬5‫سار ا=صلي هو مسار شبكة من ا‬5‫ا‬
 A parent route is a level 1 network
route that is subnetted.
‫حددة التي يحتوي عليها‬1‫ فإنه يوفر بشكل أساسي عنوانًا للشبكات الفرعية ا‬، ‫في جدول التوجيه‬
 In the routing table, it basically provides
a heading for the specific subnets it
contains.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 27
Dynamically Learned IPv4 Routes ‫كتسبة ديناميكيًا‬-‫ ا‬IPv4 ‫مسارات‬
‫ هو مسار يمثل شبكة فرعية لعنوان شبكة مصنف‬2 ‫ا<سار الفرعي من ا<ستوى‬
Level 2 Child Route
2 ‫ستوى‬-‫طفال من ا‬7‫طريق ا‬  A level 2 child route is a route that is
a subnet of a classful network
address.
2 ‫ستوى‬%‫ على مسارات فرعية من ا‬1 ‫ستوى‬%‫سارات الرئيسية من ا‬%‫تحتوي ا‬
 Level 1 parent routes contain level 2
child routes.
‫ هي أيضًا طرق نهائية‬2 ‫ستوى‬4‫الطرق الفرعية من ا‬
 Level 2 child routes are also ultimate
routes.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 28
The IPv4 Route Lookup Process IPv4 ‫عملية بحث مسار‬
:‫عملية البحث عن جهاز التوجيه‬ ‫إذا كان أفضل تطابق هو ا*سار النهائي‬

Route Lookup Process ‫سار‬$‫عملية بحث ا‬  Router lookup process: ‫ فسيتم استخدام هذا‬، 1 ‫من ا*ستوى‬
‫عادة توجيه الحزمة‬M ‫ا*سار‬

• If the best match is a level 1 ultimate


route, then this route is used to forward
، 1 ‫إذا كان أفضل تطابق هو ا&سار النهائي من ا&ستوى‬
the packet. ‫عادة توجيه الحزمة‬G ‫فسيتم استخدام هذا ا&سار‬
• If the best match is a level 1 parent route,
the router then examines child routes (the
subnet routes). ، 2 ‫إذا كان هناك تطابق مع مسار فرعي من ا&ستوى‬
‫عادة توجيه الحزمة‬E ‫يتم استخدامه‬
• If there is a match with a level 2 child
route, that is used to forward the packet.
• If there is no match with level 2 child
‫سارات الفرعية من‬.‫ إذا لم يكن هناك تطابق مع ا‬routes, the router searches level 1
‫ستوى‬.‫ يبحث جهاز التوجيه عن ا‬، 2 ‫ستوى‬.‫ ا‬supernet or default routes. If there is a
‫ إذا كان‬.‫فتراضية‬K‫سارات ا‬.‫ أو ا‬supernet 1 match, that route is used.
‫ فسيتم استخدام هذا الطريق‬، ‫هناك تطابق‬
• If there is no match found in the routing
table the packet is dropped.
‫ يتم إسقاط الحزمة‬، ‫إذا لم يتم العثور على تطابق في جدول التوجيه‬
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 29
The IPv4 Route Lookup Process IPv4 ‫عملية بحث مسار‬

Best Route = Longest Match ‫أفضل طريق = أطول مباراة‬

 The best match is the route in the


routing table that has the most number
of far left matching bits with the
destination IPv4 address of the packet.
 The route with the greatest number of
equivalent far left bits, or the longest
match, is always the preferred route.

‫أفضل تطابق هو ا<سار في جدول التوجيه الذي يحتوي على أكبر عدد‬
‫ الوجهة للحزمة‬IPv4 ‫من وحدات البت ا<طابقة أقصى اليسار مع عنوان‬

‫دائمًا ما يكون ا<سار الذي يحتوي على أكبر عدد من وحدات بت‬
‫ هو ا<سار ا<فضل‬، ‫ أو أطول تطابق‬، ‫أقصى اليسار ا<كافئة‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 30
Analyze an IPv6 Routing Table IPv6 ‫تحليل جدول توجيه‬

IPv6 Routing Table Entries IPv6 ‫إدخا*ت جدول توجيه‬

‫ مسارات متصلة مباشرة وثابتة ومتعلمة ديناميكيًا‬IPv6 ‫يتضمن جدول توجيه‬

 An IPv6 routing table includes directly


connected, static and dynamically
learned routes.
‫ول‬B‫ستوى ا‬D‫ هي طرق نهائية من ا‬IPv6 ‫جميع مسارات‬
 All IPv6 routes are level 1 ultimate
routes.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 31
Analyze an IPv6 Routing Table IPv6 ‫تحليل جدول توجيه‬

Directly Connected Entries IPv6 ‫ لعرض جدول توجيه‬show ipv6 route ‫مر‬.‫استخدم ا‬

‫ت متصلة مباشرة‬6‫إدخا‬  Use the show ipv6 route command to


display the IPv6 routing table.
:‫تصلة مباشرة ما يلي‬-‫سار ا‬-‫ت ا‬2‫تتضمن إدخا‬
 The directly connected route entries
‫ يشار إلى‬.‫ كيف تم تعلم الطريق‬- ‫مصدر الطريق‬
include the following: ‫حلي‬-‫ للطريق ا‬L ‫ و‬C ‫باشر بحرف‬-‫تصال ا‬2‫ا‬

• Route source – How the route was learned.


Directly connected indicated with a C and L for
local route. ‫عنوان الشبكة ا*تصل مباشرة‬
• Directly connected network address.
(‫ جدارة ا*سار بالثقة )ا;قل جدارة بالثقة‬- ‫ا*سافة ا?دارية‬
• Administrative distance – Trustworthiness of
the route (lower more trustworthy).
(‫فضل‬$‫سار ا‬$‫قل هو ا‬,‫عينة للوصول إلى الشبكة )ا‬$‫ القيمة ا‬- ‫متري‬
• Metric – Value assigned to reach the network
(lower is preferred route).
• Outgoing interface – Exit interface used to
forward packet. ‫ واجهة الخروج‬- ‫الواجهة الصادرة‬
‫عادة توجيه الحزمة‬7 ‫ا;ستخدمة‬
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 32
Analyze an IPv6 Routing Table IPv6 ‫تحليل جدول توجيه‬

Remote IPv6 Network Entries :‫ البعيدة أيضًا ما يلي‬IPv6 ‫ت مسار‬3‫تتضمن إدخا‬


‫ البعيدة‬IPv6 ‫ت شبكة‬,‫إدخا‬
 The remote IPv6 route entries also
.‫ كيف تم تعلم الطريق‬- ‫مصدر الطريق‬
include the following: D ‫ و‬O (OSPF) ‫تشمل الرموز الشائعة‬
(‫ )طريق ثابت‬S ‫ و‬R (RIP) ‫( و‬EIGRP)
• Route source – How the route was
learned. Common codes include O
(OSPF), D (EIGRP), R (RIP), and S
(Static route). ‫ لجهاز‬IPv6 ‫ تحدد عنوان‬- ‫الخطوة التالية‬
‫عادة توجيه الحزمة إليه‬: ‫التوجيه التالي‬
• Next hop - Identifies the IPv6 address of
the next router to forward the packet to.
:IPv6 ‫عملية البحث عن جهاز التوجيه‬
 The IPv6 router lookup process:
‫ للحصول على أفضل تطابق‬1 ‫ستوى‬5‫يفحص مسارات شبكة ا‬
• Examines level 1 network routes for the
best match. ‫أطول مباراة هي أفضل مباراة‬
• Longest match is the best match.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 33
‫ ملخص الفصل‬6.4

6.4 Chapter Summary

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 34
Conclusion ‫خاتمة‬

Chapter 3: Dynamic Routing ‫ التوجيه الديناميكي‬:3 ‫الفصل‬


 Explain the function of dynamic routing protocols. ‫ت التوجيه الديناميكي‬0‫شرح وظيفة بروتوكو‬

 Implement RIPv2. RIPv2 ‫تنفيذ‬

 Determine the route source, administrative distance, and


metric for a given route. &‫سار مع‬, ‫دارية والقياس‬5‫سافة ا‬,‫سار وا‬,‫حدد مصدر ا‬

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 35
- Thank you and good luck sweetie -
— Anwar For help students —

You might also like