|
Ospf protokolini sozlash
|
səhifə | 3/3 | tarix | 31.12.2021 | ölçüsü | 0,5 Mb. | | #81631 |
| Al£shcw cdp
|
neighbors
|
|
|
|
|
Capability Cedes : A - Icuter
|
I - Irans
|
Bridge, В -
|
Source Acute
|
Bridge
|
|
S - Switch
|
H - Heat,
|
I - IGMP, r
|
- Aepeater,
|
F - Fhcne
|
Device ID
|
Local Intrfce
|
Hcldtme
|
Capability
|
Platform
|
Fcrt ID
|
Switch
|
Fas 0/0
|
144
|
s
|
2950
|
Fas 0/1
|
A2
|
Ser 0/1/1
|
153
|
A
|
C2S00
|
Ser 0/0/1
|
A3
|
Ser 0/1/0
|
144
|
A
|
C2800
|
Ser 0/3/0
|
Al£
|
|
|
|
|
V
|
R 2 da
A2£ahcw ip rcute
Cedes: C - ccnnected, 5 - static, I - IEAF, A - AIF, M - mctile, В - B&F D - SI&AF, FX - SI£AF external, 0 - OSFF, IA - DSEF inter area HI - OSFF HSSA external type 1г H2 - OSFF HSSA external type 2 II - OSFF external type lr Z2 - OSFF external type 2r I - S£F i - IS-IS, LI - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static rcute, о - 003 P - periodic dcwnlcaded static rcute
Eateway ci last resert is net set
0.0/30 is subnetted, 1 subnets
[110/128] via 12.12.12.1, 00:04:24, Serial0/0/l
0.0/30 is subnetted, 1 subnets
is directly ccnnected, Serial0/0/l
IA 192.15S.1.0/24 [110/55] via 12.12.12.1, 00:04:14, Serial0/0/l IA 1Э2.153.2.0/24 [110/129] via 12.12.12.1, 00:04:14, Serial0/0/l 192.158.3.0/24 is directly ccnnected, FastIthernet0/0
R 3 da
33#show ip rcute
Cedes: C - connected, S - static, I - I&3P, 3 - 3IP, M - mobile, В - ВЁР D - EIGBP, EX - 11ЁЗР external, 0 - OSFF, IA - OSFF inter area HI - OSFF HSSA external type 1, N2 - OSFF HSSA external type 2 II - OSFF external type 1, 12 - OSFF external type 2, I - 1ЁР i - IS-IS, LI - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, о - 0U3 F - pericdie dewnlcaded static route
Qateway cf last resett is net set
0.0/30 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, SerialO/3/O
0.0/30 is subnetted, 1 subnets
0 12.12.12.0 [110/123] via 10.10.10.1, 00:03:04, Serial0/3/0
0 IA 1Э2.153.1.0/24 [110/55] via 10.10.10.1, 00:05:04, Serial0/3/0
С 1Э2.153.2.0/24 is directly connected, FastlthernetO/O
0 IA 1Э2.153.3.0/24 [110/12Э] via 10.10.10.1, 00:05:04, SerialO/3/O
33 #1 v
normal picture data
Ishdan maqsad: RIPv2 marshrutizatsiya protokolini marshrutizatorlarda sozlash va ishlash tamoyillarini o‘rganish
Marshrutizatsiya protokollari marshrutizatorlar o‘rtasida marshrut to‘g‘risidagi axborotlarni almashishni qisqartiradi. Marshrutizatsiya protokoli optimal yo‘llar orqali marshrutizatsiya jadvalini to‘ldirish va marshrutizatsiya ma’lumotlarini almashish uchun ishlatiluvchi xabarlar va algoritmlar, jarayonlar to‘plamidan iborat. Dinamik marshrutizatsiya protokollari quyidagi maqsadlarda ishlatiladi:
uzoqdagi tarmoqlarni aniqlash;
marshrutizatsiya ma’lumotlarini yangilash;
ko‘rsatilgan tarmoqqa optimal yo‘lni tanlash;
ishlab turgan yo‘lga kirish mumkin bo‘lmagan yangi optimal yo‘lni izlash.
Dinamik marshrutizatsiya protokollari quyidagi komponentlarni o ‘ z ichiga
oladi:
ma’lumotlarning tuzilishi - marshrutizatsiya protokollarini ishlashi uchun ma’lumotlar bazasi yoki jadval ishlatiladi. Ushbu axborot operativ xotira qurilmasida saqlanadi;
marshrutizatsiya protokolining xabari - marshrutizatsiya protokollari marshrut to‘g‘risida axborotlarni almashish, qo‘shni marshrutizatorlarni aniqlash, tarmoq to‘g‘risida muhim axborotni olish bilan bog‘liq bo‘lgan boshqa vazifalarni bajarish uchun turli xabarlarni ishlatadi;
algoritm - algoritm topshiriqlarni bajarish uchun ishlatiluvchi harakatlar ruyxatidan iborat. Marshrutizatsiya protokollari optimal yo‘lni aniqlovchi va marshrntizatsiya ma’lumotlarini almashishni soddalashtiruvchi algoritmlami ishlatadi.
RIP protokoli:
administratomi minimum darajadagi nazoratini talab qilish maqsadida marshrntizatsiya jadvalini tuzish uchun ishlab chiqilgan;
ma’lumotlarni qayta ishlashda marshrutizatorlarda yuklanishni
kamaytirish maqsadida guruhli manzil bo‘yicha jo‘natiladigan xabar
marshrutizatorlar o‘rtasida almashiladi;
ichki domenli va masofa - vektor protokoli bo‘lib, Bellman - Ford algoritmiga asoslangan;
ko‘rsatilgan joyga masofani belgilashda metric ko‘rsatkichi ishlatiladi (sonli ko‘rinishda);
15 tagacha marshrutizator bo‘lgan o‘rtacha tarmoqlarda ishlatiladi;
RIP xabari UDP (520 port)ga inkapsulyasiya qilinadi va tarmoqda o‘zgarish bo‘lmasa ham har 30 daqiqada jo‘natilaveradi;
autentifikatsiyani talab qilmaydi (foydalanuvchini registratsiya axborotini tekshirishni amalga oshiruvchi kirishni nazorat qiluvchi servis).
Amaliy qism
Kompyuterlarga jurnaldagi variant bo‘yicha IP manzillarni kiriting.
2. Marshrutiztorning interfeyslariga variant bo‘yicha manzillarni sozlang.
Router#enable
Router#configure terminal
b) R1 marshrutizatorga nom bering.
Router(config)#hostname R1
b) DNS izlashni o‘chiring. Bu noto‘g‘ri buyruq berilganda marshrutizator yozilgan noto‘g‘ri buyruqni izlay boshlaydi.
R1 (config)# no ip domain-lookup
v) Parol 10 simvoldan kam bo‘lmasligi kerak.
R1 (config)# security passwords min-length 10 g) cisco12345 deb shifrlangan ko‘rinishda parolni o‘rnating R1 (config)# enable secret cisco12345 d) shifrlanmagan parollarni shifrlash uchun
R1 (config)# service password-encryption R1(config)#interface fastEthernet 0/0 R1(config-if)#ip address 40.0.0.100 255.255.255.0 R1(config-if)#no shutdown R1(config-if)#interface fastEthernet 0/1 R1(config-if)#ip address 40.0.1.1 255.255.255.252 R1(config-if)#no shutdown
R1(config-if)#router rip R1(config-router)#version 2 R1 (config-router)#network 40.0.0.0 R1(config-router)#end R2
Router>enable Router#configure terminal Router(config)#hostname R2 R2(config)#interface fastEthernet 0/0 R2(config-if)#ip address 40.0.1.2 255.255.255.252 R2(config-if)#no shutdown R2(config-if)#interface fastEthernet 0/1 R2(config-if)#ip address 40.0.3.2 255.255.255.252 R2(config-if)#no shutdown R2(config-if)#interface fastEthernet 1/0 R2(config-if)#ip address 40.0.2.100 255.255.255.0 R2(config-if)#no shutdown R2(config-if)#router rip R2(config-router)#version 2 R2(config-router)#network 40.0.2.0 R2(config-router)#end R3
Router>ena Router>enable Router#configure terminal Router(config)#hostname R3 R3(config)#interface fastEthernet 0/0 R3(config-if)#ip address 40.0.3.1 255.255.255.252 R3(config-if)#no shutdown R3(config-if)#interface fastEthernet 0/1 R3(config-if)#ip address 40.0.4.100 255.255.255.0 R3(config-if)#no shutdown R3(config-if)#router rip R3(config-router)#version 2 R3(config-router)#network 40.0.4.0 R3(config-router)#end
Show run buyrug‘i orqali har bir marshrutizatoming konfiguratsiyasini tekshiring va marshrutizatorlar orasida aloqa bor yoki yo‘qligini test qilib tekshiring.
3. Show ip route buyrug‘i orqali marshrntizatorlardagi jadvalni tekshiramiz.
R1 da
Rltahcw ip rcute
Cedes: C - ccnnected, 5 - static, I - IGRF, R - RIF, M - mcbile, В - BGF D - EIGRP, BX - IIERF external, О - OSEF, IA - OSEF inter area III - OSEF NSSA external type 1, N2 - OSEF NSSA external type 2 II - OSEF external type 1, 12 - OSFF external type 2, I - IQP i - IS-IS, LI - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static rcute, c - OIR F - periodic downloaded static rcute
Gateway cf last resert is net set
0.0/B is variably subnetted, 5 subnets, 2 masts C 40.0.0.0/24 is directly connected, Fastlthernet0/0
C 40.0.1.0/30 is directly ccnnected, Fastlthernet0/l
R 40.0.2.0/24 [120/1] via 40.0.1.2, 00:00:04, Fastlthernet0/l
R 40.0.3.0/30 [120/1] via 40.0.1.2, 00:00:04, Fastlthernet0/l
R 40.0.4.0/24 [120/2] via 40.0.1.2, 00:00:04, Fastlthernet0/l
R2 da
R2£ahcw ip rcute
Cedes: C - ccnnected, S - static, I - IERF, R - RIF, M - mebile, В - BQF
- IIERF, BX - IIERF external, 0 - OSFF, IA - OSFF inter area HI - OSEF HSSA external type 1, N2 - OSEF NSSA external type 2
- OSEF external type 1, 12 - OSEF external type 2, I - IGF i - IS-IS, LI - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static rcute, c - ODR F - pericdic downloaded static rcute
Gateway c= last resert is net set
40-0-0.0/S is variably subnetted,
R 40.0.0.0/24 [120/1] via 40.0.1.
1 40.0.1.0/30 is directly ccnnect
C 40.0.2.0/24 is directly ccnnect
C 40.0.3.0/30 is directly ccnnect
R 40.0.4.0/24 [120/1] via 40.0.3.
R2£shcw cdp neighbors Capability Cedes: R -
|
Reuter, I -
|
Irans
|
Bridge, В -
|
Source Rcute
|
Bridge
|
|
S -
|
Switch, H -
|
Heat,
|
I - IGMP, r
|
- Repeater,
|
F - Phene
|
levice II
|
Local Intrice Hcldtme
|
Capability
|
Platform
|
Pert II
|
R1
|
Fas 0/0
|
132
|
|
R
|
C2B00
|
Fas 0/1
|
Switch
|
Fas 1/0
|
140
|
|
S
|
2930
|
Fas 0/2
|
R3
|
Fas 0/1
|
173
|
|
R
|
C2S00
|
Fas 0/0
|
R3 da
3.3# shew ip rcute
Cedes: C - ccnnected, S - static, I - IG3F, 3 - 3IF, M - mctile, В - ВЁЕ E - EI&3F, EX - EIG3P external, 0 - DSEF, IA - DSEF inter area HI - DSEF HSSA external type 1г N2 - DSEF HSSA external type 2 El - DSEF external type 1, 12 - DSEF external type 2r I - E&F i - IS-IS, LI - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-uaer static mute, c - DE3 E - periodic dounlcaded static route
Gateway o= last resort is not set
40_O_O-0/B is variably subnet ted, 3 subnets, 2 mas Its 3 40.0.0.0/24 [120/2] via 40.0.3.2, 00:00:09, FastEthernet0/0
3 40.0.1.0/30 [120/1] via 40.0.3.2, 00:00:09, FastEthernet0/0
3 40.0.2.0/24 [120/1] via 40.0.3.2, 00:00:09, FastEthernet0/0
C 40.0.3.0/30 is directly connected, FastEthernet0/0
C 40.0.4.0/24 is directly connected, FastEthernet0/l
B ridge E - Phone Fcrt IE Fas 0/1 Fas 0/2
Umarcvfahow ip rcute
Codes: C - connected, S - static, I - IGRP, R — RIP, M - mobile, В - BGP D - EIGRP, EX - EIGRP external, О - OSPF, IA - OSPF inter area N1 — OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 El - OSPF external type 1, E2 - OSPF external type i - IS-IS, LI - IS-IS level-1, L2 - IS-IS level-2,
* — candidate default, U — per—user static route,
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/30 is aubne11 ed, 1 subne t s
C 10-10.10.0 is directly connected, FaatEthemetO/0
R 11.0.0.0/8 [120/1] via 10,10.10.2, 00:00=23, FastEthernet0/0
40_0_0_0/S is variably subnetted, 2 subnets, 2 masks R 40-0-0-0/8 [120/2] via 10.10.10.2, 00:00:23, FastEthernetO/O
C 40-0.0-0/24 is directly connected, FaatEthernetO/l
Umarovi
Dostları ilə paylaş: |
|
|