21.3-rasm. Vlan 10 dagi hostlar dinamik IP addresslarni sozlash
21.4-rasm. Vlan 10 dagi hostlar dinamik IP address berish
Yuqoridagi rasmlardan ko’rish mumkinki Vlan 10 dagi hostlar ip address olgan lekin vlan 20 dagi hostlar ip address olmagan. Demak, vlan 20 nima uchun ip address olmaganligini aniqlab ushbu xatolikni bartaraf etishimiz kerak.
Komutator va marshrutizator qurilmalarida muammolarni aniqlash uchun quyidagi buyruqlardan foydalaniladi:
– Komutator uchun:
Show vlan – vlanlarni ko’rish
Show vlan brief Show interface trunk Show ip arp- Show mac-address-table- Show ip interface brief show interface fastEthernet 0/1… – Marshrutizator uchun:
Show ip arp- Show dhcp lease- Show ip dhcp pool- Show ip dhcp binding-…
21.5-rasm. Show vlan
21.5-rasmdan Vlanlarda muammo yo’qligini ko’rish mumkin.
21.6-rasm. Show interface trunk
21.6-rasmdan muammo interfaceda ekanligini ko’rish mumkin. Vlanlarni trunk portlarga biriktirishda vlan 20 biriktirilmasdan qolib ketgan shuning uchun vlan 20 dagi hostlarda dhcp xizmati ishlamagan. Topilgan muammo quyidagicha bartaraf etiladi:
Switch# Switch#conf t Switch(config)#interface fastEthernet 0/9 Switch(config-if)#switchport trunk allowed vlan add 20 Switch(config-if)# exit Switch(config)#do wr Muammo bartaraf etilganligini testlab ko’rish kerak(21.7-rasm)