1. Oldingi laboratoriya ishlaridan tugagan loyihani oching.
2. Dasturning ish joyida kirish nuqtasini yarating va uni kalitga ulang. Agar
so'ralsa, kirish nuqtasi sozlanishi (Port 0 - jismoniy port va Port 1 simsiz)
3. Simsiz kirish nuqtasi uchun boshqa VLANni yarating.
4. Router 0 VLAN-4 sozlamalariga qo'shing va Internetga kirish uchun ruxsat
ro'yxatiga qo'shing.
5. Biz buni oldingi amaliyotda (VLAN va PAT)
qilganimiz uchun bunga
batafsil to’xtalmaymiz, ammo qurilmadagi barcha buyruqlarni ro'yxatdan
o’tkazamiz.
Switch
Switch>en
Switch#conf t
Switch(config)#vlan 4
Switch(config-vlan)#name Wi-Fi
Switch(config-vlan)#exit
Switch(config)#interface FastEthernet0/5
Switch(config-if)#switchport access vlan 4
Router (subinterface)
Router>en
Router#conf t
Router(config)#int fa0/1.4
Router(config-subif)#encapsulation dot1Q 4
Router(config-subif)#ip address 192.168.4.1
255.255.255.0
Router(config-subif)#no shutdown
Router(config-subif)#end
Router (DHCP (Dynamic Host Configuration
Protocol - Dinamik Xost
Konfiguratsiya Protokoli). Kompyuterlar avtomatik tarzda TCP / IP tarmog'ida
ishlash uchun zarur bo'lgan IP-manzilini va boshqa parametrlarini olish imkonini
beruvchi tarmoq protokoli)
Router#conf t
Router(config)#ip
dhcp pool Wi-Fi-pool
Router(dhcp-config)#network 192.168.4.0
255.255.255.0
Router(dhcp-config)#default-router 192.168.4.1
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 192.168.4.1
Router(config)#end
Bu yerga batafsil to'xtalib o'tamaymiz, chunki biz bu parametr bilan
oldindan tanishmaganmiz.
Router(config)#ip dhcp pool Wi-Fi-pool – DHCP manzillarini yaratish.
Router(dhcp-config)#network 192.168.4.0 255.255.255.0 – dhcp ni malga
oshiruvchi tarmoq va uning maskasi
Router(dhcp-config)#default-router 192.168.4.1 – router adresi
Router(config)#ip dhcp excluded-address 192.168.4.1 – yo'riqchining manzilini
dhcp orqali taqsimlashdan chetda qoldirish
Router (access list)
Router(config)#ip access-list standard HABRAHABR
Router(config-std-nacl)#permit 192.168.4.0
0.0.0.255
Router(config-std-nacl)#exit
Router(config)#int fa0/1.4
Router(config-subif)#ip
nat inside
Router(config-subif)#end
Packet Tracer ish maydoniga smartfon qo'shing va kompyuter,
server va
internetni pleylistga qo'shing, ya'ni 192.168.2.2, 192.168.3.2, 120.120.53.1.
Ko’rinib turganidek, hammasi ishlayapti.
Topshiriqlar
1. Cisco Packet Tracer-da ikkinchi variantdan foydalanib
Wi-Fi yaratish va
sozlash.
2. Cisco Packet Tracer-da uchinchi variantdan foydalanib Wi-Fi yaratish va
sozlash.
3. Haqiqiy uskunada ikkita kirish nuqtasi (birinchi marta Wi-Fi foydalanish)
o'rtasida ko'prikni sozlash.
4. Wi-Fi-kirish nuqtasini sozlash
5. Wi-Fi ko’prikni sozlash.