اتصل

شرح التوجيه الساكن مقابل الديناميكي (دليل CCNA)

الصفحة الرئيسية / مدونة

5 دقيقة قراءة
ZILL E ALIيونيو 30, 2025شبكات سيسكو

التوجيه الثابت مقابل التوجيه الديناميكي CCNA: مساران، وجهة واحدة

أسئلة التوجيه الثابت مقابل الديناميكي في CCNA تتلخص في خيارين فقط.

عند الحديث عن التوجيه في شبكة، لديك خياران رئيسيان:

  • التوجيه الثابت: يتم تكوينه يدويًا بواسطة مسؤول الشبكة
  • التوجيه الديناميكي: يتم تعلم المسارات تلقائيًا عبر البروتوكولات

معرفة متى تستخدم أي منهما — وكيفية تكوينهما — هي مهارة حاسمة في امتحان CCNA والشبكات الواقعية.

يُرشدك هذا المدونة عبر الفروقات، الأوامر، الإيجابيات\/السلبيات، وأمثلة المختبرات.


🧭 ما هو التوجيه الثابت؟

التوجيه الثابت يعني أنك تحدد المسار يدويًا الذي يجب أن تسلكه الحزمة.

هذا يخبر الموجه:
“للوصول إلى 192.168.2.0, قم بتوجيه المرور إلى 192.168.1.2.”

مزايا التوجيه الثابت

  • سهل التكوين للشبكات الصغيرة
  • بدون عبء على المعالج\/الذاكرة
  • أكثر أمانًا (بدون إعلانات مسار)
  • تحكم كامل في المسارات

عيوب التوجيه الثابت

  • لا يتكيف مع تغييرات الشبكة
  • يصبح معقدًا في الشبكات الكبيرة
  • تحتاج إلى تحديثات يدوية إذا تغيرت الطوبولوجيا

ما هو التوجيه الديناميكي؟

التوجيه الديناميكي يستخدم بروتوكولات التوجيه لتعلم وتحديث المسارات تلقائيًا.

البروتوكولات الشائعة:

  • ارقد في سلام (أقدم، متجه المسافة)
  • OSPF (حديث، حالة الارتباط)
  • EIGRP (مملوك لشركة سيسكو، هجين)

Advantages of Dynamic Routing

  • يتكيف تلقائيًا مع التغييرات
  • قابل للتوسع في الشبكات الكبيرة والمعقدة
  • يقلل العبء الإداري

❌ عيوب التوجيه الديناميكي

  • استخدام أكثر للمعالج/الذاكرة العشوائية
  • يتطلب معرفة بالبروتوكول
  • تكوين أكثر تعقيدًا قليلاً

Administrative Distance: How a Router Picks Between Routes

A router often learns more than one path to the same destination – a static route AND an OSPF-learned route to the same network, for example. Administrative Distance (AD) is the number Cisco routers use to decide which source to trust when that happens – lower always wins:

Route source Default AD
Connected interface 0
Static route 1
EIGRP 90
OSPF 110
ارقد في سلام 120

A static route’s AD of 1 is why a static route always overrides a dynamically learned one to the same destination by default – it is treated as more trustworthy than any protocol’s guess. This matters directly for the next topic below.

Floating Static Routes: Static Routing’s Dynamic Trick

A floating static route is a static route configured with a higher AD than the dynamic protocol already running, so it sits unused as a backup and only activates if the dynamic route disappears:

ip route 192.168.2.0 255.255.255.0 10.0.0.2 200

The trailing 200 sets this static route’s AD to 200 – higher than OSPF’s 110, so OSPF wins while it is up. If OSPF loses the route (a link fails, a neighbor drops), this static route – now the best remaining option – takes over automatically. This is the real-world middle ground between pure static and pure dynamic: a guaranteed backup path that does not require protocol overhead until it is actually needed.


🆚 التوجيه الثابت مقابل الديناميكي – مقارنة جنبًا إلى جنب

Static vs dynamic routing CCNA diagram comparing a manually configured static route to an OSPF dynamic route
Static vs dynamic routing CCNA: a hand-configured static route next to an OSPF dynamic route that reroutes itself.
الميزة التوجيه الثابت التوجيه الديناميكي
التكوين يدوي تلقائي عبر البروتوكول
القدرة على التكيف لا نعم
الموارد المستخدمة منخفض متوسط-عالي
الأفضل لـ الشبكات الصغيرة/المأمونة الشبكات الكبيرة/المتغيرة
بروتوكولات المثال غير متوفر RIP, OSPF, EIGRP

🧪 مثال مختبر Packet Tracer

توبولوجيا المختبر:

  • الموجه1 (192.168.1.1) → الموجه2 (192.168.2.1)

مثال التوجيه الثابت:

على الموجه1:

على الموجه2:


مثال التوجيه OSPF:

على كلا الموجهين:

Verifying and Troubleshooting Routes

Configuring a route and confirming it is actually being used are different steps, and skipping the second one is a common exam and real-world mistake:

Router# show ip route
Router# show ip protocols
Router# traceroute 192.168.2.1

show ip route shows every route the router currently has installed and which source (S for static, O for OSPF, and so on) won it – this is where administrative distance decisions become visible directly. show ip protocols confirms a dynamic routing protocol is actually running and which networks it is advertising – a surprisingly common exam trap is a router ospf block with the wrong wildcard mask, which looks configured but advertises nothing. traceroute from an end device shows the actual hop-by-hop path traffic takes, which is the fastest way to confirm a route is not just installed but genuinely being used end to end.


💬 متى تستخدم التوجيه الثابت أو الديناميكي؟

استخدم التوجيه الثابت عندما:

  • شبكتك صغيرة أو لا تتغير غالبًا
  • أنت تريد التحكم الكامل
  • Security is a concern

Use Dynamic Routing When:

  • You manage large or frequently changing networks
  • You want automatic failover
  • You need protocol flexibility (OSPF, EIGRP)

learn More

🙋‍♂️FAQ

What is the main difference between static and dynamic routing?

Static routing is manually configured. Dynamic routing uses protocols to learn and adjust paths automatically.

Is static routing better than dynamic?

Static routing is better for small, stable networks. Dynamic routing is better for large, scalable environments.

Which protocol is used in dynamic routing?

Popular ones are RIP, OSPF, and EIGRP (Cisco). OSPF is often preferred in enterprise setups.

Does CCNA require knowing both?

Yes, you must know how to configure and troubleshoot both static and dynamic routing methods for the CCNA exam.

إذا كنت تفضّل أن يشرح لك أحدهم ذلك خطوة بخطوة، أو تحتاج إلى مختبر Packet Tracer محدد مكتمل ومشرح بدلاً من أن تحله بنفسك، راجع دروس CCNA و Packet Tracer الصفحة التي توضح كيفية عمل ذلك.

Routing decisions and VLAN design go hand in hand on the real exam – see VLANs and Inter-VLAN Routing Explained for CCNA for the segmentation side of this topic.

كتب بواسطة

ZILL E ALI

مهندس شبكات معتمد بشهادتي MTCNA و MTCRE ومتخصص في بنية تحتية لمزودي خدمة الإنترنت، ومؤسس Developer Zon. يكتب هنا عن MikroTik و Cisco وبنية تحتية لمزودي الخدمة، وأحيانًا عن سجلات البناء.

2 Comments

اترك ردًا

يستخدم هذا الموقع Akismet لتقليل البريد المزعج. تعرف على كيفية معالجة بيانات تعليقك.