Ospf protokolini sozlash



Yüklə 0,5 Mb.
səhifə3/3
tarix31.12.2021
ölçüsü0,5 Mb.
#81631
1   2   3
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

  1. 0.0/30 is subnetted, 1 subnets

  1. [110/128] via 12.12.12.1, 00:04:24, Serial0/0/l

  1. 0.0/30 is subnetted, 1 subnets

  1. 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

  1. 0.0/30 is subnetted, 1 subnets

C 10.10.10.0 is directly connected, SerialO/3/O

  1. 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 organish






Marshrutizatsiya protokollari marshrutizatorlar ortasida marshrut togrisidagi axborotlarni almashishni qisqartiradi. Marshrutizatsiya protokoli optimal yollar orqali marshrutizatsiya jadvalini toldirish va marshrutizatsiya malumotlarini almashish uchun ishlatiluvchi xabarlar va algoritmlar, jarayonlar toplamidan iborat. Dinamik marshrutizatsiya protokollari quyidagi maqsadlarda ishlatiladi:

  • uzoqdagi tarmoqlarni aniqlash;

  • marshrutizatsiya malumotlarini yangilash;

  • korsatilgan tarmoqqa optimal yolni tanlash;

  • ishlab turgan yolga kirish mumkin bolmagan yangi optimal yolni izlash.

  • Dinamik marshrutizatsiya protokollari quyidagi komponentlarni o z ichiga

oladi:

  • malumotlarning tuzilishi - marshrutizatsiya protokollarini ishlashi uchun malumotlar bazasi yoki jadval ishlatiladi. Ushbu axborot operativ xotira qurilmasida saqlanadi;

  • marshrutizatsiya protokolining xabari - marshrutizatsiya protokollari marshrut togrisida axborotlarni almashish, qoshni marshrutizatorlarni aniqlash, tarmoq togrisida muhim axborotni olish bilan bogliq bolgan boshqa vazifalarni bajarish uchun turli xabarlarni ishlatadi;

  • algoritm - algoritm topshiriqlarni bajarish uchun ishlatiluvchi harakatlar ruyxatidan iborat. Marshrutizatsiya protokollari optimal yolni aniqlovchi va marshrntizatsiya malumotlarini almashishni soddalashtiruvchi algoritmlami ishlatadi.

RIP protokoli:

  • administratomi minimum darajadagi nazoratini talab qilish maqsadida marshrntizatsiya jadvalini tuzish uchun ishlab chiqilgan;

  • malumotlarni qayta ishlashda marshrutizatorlarda yuklanishni

kamaytirish maqsadida guruhli manzil boyicha jonatiladigan xabar

marshrutizatorlar ortasida almashiladi;

  • ichki domenli va masofa - vektor protokoli bolib, Bellman - Ford algoritmiga asoslangan;

  • korsatilgan joyga masofani belgilashda metric korsatkichi ishlatiladi (sonli korinishda);

  • 15 tagacha marshrutizator bolgan ortacha tarmoqlarda ishlatiladi;

  • RIP xabari UDP (520 port)ga inkapsulyasiya qilinadi va tarmoqda ozgarish bolmasa ham har 30 daqiqada jonatilaveradi;

  • autentifikatsiyani talab qilmaydi (foydalanuvchini registratsiya axborotini tekshirishni amalga oshiruvchi kirishni nazorat qiluvchi servis).

Amaliy qism

Kompyuterlarga jurnaldagi variant boyicha IP manzillarni kiriting.

2. Marshrutiztorning interfeyslariga variant boyicha manzillarni sozlang.

Router#enable

Router#configure terminal

b) R1 marshrutizatorga nom bering.

Router(config)#hostname R1

b) DNS izlashni ochiring. Bu notogri buyruq berilganda marshrutizator yozilgan notogri buyruqni izlay boshlaydi.

R1 (config)# no ip domain-lookup

v) Parol 10 simvoldan kam bolmasligi kerak.

R1 (config)# security passwords min-length 10 g) cisco12345 deb shifrlangan korinishda parolni ornating 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 buyrugi orqali har bir marshrutizatoming konfiguratsiyasini tekshiring va marshrutizatorlar orasida aloqa bor yoki yoqligini test qilib tekshiring.

3. Show ip route buyrugi 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

  1. 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

  1. - IIERF, BX - IIERF external, 0 - OSFF, IA - OSFF inter area HI - OSEF HSSA external type 1, N2 - OSEF NSSA external type 2

  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 peruser 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



Yüklə 0,5 Mb.

Dostları ilə paylaş:
1   2   3




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©www.genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə