• Router(config)crypto isakmp policy 1 Router(config-isakmp)encryption aes Router(config-isakmp)hash md5
  • Router(config)crypto ipsec transform-set ts esp-aes esp-md5-hmac Router(config)ip access-list extended for-vpn
  • O‘zbekiston respublikasi axborot texnologiyalari




    Download 1,5 Mb.
    bet9/12
    Sana26.05.2024
    Hajmi1,5 Mb.
    #254458
    1   ...   4   5   6   7   8   9   10   11   12
    Bog'liq
    mamalatifov sardor 15 -labaratoriya ishi

    Ishni bajarish tartibi

    1. Cisco packet tracer dasturi ishga tushiriladi.

    2. Quyida keltirilgan topologiya quriladi.

    3. Qurilgan topologiya testlab ko`riladi.



    15.2-rasm. Tadqiq qilinayotgan tarmoq topologiyasi
    ROUTER_1 ga kiritiladigan buyruqlar ketma-ketligi.
    Router>enable
    Router#conf t
    Router(config)#int fa 0/0
    Router(config-if)#no shut
    Router(config-if)#ip nat inside
    Router(config-if)#ip address 192.168.2.1 255.255.255.0
    Router(config)#int fa 0/1
    Router(config-if)#no shut
    Router(config-if)#ip address 1.1.1.1 255.255.255.252
    Router(config-if)#ip nat outside
    Router(config-if)#exit
    Router(config)#ip access-list extended for-nat
    Router(config-ext-nacl)#deny ip 192.168.2.0 0.0.0.255 192.168.3.0 0.0.0.255
    Router(config-ext-nacl)#permit ip 192.168.2.0 0.0.0.255 any
    Router(config-ext-nacl)#exit
    Router(config)#ip nat inside source list for-nat int fa 0/1 overload
    Router(config)#ip route 0.0.0.0 0.0.0.0 1.1.1.2
    Router(config)#ip dhcp pool vl2
    Router(dhcp-config)#network 192.168.2.0 255.255.255.0
    Router(dhcp-config)#default-router 192.168.2.1
    Router(dhcp-config)#dns-server 8.8.8.8
    Router(dhcp-config)#exit
    Router(config)#crypto isakmp policy 1
    Router(config-isakmp)#encryption aes
    Router(config-isakmp)#hash md5
    Router(config-isakmp)#authentication pre-share
    Router(config-isakmp)#group 2
    Router(config)#crypto isakmp key 123 address 2.2.2.1
    Router(config)#crypto ipsec transform-set ts esp-aes esp-md5-hmac
    Router(config)#ip access-list extended for-vpn

    Download 1,5 Mb.
    1   ...   4   5   6   7   8   9   10   11   12




    Download 1,5 Mb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    O‘zbekiston respublikasi axborot texnologiyalari

    Download 1,5 Mb.