Új hozzászólás Aktív témák

  • jerry311

    nagyúr

    válasz tusi_ #2282 üzenetére

    Javarészt a configod copy-pasztája. :DDD
    Itt-ott átírva és/vagy egyszerűsítve. Pl. csak 2 router Fa0/0-n összekábelezve.
    R2#show run

    crypto isakmp policy 10
    encr 3des
    hash md5
    authentication pre-share

    crypto isakmp key cisco123 address 30.0.0.1 no-xauth

    crypto ipsec transform-set cisco esp-3des esp-md5-hmac

    crypto map vpn-map 10 ipsec-isakmp
    set peer 30.0.0.2
    set transform-set cisco
    match address 100

    interface Loopback1
    ip address 172.16.0.1 255.255.255.0

    interface Loopback2
    ip address 192.168.1.1 255.255.255.0

    interface Loopback3
    ip address 172.16.1.1 255.255.255.0

    interface Tunnel10
    ip address 20.0.0.2 255.255.255.252
    tunnel source FastEthernet0/0
    tunnel destination 30.0.0.2
    !
    interface FastEthernet0/0
    ip address 30.0.0.1 255.255.255.252
    duplex auto
    speed auto
    crypto map vpn-map

    router eigrp 10
    network 20.0.0.0
    network 172.16.0.0 0.0.3.255
    no auto-summary

    ip route 0.0.0.0 0.0.0.0 30.0.0.2 --> mert lusta vagyok. :D

    access-list 1 deny 192.168.1.0
    access-list 1 permit any
    access-list 2 deny 192.168.0.0 0.0.0.255
    access-list 100 permit ip 172.16.0.0 0.0.1.255 192.168.0.0 0.0.1.255
    access-list 100 permit gre any any --> mert még annál is lustább vagyok. :D

    =========================================================
    =========================================================

    R1#show run
    crypto isakmp policy 10
    encr 3des
    hash md5
    authentication pre-share
    crypto isakmp key cisco123 address 30.0.0.1 no-xauth

    crypto ipsec transform-set cisco esp-3des esp-md5-hmac

    crypto map vpn-map 10 ipsec-isakmp
    set peer 30.0.0.1
    set transform-set cisco
    match address 100

    interface Loopback1
    ip address 192.168.0.1 255.255.255.0

    interface Loopback3
    ip address 192.168.2.1 255.255.255.0

    interface Tunnel10
    ip address 20.0.0.1 255.255.255.252
    tunnel source FastEthernet0/0
    tunnel destination 30.0.0.1

    interface FastEthernet0/0
    ip address 30.0.0.2 255.255.255.252
    duplex auto
    speed auto
    crypto map vpn-map

    router eigrp 10
    network 20.0.0.0
    network 192.168.0.0 0.0.3.255
    no auto-summary

    ip route 0.0.0.0 0.0.0.0 30.0.0.1

    access-list 1 deny 192.168.1.0
    access-list 1 permit any
    access-list 2 deny 192.168.0.0 0.0.0.255
    access-list 100 permit ip 192.168.0.0 0.0.1.255 172.16.0.0 0.0.1.255
    access-list 100 permit gre any any

    =========================================================
    =========================================================

    R1# show ip route eigrp
    172.16.0.0/24 is subnetted, 2 subnets
    D 172.16.0.0 [90/297372416] via 20.0.0.2, 00:06:24, Tunnel10
    D 172.16.1.0 [90/297372416] via 20.0.0.2, 00:06:24, Tunnel10
    R1#

Új hozzászólás Aktív témák

Hirdetés