Muhammad al-Xorazmiy nomidagi Toshkent Axborot Texnologiyalari Universiteti Kompyuter tarmoqlari


Download 344.41 Kb.
Sana16.06.2023
Hajmi344.41 Kb.
#1493300
Bog'liq
2-labaratoriya



Muhammad al-Xorazmiy nomidagi Toshkent Axborot Texnologiyalari Universiteti

Kompyuter tarmoqlari


2-LABARATORIYA ISHI
Bajardi: 070-20- guruh talabasi
Karimberdiyev Shukurullo
Tekshirdi: Karimov A. B.

Tashkent – 2023


9-variant
Amaliy qisim

  1. Berilgan qurilmalar varianti boʻyicha kompyuter tarmogʻini loyihalang.

Cisco Packet Tracer dasturiga 24 ta kompyuter, 2 ta switch, 2 ta router dasturga chaqirib olamiz va ko’rib turganinggizdek joylashtiramiz. 1.1-rasm.



Ikala routerni ham aloqa liniyasi orqali bog’lab olamiz. 1.2-rasm.


Birinchi routerning Config menyusiga kirib FastEthernet 0/0 portiga 192.168.1.100 Ip manzil beramiz. 1.3-rasm.



UZ routerining ikkinchi FastEthernat 0/1 portiga 192.168.2.10 Ip manzil yozib olamiz. 1.4-rasm.

Shu tarzda ikkinchi RUS routerimizga ham ip manzillarni yozib olamiz. Endi esa UZ routerimizga ikkinchi routerimiz bilan aloqa almashinishimiz uchun yo’nalish beramiz. Quyidagi kodni yozamiz.
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fa0/0
Router(config-if)#ip address 192.168.1.100 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#interface fa0/1
Router(config-if)#ip address 192.168.2.100 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exitip
Router(config)#ip dhcp pool lan_tarmoq
Router(dhcp-config)#network 192.168.1.10 255.255.255.0
Router(dhcp-config)#default-router 192.168.1.100
Router(dhcp-config)#exit
Router(config)#ip dhcp pool Lan_tarmoq2
Router(dhcp-config)#network 192.168.2.10 255.255.255.0
Router(dhcp-config)#default-router 192.168.2.100
Router(dhcp-config)#exit
Router (config-if)#exit
Router (config)#ip route 192.168.3.100 255.255.255.0 fastEthernet 0/0
Ikkinchi RUS routerimizga ham birinchi router bilan aloqa almashinishi uchun yo’nalish beramiz. Quydagi kodni yozamiz.
Router (config-if)#exit
Router (config)#ip route 192.168.1.100 255.255.255.0 fastEthernet 0/0

Endi ikki tarmoq ham bir-biri bilan ma’lumot almasha oladi. Ish holatiga tayyor. 1.5-rasm.



Download 344.41 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling