bet 2/4 Sana 17.07.2022 Hajmi 481,42 Kb. #816767
Bog'liq
7-8-lab shaxzod
Ishni bajarish tartibi
1-rasmda ko’rsatilgan topologiya bo’yicha LSW1, LSW2, LSW3, R1, R2, R3 kommutatorlar uchun asosiy konfiguratsiyalarni sozlang
1-rasm. Tadqiqot qilinayotgan tarmoq tuzilishi
1. Asosiy tizim sozlamalari va IP manzillarni sozlash. R1, R2 va R3 uchun qurilma nomlari va interfeyslarga tarmoq IP manzillarini sozlaymiz.
R1 marshrutizatorni sozlaymiz:
system-view
[Huawei]sysname R1
[R1]interface Ethernet 0/0/0
[R1-Ethernet0/0/0]ip address 11.11.11.1 255.255.255.252
[R1-Ethernet0/0/0]quit
[R1]interface Ethernet 0/0/1
[R1-Ethernet0/0/1]ip address 16.16.16.1 255.255.255.252
[R1-Ethernet0/0/1]quit
[R1]interface GigabitEthernet 0/0/0
[R1- GigabitEthernet]ip address 192.168.10.2 255.255.255.0
[R1- GigabitEthernet]quit
Joriy konfiguratsiyani ko’rish uchun quyidagi buyruqni kiritamiz:
display ip interface brief
R2 marshrutizatorni sozlaymiz:
system-view
[Huawei]sysname R2
[R2]interface Ethernet 0/0/0
[R2-Ethernet0/0/0]ip address 15.15.15.2 255.255.255.252
[R2-Ethernet0/0/0]quit
[R2]interface Ethernet 0/0/1
[R2-Ethernet0/0/1]ip address 12.12.12.2 255.255.255.252
[R2-Ethernet0/0/1]quit
[R2]interface GigabitEthernet 0/0/0
[R2- GigabitEthernet]ip address 192.168.20.2 255.255.255.0
[R2- GigabitEthernet]quit
Joriy konfiguratsiyani ko’rish uchun quyidagi buyruqni kiritamiz:
display ip interface brief
R3 marshrutizatorni sozlaymiz:
system-view
[Huawei]sysname R3
[R3]interface Ethernet 0/0/1
[R3-Ethernet0/0/0]ip address 16.16.16.2 255.255.255.252
[R3-Ethernet0/0/0]quit
[R3]interface Ethernet 0/0/0
[R3-Ethernet0/0/0]ip address 13.13.13.2 255.255.255.252
[R3-Ethernet0/0/0]quit
[R3]interface GigabitEthernet 0/0/0
[R3- GigabitEthernet]ip address 192.168.30.2 255.255.255.0
[R3- GigabitEthernet]quit
Joriy konfiguratsiyani ko’rish uchun quyidagi buyruqni kiritamiz:
display ip interface brief
Statik marshrutlarni sozlaymiz.
R1 marshrutizator uchun:
[R1]ip route-static 192.168.2.0 255.255.255.0 11.11.11.2
[R1]ip route-static 192.168.3.0 255.255.255.0 10.10.10.2
R2 marshrutizator uchun:
[R2]ip route-static 192.168.1.0 255.255.255.0 11.11.11.1
[R2]ip route-static 192.168.3.0 255.255.255.0 12.12.12.2
R3 marshrutizator uchun:
[R3]ip route-static 192.168.1.0 255.255.255.0 10.10.10.1
[R3]ip route-static 192.168.2.0 255.255.255.0 12.12.12.1
Endi zaxira marshrutlarni sozlaymiz.
R1 marshrutizator uchun:
[R1]ip route-static 192.168.2.0 255.255.255.0 11.11.11.2 preference 1
[R1]ip route-static 192.168.2.0 255.255.255.0 10.10.10.2 preference 5
R2 marshrutizator uchun:
[R2]ip route-static 192.168.1.0 255.255.255.0 11.11.11.1 preference 1
[R2]ip route-static 192.168.1.0 255.255.255.0 12.12.12.2 preference 5
R3 marshrutizator uchun:
[R3]ip route-static 192.168.1.0 255.255.255.0 10.10.10.1
[R3]ip route-static 192.168.2.0 255.255.255.0 12.12.12.1 preference 5
Do'stlaringiz bilan baham: