Lab 9-10

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 18

O’ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI

VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI


MUHAMMAD AL-XORAZMIY NOMIDAGI
TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI

TTBA fani bo’yicha

Mavzu: RIP protokolini sozlash va uning ishlash prinsipini o’rganish.


OSPF protokolini sozlash va uning ishlash prinsipini o’rganish.

Guruh: BTN001-L2

Bajardi: Muslimbekov Ibratbek

Tekshirdi: Abdullayev Ulug’bek

TOSHKENT 2022
9- Laboratoriya ishi

RIP protokolini sozlash va uning ishlash prinsipini o’rganish

Ishdan maqsad: RIP protokolini sozlash va uning ishlash prinsipini o’rganish.

10- Laboratoriya ishi

OSPF protokolini sozlash va uning ishlash prinsipini o’rganish

Ishdan maqsad: OSPF protokolini sozlash va uning ishlash prinsipini

o’rganish.

1- Topshiriq:
- Qurilmalar interfeyslarini variantingizda ko’rsatilganidek sozlang;
- RIP protokolini sozlang;

- Tarmoq segmentlarini sozlang;

- Marshrutlarni tekshirib ko’ring va tahlil qiling (Natijalarni hisobotga qo’shing).

2- Topshiriq:
- Qurilmalar interfeyslarini variantingizda ko’rsatilganidek sozlang;

- OSPF protokolini sozlang;

- Hududni (area) o’rnating va unga tarmoq segmentlarini kiriting;

- Marshrutlarni tekshirib ko’ring va tahlil qiling (Natijalarni hisobotga qo’shing).


Ishni bajarish tartibi

18-laboratoriya
Asosiy tizim sozlamalari va IP manzillarni sozlash. R1, R2, R3 va R4 uchun qurilma
nomlari va interfeyslarga tarmoq IP manzillarini sozlaymiz.

R1 marshrutizatorini sozlaymiz
<Huawei>system-view
[Huawei]sysname Komol R1
[Komol R1]interface Ethernet 0/0/0
[Komol R1-Ethernet0/0/0]ip address 192.168.1.1 255.255.255.0
[Komol R1-Ethernet0/0/0]quit
[Komol R1]interface Ethernet 0/0/1
[Komol R1-Ethernet0/0/1]ip address 10.10.10.1 255.255.255.252
[Komol R1-Ethernet0/0/1]quit
[Komol R1]quit
< Komol R1>display ip interface brief
R2 marshrutizatorni sozlaymiz:
<Huawei>system-view
[Huawei]sysname Komol R2
[Komol R2]interface Ethernet 0/0/0
[Komol R2-Ethernet0/0/0]ip address 10.10.10.2 255.255.255.252
[Komol R2-Ethernet0/0/0]quit
[Komol R2]interface Ethernet 0/0/1
[Komol R2-Ethernet0/0/1]ip address 192.168.2.1 255.255.255.0
[Komol R2-Ethernet0/0/1]quit
[Komol R2]interface GigabitEthernet 0/0/0
[Komol R2-GigabitEthernet0/0/0]ip address 11.11.11.1
255.255.255.252 [Komol R2-GigabitEthernet0/0/0]quit
[Komol R2]quit
< Komol R2>display ip interface brief

R3 marshrutizatorni sozlaymiz:
<Huawei>system-view
[Huawei]sysname Komol R3
[Komol R3]interface Ethernet 0/0/0
[Komol R3-Ethernet0/0/0]ip address 11.11.11.2 255.255.255.252
[Komol R3-Ethernet0/0/0]quit
[Komol R3]interface Ethernet 0/0/1
[Komol R3-Ethernet0/0/1]ip address 192.168.3.1 255.255.255.0
[Komol R3-Ethernet0/0/1]quit
[Komol R3]interface GigabitEthernet 0/0/0
[Komol R3-GigabitEthernet0/0/0]ip address 12.12.12.1
255.255.255.252 [Komol R3-GigabitEthernet0/0/0]quit
[Komol R3]quit
< Komol R3>display ip interface brief
R4 marshrutizatorni sozlaymiz:
<Huawei>system-view
[Huawei]sysname Komol R4
[Komol R4]interface Ethernet 0/0/0
[Komol R4-Ethernet0/0/0]ip address 12.12.12.2 255.255.255.252
[Komol R4-Ethernet0/0/0]quit
[Komol R4]interface Ethernet 0/0/1
[Komol R4-Ethernet0/0/1]ip address 192.168.4.1 255.255.255.0
[Komol R4-Ethernet0/0/1]quit
[Komol R4]quit
< Komol R4>display ip interface brief

R1, R2, R3, R4 marshrutizatorlarda RIPv2 protokolini va tarmoq segmentlarini


sozlaymiz.

< Komol R1>sys


[Komol R1]rip 1
[Komol R1-rip-1]network 10.0.0.0
[Komol R1-rip-1]network 192.168.1.0
[Komol R1-rip-1]version 2
< Komol R2>sys
[Komol R2]rip 1
[Komol R2-rip-1]network 10.0.0.0
[Komol R2-rip-1]network 11.0.0.0
[Komol R2-rip-1]network 192.168.2.0
[Komol R2-rip-1]version 2

< Komol R3>sys


[Komol R3]rip 1
[Komol R3-rip-1]network 11.0.0.0
[Komol R3-rip-1]network 12.0.0.0
[Komol R3-rip-1]network 192.168.3.0
[Komol R3-rip-1]version 2
< Komol R4>sys
[Komol R4]rip 1
[Komol R4-rip-1]network 12.0.0.0
[Komol R4-rip-1]network 192.168.4.0
[Komol R4-rip-1]version 2

Joriy sozlamalarni ko’rish uchun “display this” buyrug’idan foydalanamiz.

[Komol R1-rip-1]display this


[Komol R2-rip-1]display this

[Komol R3-rip-1]display this

[Komol R4-rip-1]display this

R1, R2, R3 va R4 marshrutizatorlarning marshrutlash jadvallarini ko’rish uchun


“display ip routing-table” buyrug’idan foydalanamiz.
< Komol R1>display ip routing-table
< Komol R2>display ip routing-table

< Komol R3>display ip routing-table


< Komol R4>display ip routing-table

Aloqa o’rnatilganligini tekshirish uchun ping buyrug’idan foydalanamiz. PC1 dan PC2
ping yuboramiz va aloqani tekshiramiz.
Aloqa o’rnatilganligini tekshirish uchun ping buyrug’idan foydalanamiz. PC2 dan PC3
ping yuboramiz va aloqani tekshiramiz.

Aloqa o’rnatilganligini tekshirish uchun ping buyrug’idan foydalanamiz. PC3 dan PC4
ping yuboramiz va aloqani tekshiramiz.
Aloqa o’rnatilganligini tekshirish uchun ping buyrug’idan foydalanamiz. PC4 dan PC1
ping yuboramiz va aloqani tekshiramiz.

Endi har bir marshrutizatorda OSPF protokolini sozlaymiz.

R1 marshrutizatorda OSPF ni sozlaymiz:


< Komol R1>sys
[Komol R1]ospf
[Komol R1-ospf-1]a rea 0
[Komol R1-ospf-1-area-0.0.0.0]net work 10.10.10.0 0.0.0.3
[Komol R1-ospf-1-area-0.0.0.0]quit
[Komol R1-ospf-1]area 2
[Komol R1-ospf-1-area-0.0.0.2]network 192.168.1.0 0.0.0.255
R2 marshrutizatorda OSPF ni sozlaymiz:
< Komol R2>sys
[Komol R2]ospf
[Komol R2-ospf-1]area 0
[Komol R2-ospf-1-area-0.0.0.0]network 10.10.10.0 0.0.0.3
[Komol R2-ospf-1-area-0.0.0.0]network 11.11.11.0
0.0.0.3
[Komol R2-ospf-1-area-0.0.0.0]quit
[Komol R2-ospf-1]area 1
[Komol R2-ospf-1-area-0.0.0.1]network 192.168.2.0 0.0.0.255
R3 marshrutizatorda OSPF ni sozlaymiz:
< Komol R3>sys
[Komol R3]ospf
[Komol R3-ospf-1]area 0
[Komol R3-ospf-1-area-0.0.0.0]network 11.11.11.0 0.0.0.3
[Komol R3-ospf-1-area-0.0.0.0]network 12.12.12.0
0.0.0.3
[Komol R3-ospf-1-area-0.0.0.0]quit
[Komol R3-ospf-1]area 3
[Komol R3-ospf-1-area-0.0.0.3]network 192.168.3.0 0.0.0.255
R4 marshrutizatorda OSPF ni sozlaymiz:
< Komol R4>sys
[Komol R4]ospf
[Komol R4-ospf-1]area 0
[Komol R4-ospf-1-area-0.0.0.0]network 12.12.12.0
0.0.0.3
[Komol R4-ospf-1-area-0.0.0.0]quit
[Komol R4-ospf-1]area 4
[Komol R4-ospf-1-area-0.0.0.4]network 192.168.4.0 0.0.0.255

Joriy sozlamalarni ko’rish uchun “display this” buyrug’idan foydalanamiz.

[Komol R1-ospf-1]display this


[Komol R2-ospf-1]display this

[Komol R3-ospf-1]display this

[Komol R4-ospf-1]display this

Aloqa o’rnatilganligini tekshirish uchun ping buyrug’idan foydalanamiz. PC1 dan PC2
ping yuboramiz va aloqani tekshiramiz.
Aloqa o’rnatilganligini tekshirish uchun ping buyrug’idan foydalanamiz. PC2 dan PC3
ping yuboramiz va aloqani tekshiramiz.

Aloqa o’rnatilganligini tekshirish uchun ping buyrug’idan foydalanamiz. PC3 dan PC4
ping yuboramiz va aloqani tekshiramiz.
Aloqa o’rnatilganligini tekshirish uchun ping buyrug’idan foydalanamiz. PC4 dan PC1
ping yuboramiz va aloqani tekshiramiz.

You might also like