79
R1(config-keychain)#exit
R1(config)#interface serial 0/3/0
R1(config-if)#ip authentication mode eigrp 1 md5
R1(config-if)#ip authentication key-chain eigrp 1 EIGRP_KEY
R1(config-if)#exit
R2 sozlanmasi
Router(config)#hostname R2
R2(config)#router eigrp 1
R2(config-router)#eigrp router-id 2.2.2.2
R2(config-router)#network 192.168.20.0 0.0.0.255
R2(config-router)#network 10.10.10.0 0.0.0.3
R2(config-router)#network 12.12.12.0 0.0.0.3
R2(config-router)#no auto-summary
R2(config-router)#exit
R2(config)#key chain EIGRP_KEY
R2(config-keychain)#key 1
R2(config-keychain-key)#key-string cisco
R2(config-keychain-key)#exit
R2(config-keychain)#exit
R2(config)#interface serial 0/3/0
R2(config-if)#ip authentication mode eigrp 1 md5
R2(config-if)#ip authentication key-chain eigrp 1 EIGRP_KEY
R2(config-if)#exit
R3 sozlanmasi
Router(config)#hostname R3
R3(config)#router eigrp 1
R3(config-router)#eigrp router-id 3.3.3.3
R3(config-router)#network 192.168.30.0 0.0.0.255
R3(config-router)#network 12.12.12.0 0.0.0.3
R3(config-router)#network 11.11.11.0 0.0.0.3
R3(config-router)#no
auto-summary
80
6.9-rasm. R1 va R2 marshrutizatorlari oʻrtasida tasdiqlangan ma'lumotlar
almashinuvi
6.10-rasm. R1 va R2 marshrutizatorlari oʻrtasida tasdiqlanmagan ma'lumotlar
almashinuvi.
OSPF protokoliga asoslangan tarmoqning ishlash tamoyili
6.11-rasmda koʻrsatilgan tarmoqda R1 va R2 marshrutizatorlari
oʻrtasida autentifikatsiyaga asoslangan va autentifikatsiyalanmagan
aloqani oʻrnatdik va ular orasidagi farqlarni taqqosladik.
R1 sozlanmasi
R1(config)#router ospf 10
R1(config-router)#router-id 1.1.1.1
R1(config-router)#network 192.168.10.0 0.0.0.255 area 1
R1(config-router)#network 11.11.11.0 0.0.0.3 area 0
R1(config-router)#network 10.10.10.0 0.0.0.3 area 0
R1(config-router)#exit
R1(config)#router ospf 10
R1(config-router)#area 0 authentication
message-digest
R1(config-router)#exit
R1(config)#interface serial 0/3/0