• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.

Announcement

Collapse
No announcement yet.

Configuring a router-to-router lan-to-lan tunnel with a router initiating ike aggressive mode

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Configuring a router-to-router lan-to-lan tunnel with a router initiating ike aggressive mode





    Cấu hình RouterA:

    Current configuration : 1253 bytes

    !

    version 12.2

    !

    hostname RouterA

    !

    ip subnet-zero

    !

    crypto isakmp policy 1

    hash md5

    authentication pre-share

    crypto isakmp keepalive 30 5

    !

    crypto isakmp peer address 14.38.69.71

    set aggressive-mode password cisco123

    set aggressive-mode client-endpoint ipv4-address 14.38.69.70

    !

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

    !

    crypto map mymap 1 ipsec-isakmp

    set peer 14.38.69.71

    set transform-set myset

    match address 100

    !

    interface Loopback0

    ip address 1.1.1.1 255.255.255.0

    !

    interface Ethernet0/0

    ip address 14.38.69.70 255.255.0.0

    half-duplex

    crypto map mymap

    !

    !

    !

    ip classless

    ip route 0.0.0.0 0.0.0.0 14.38.69.71

    ip http server

    !

    access-list 100 permit ip 1.1.1.0 0.0.0.255 2.2.2.0 0.0.0.255

    !

    !

    !

    End





    Cấu hình Router B

    Current configuration : 1147 bytes

    !

    version 12.2

    !

    hostname RouterB

    !

    ip subnet-zero

    !

    crypto isakmp policy 1

    hash md5

    authentication pre-share

    crypto isakmp key cisco123 address 14.38.69.70

    crypto isakmp keepalive 30 5

    !

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

    !

    crypto dynamic-map mymap 10

    set transform-set myset

    !

    crypto map mainmap 1 ipsec-isakmp dynamic mymap

    !

    interface Loopback0

    ip address 2.2.2.2 255.255.255.0

    !

    interface FastEthernet0/0

    ip address 14.38.69.71 255.255.0.0

    duplex auto

    speed auto

    crypto map mainmap

    !

    interface Serial0/0

    no ip address

    shutdown

    no fair-queue

    !

    !

    ip classless

    ip route 0.0.0.0 0.0.0.0 14.38.69.70

    no ip http server

    !

    !

    End
    Email : vnpro@vnpro.org
    ---------------------------------------------------------------------------------------------------------------
Trung Tâm Tin Học VnPro
149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
Tel : (08) 35124257 (5 lines)
Fax: (08) 35124314

Home page: http://www.vnpro.vn
Support Forum: http://www.vnpro.org
- Chuyên đào tạo quản trị mạng và hạ tầng Internet
- Phát hành sách chuyên môn
- Tư vấn và tuyển dụng nhân sự IT
- Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

Network channel: http://www.dancisco.com
Blog: http://www.vnpro.org/blog
Working...
X