EIGRP authentication بـ key chain (classic وnamed)
R1 وR2 شغّالين EIGRP 100 classic، وR3 شغّال named mode (CORE) بنفس الـ AS. أي راوتر يتوصّل بالشبكة يقدر يعمل adjacency ويحقن routes. هتعمل key chain على التلاتة، وتفعّل MD5 authentication على اللينكين — الـ classic بأوامر الـ interface والـ named من جوّه الـ af-interface.
مدة التجربة 25 دقيقة · 4 مهام
الأجهزة في بداية التجربة
- R1 — راوتر
- R2 — راوتر
- R3 — راوتر
- PC1 — كمبيوتر
- PC3 — كمبيوتر
التوصيلات
- R1 Gi0/0/0 ↔ R2 Gi0/0/0
- R2 Gi0/0/1 ↔ R3 Gi0/0/0
- PC1 eth0 ↔ R1 Gi0/0/1
- R3 Gi0/0/1 ↔ PC3 eth0
العناوين المضبوطة مسبقًا
- R1 g0/0/0: 10.0.12.1/30
- R1 g0/0/1: 192.168.1.1/24
- R1 lo0: 1.1.1.1/32
- R2 g0/0/0: 10.0.12.2/30
- R2 g0/0/1: 10.0.23.1/30
- R2 lo0: 2.2.2.2/32
- R3 g0/0/0: 10.0.23.2/30
- R3 g0/0/1: 192.168.3.1/24
- R3 lo0: 3.3.3.3/32
- 01key chain اسمها EIGRP-KEYS فيها key 1 بالـ key-string Basma#1 على التلاتة
يتحقق المعمل من على R1: الأمر show key chain يظهر فيه «key 1 -- text "Basma#1"»، على R2: الأمر show key chain يظهر فيه «key 1 -- text "Basma#1"»، على R3: الأمر show key chain يظهر فيه «key 1 -- text "Basma#1"»
تلميح / الحل المقترح
key chain EIGRP-KEYS key 1 key-string Basma#1 show key chain
- 02MD5 على لينك R1–R2 (classic: ip authentication ... eigrp 100)
يتحقق المعمل من على R1: الأمر show ip eigrp interfaces detail g0/0/0 يظهر فيه «Authentication mode is md5, key-chain is "EIGRP-KEYS"»، على R2: الأمر show ip eigrp interfaces detail g0/0/0 يظهر فيه «Authentication mode is md5, key-chain is "EIGRP-KEYS"»، R1 يكوّن جوار EIGRP مع 10.0.12.2
تلميح / الحل المقترح
interface g0/0/0 ip authentication mode eigrp 100 md5 ip authentication key-chain eigrp 100 EIGRP-KEYS show ip eigrp interfaces detail
- 03MD5 على لينك R2–R3: R2 بالـ classic على g0/0/1، وR3 من af-interface g0/0/0
يتحقق المعمل من على R2: الأمر show ip eigrp interfaces detail g0/0/1 يظهر فيه «Authentication mode is md5, key-chain is "EIGRP-KEYS"»، على R3: الأمر show running-config يظهر فيه « authentication key-chain EIGRP-KEYS»، R3 يكوّن جوار EIGRP مع 10.0.23.1
تلميح / الحل المقترح
على R2: interface g0/0/1 ip authentication mode eigrp 100 md5 ip authentication key-chain eigrp 100 EIGRP-KEYS على R3: router eigrp CORE address-family ipv4 unicast autonomous-system 100 af-interface g0/0/0 authentication mode md5 authentication key-chain EIGRP-KEYS
- 04PC1 يوصل لـ PC3 والـ routes راجعة D
يتحقق المعمل من في جدول توجيه R1 مسار إلى 192.168.3.0/24 من نوع D، PC1 يصل إلى PC3 (ping)
تلميح / الحل المقترح
show ip route eigrp ping من PC1 لـ 192.168.3.10