• Routerga
  • Axborot tеxnologiyalari univеrsitеti nurafshon filliali




    Download 0,98 Mb.
    bet9/11
    Sana13.02.2024
    Hajmi0,98 Mb.
    #155367
    1   2   3   4   5   6   7   8   9   10   11
    Bog'liq
    induidal

    Tarmoq topologiyasini tuzish.

    Ishni bajarish bo‘yicha topshiriqlar:
    Har bir talaba sanab o‘tilgan tartib raqami bilan berilgan variantlardan birini tanlashi kerak
    1-jadval va quyidagi vazifalarni bajaring:

    1. Har bir marshrutizator ostida ikkita kalit bo‘lishi kerak, ular router orqali ulanadi.

    2. Har bir kommutatorda kamida ikkita turli VLAN guruhini tashkil qiling (masalan: kommutator_1 uchun VLAN_2, kommutator_1 uchun VLAN_3, kommutator_2 uchun VLAN_2, VLAN_3). Har bir VLAN guruhida kamida ikkita kompyuter (kompyuter) bo‘lishi kerak. Har bir VLAN guruhi bittasi bilan ma’lumot almashishi uchun kalitlar o‘rtasida TRUNKni joylashtiring.

    3. Yaratilgan tarmoqda marshrutlash protokollarini qo‘llash uchun 1-jadval 3-ustuniga qarang.

    4. Kompyuter qurilmalariga IP addresslarni berishda dinamik addresslarni taqsimlash protokolidan (DHCP) foydalaning.

    5. VLAN guruhlari boshqa tarmoqdagi VLAN guruhlari bilan ma’lumot almashishiga ishonch hosil qiling. Ushbu vazifani 1-jadvalning 6-ustunida keltirilgan marshrutizatorlar uchun qo‘llang.

    5-ustunda keltirilgan marshrutizatorlar uchun 1-jadval, konsolga kirish, imtiyoz rejimiga kirish, shuningdek masofaviy kirish uchun passwordni o‘rnating (password sifatida ismingiz, familiyangiz va sherifingizdan foydalaning).




    3.1 -rasm



      1. Tarmoq qurilmalarini sozlash.





    O’zgartirish> yoqish
    Switch#configure terminali
    Har bir satrda bittadan konfiguratsiya buyruqlarini kiriting. CNTL/Z bilan tugating. Switch(config)#ip dhcp pool Vlan2
    Switch(dhcp-config)#tarmoq 172.16.100.0 255.255.255.248
    Switch(dhcp-config)#default-router 172.16.100.1 Switch(dhcp-
    config)#dns-server 3.3.3. Switch(dhcp-config)#exit Switch(config)#vlan 2 Switch(config-vlan)#exit Switch(config)#int vlan 2 Switch(config-if)#
    %LINK-5-CHANGED: Vlan2 interfeysi, holati yuqoriga o’zgartirildi Switch(config-if)#ip manzili 172.16.100.2 255.255.255.248 Switch(config-if)#exit
    Switch(config)#ip dhcp excluded-manzil 172.16.100.1 Switch(config)#ip dhcp excluded-manzil 172.16.100.2 Switch(config)#int fastEthernet 0/1
    Switch(config-if)#switchport rejimiga kirish Switch(config-if)#switchport access vlan 2
    O‘tish uchun -1




    Switch(config)#int fastEthernet 0/4 Switch(config-if)#switchport mode trunk Switch(config-if)#
    Switch#
    O‘tish uchun -1




    O’zgartirish> yoqish
    Switch#conf Switch(config)#vlan 2
    Switch(config-vlan)#exit Switch(config)#int fastEthernet 0/2 Switch(config- if)#switchport rejimiga kirish Switch(config- if)#switchport access vlan 2 Switch(config- if)#
    Switch#
    O‘tish uchun -2




    Switch(config)#vlan 3 Switch(config-vlan)#exit Switch(config)#interfeys vlan 3 Switch(config-if)#
    %LINK-5-CHANGED: Vlan3 interfeysi, holati yuqoriga o’zgartirildi

    Switch(config-if)#ip qo’shish 172.16.100.9 255.255.255.248


    O‘tish uchun -1

    Switch(config-if)#exit
    Switch(config)#ip dhcp pool Vlan3 Switch(dhcp- config)#tarmoq 172.16.100.8 255.255.255.248 Switch(dhcp-
    config)#default-router 172.16.100.10 Switch(dhcp- config.3ns-config)
    Switch(dhcp-config)#exit
    Switch(config)#ip dhcp excluded-manzil 172.16.100.9 Switch(config)#ip dhcp excluded-manzil 172.16.100.10 Switch(config)#int fastEthernet 0/2
    Switch(config-if)#switchport rejimiga kirish Switch(config-if)#switchport access vlan 3 Switch(config-if)#






    Switch(config)#vlan 3
    Switch(config-vlan)#exit Switch(config)#int fastEthernet 0/3 Switch(config- if)#switchport rejimiga kirish Switch(config- if)#switchport access vlan 3 Switch(config- if)#end
    Switch#

    O‘tish uchun -2

    O‘tish uchun -1



    Switch(config)#interfeys fastEthernet 0/1
    Switch(config-if)#switchport rejimi magistral


    Routerga



    Router>en Router>yoqish Router#conf t Router#conf terminali
    Har bir satrda bittadan konfiguratsiya buyruqlarini kiriting. CNTL/Z bilan tugating. Router(config)#inter
    Router(config)#interfeys fas
    Router(config)#interfeys fastEthernet 0/0 Router(config-if)#no shu
    Router(config-if)#o’chirish yo’q

    Router (agar konfiguratsiya) #


    %LINK-5-CHANGED: FastEthernet0/0 interfeysi, holati yuqoriga o’zgartirildi

    %LINEPROTO-5-UPDOWN: FastEthernet0/0 interfeysidagi chiziqli protokol, holat yuqoriga o’zgartirildi


    Router(config-if)#int Router(config-if)#chiqish Router(config)#inter Router(config)#interfeys fa


    Router(config)#interfeys fastEthernet 0/0.1
    Router(config-subif)#
    %LINK-5-CHANGED: Interfeys FastEthernet0/0.1, holati yuqoriga o’zgartirildi

    %LINEPROTO-5-UPDOWN: FastEthernet0/0.1 interfeysidagi chiziqli protokol, holati yuqoriga o’zgartirildi


    Router(config-subif)#en Router(config- subif)#encapsulation do Router(config- subif)#encapsulation dot1Q 2 Router(config- subif)#ip qo’shish


    Router(config-subif)#ip manzili 172.16.100.9 255.255.255.248 Router(config-subif)#int f0/0.2
    Router(config-subif)#
    %LINK-5-CHANGED: Interfeys FastEthernet0/0.2, holati yuqoriga o’zgartirildi

    %LINEPROTO-5-UPDOWN: FastEthernet0/0.2 interfeysidagi chiziqli protokol, holati yuqoriga o’zgartirildi


    Router(config-subif)#enc Router(config-subif)#encapsulation do Router(config-subif)#encapsulation dot1Q 3 Router(config- subif)#ip manzili 172.16.100.1 255.255.255.248



    Routerga



    Router(config)#ip route 172.16.100.16 serial 0/1/0 Router(config)#ip route 172.16.100.24 serial 0/1/0 Router(config)#ip route 172.16.100.32 serial 0/1/0 Router ( config)#ip route 172.16.100.40 serial 0/1/0 Router(config)#ip route 172.16.100.48 serial 0/1/0 Router(config)#ip route 172.16.100.56 serial 0/1/0





    Router(config)#ip route 172.16.100.80 serial 0/1/0 Router(config)#ip route 172.16.100.88 serial 0/1/0
    Routerga

    Router>en Router#host Router#conf t
    Har bir satrda bittadan konfiguratsiya buyruqlarini kiriting. CNTL/Z bilan tugating.
    Router (config) # hostname 412
    412 (config)#line konsoli 0
    412 (config-line)#parol Sultoniyon 412 (config-line)#login
    412 (config-line)#chiqish
    412 (config)#parolni yoqish Yovar 412 (config)#line vty 0 4
    412 (config-line)#pass
    412 (config-line)#parol 412
    412 (config-line)#login
    412 (config-line)#end
    R6#
    %SYS-5-CONFIG_I: Konsoldan konsol orqali sozlangan

    R6#







    Packet Tracer PC Command Line 1.0 PC>telnet 172.16.100.106
    172.16.50.65 urinilmoqda ...Ochish
    Foydalanuvchiga kirishni tekshirish

    Parol:
    R6>


    [172.16.100.106 ga ulanish xorijiy xost tomonidan yopilgan] Kompyuter>


    3.3 Tarmoqni ishga tushurish va natijalarni ko‘rish.

    3.2 – rasm



    3.3 – rasm




    PAT- dinamik NATning bir shakli bo‘lib, bir nechta ro‘yxatdan o‘tmagan manzillarni turli xil portlardan foydalangan holda bitta ro‘yxatdan o‘tgan IP manzilga translatsiya qilishdan iborat.
    PAT bo`yicha ishni bajarish tartibi


    3.4 – rasm. PAT tamoyili asosida qurilgan tarmoq tuzilishi



    Download 0,98 Mb.
    1   2   3   4   5   6   7   8   9   10   11




    Download 0,98 Mb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    Axborot tеxnologiyalari univеrsitеti nurafshon filliali

    Download 0,98 Mb.