O`ZBEKISTON RESPUBLIKASI RAQAMLI TEXNOLOGIYALAR VAZIRLIGI
MUHAMMAD AL-XORAZMIY NOMIDAGI
TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI
KOMPYUTER TARMOQLARI FANIDAN
5-amaliy ishi
Guruh: NWK020-2
Bajardi: Matyaqubov Yusupboy
Tekshirdi: Uskenbayeva Dilfuza
Toshkent-2023
Mavzu: Cisco routerlarining buyruq interfeysi bilan ishlash va dastlabki konfiguratsiyani sozlash. Cisco packet tracerda VLANni loyihalash va qurish.
rasm. Tarmoq qurish uchun berilgan qurilamalar
2-rasm. Qurilmalarning bir-biri bilan o’zaro bog’lanishi
3-rasmlar. Kompyuterlarga ip berilgan holat.
4-rasm. Switchga vlan ko’tarilgan vaziyat
rasmlar. Routerda vlan ko’tarilish jarayoni
rasmlar. Kompyuterlarning o’zaro ma’lumot almashinuvi
rasmlar. Kompyuterlar bir-birlariga ping jo’natyapti
Switchga yozilgan kodlar.
Switch(config)#vlan 2
Switch(config-vlan)#exit
Switch(config)#vlan 3
Switch(config-vlan)#exit
Switch(config)#vlan 4
Switch(config-vlan)#exit
Switchda vlan yaratib olyapmiz.
Switch(config)#interface fastEthernet 0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 2
Switch(config-if)#exit
Switch(config)#interface fastEthernet 0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 3
Switch(config-if)#exit
Switch(config)#interface fastEthernet 0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 4
Switch(config-if)#exit
Yaratilgan vlanlarni switchning har bir portiga biriktirib chiqilyapti.
Switch(config)#interface fastEthernet 0/4
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switchdan routerga vlanlar o’tishi uchun yozilgan kod
Routerga yozilgan kodlar
Router(config)#interface fastEthernet 0/0
Router(config-if)#no shutdown
Router(config-if)#exit
Routerning 0/0 portini yoqib olyapmiz
Router(config)#interface fastEthernet 0/0.1
Router(config-subif)#encapsulation DOT1Q 2
Router(config-subif)#ip address 161.148.1.1 255.255.255.0
Router(config-subif)#exit
Router(config)#interface fastEthernet 0/0.2
Router(config-subif)#encapsulation DOT1Q 3
Router(config-subif)#ip address 161.148.2.1 255.255.255.0
Router(config-subif)#exit
Router(config)#interface fastEthernet 0/0.3
Router(config-subif)#encapsulation DOT1Q 4
Router(config-subif)#ip address 161.148.3.1 255.255.255.0
Router(config-subif)#exit
Routerning 0/0 portiga vlanlarni biriktirib , vlanlarning ipisi yozilib ketyapti
161.148.1.0 /24
Vlan 2 uchun berilgan ip adress.
161.148.2.0 /24
Vlan 3 uchun berilgan ip adress.
161.148.3.0 /24
Vlan 4 uchun berilgan ip adress.
Dostları ilə paylaş: |