• 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.

Bài viết FR with Tunnel

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bài viết FR with Tunnel

    CONFIGURATION DOCUMENT


    A. LAB DIAGRAM





    B. CONFIGURATION
    ================================================== ===================
    Configuration on Router R1 :
    ================================================== ===================
    Current configuration : 1060 bytes
    !
    version 12.2
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname R1
    !
    frame-relay switching
    !
    !
    interface Tunnel0
    ip address 192.168.1.5 255.255.255.252
    tunnel source FastEthernet0/0
    tunnel destination 192.168.1.2
    !
    interface Tunnel2
    ip address 192.168.1.22 255.255.255.252
    tunnel source Serial0/1
    tunnel destination 192.168.1.14
    !
    interface FastEthernet0/0
    ip address 192.168.1.1 255.255.255.252
    duplex auto
    speed auto
    !
    interface Serial0/0
    no ip address
    encapsulation frame-relay
    no fair-queue
    clockrate 64000
    frame-relay intf-type dce
    frame-relay route 16 interface Tunnel0 16
    frame-relay route 17 interface Tunnel2 17
    !
    interface Serial0/1
    ip address 192.168.1.13 255.255.255.252
    !
    ip classless
    ip http server
    !
    line con 0
    line aux 0
    line vty 0 4
    login
    !
    end


    ================================================== ==================
    Configuration on Router R2:
    ================================================== ==================
    Current configuration:
    !
    version 12.0
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname R2
    !
    !
    ip subnet-zero
    frame-relay switching
    !
    interface Tunnel1
    ip address 192.168.1.18 255.255.255.252
    no ip directed-broadcast
    tunnel source Ethernet0/0
    tunnel destination 192.168.1.10
    !
    interface Tunnel2
    ip address 192.168.1.21 255.255.255.252
    no ip directed-broadcast
    tunnel source Serial0/0
    tunnel destination 192.168.1.13
    !
    interface Ethernet0/0
    ip address 192.168.1.9 255.255.255.252
    no ip directed-broadcast
    !
    interface Serial0/0
    ip address 192.168.1.14 255.255.255.252
    no ip directed-broadcast
    no ip mroute-cache
    no fair-queue
    clockrate 64000
    !
    interface Serial0/1
    no ip address
    no ip directed-broadcast
    encapsulation frame-relay
    logging event subif-link-status
    logging event dlci-status-change
    clockrate 64000
    frame-relay intf-type dce
    frame-relay route 17 interface Tunnel2 17
    frame-relay route 18 interface Tunnel1 18
    !
    ip classless
    !
    line con 0
    transport input none
    line aux 0
    line vty 0 4
    login
    !
    no scheduler allocate
    end
    ================================================== ======================
    Configuration on Router R7:
    ================================================== ======================
    Building configuration...

    Current configuration : 1747 bytes
    !
    version 12.2
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname R7-3600
    !
    enable password cisco
    !
    frame-relay switching
    !
    call rsvp-sync
    !
    !
    interface Tunnel0
    ip address 192.168.1.6 255.255.255.252
    tunnel source FastEthernet0/0
    tunnel destination 192.168.1.1
    !
    interface Tunnel1
    ip address 192.168.1.17 255.255.255.252
    tunnel source FastEthernet0/1
    tunnel destination 192.168.1.9
    !
    interface FastEthernet0/0
    ip address 192.168.1.2 255.255.255.252
    duplex auto
    speed auto
    !
    interface FastEthernet0/1
    ip address 192.168.1.10 255.255.255.252
    duplex auto
    speed auto
    !
    interface Serial1/3
    no ip address
    encapsulation frame-relay
    clockrate 64000
    frame-relay intf-type dce
    frame-relay route 16 interface Tunnel0 16
    frame-relay route 18 interface Tunnel1 18
    !
    !
    line con 0
    line aux 0
    line vty 0 4
    password cisco
    login
    !
    end

    ================================================== ==============
    Configuration on R3:
    ================================================== ==============
    Building configuration...

    Current configuration:
    !
    version 12.0
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname R3
    !
    !
    ip subnet-zero
    !
    interface Serial1
    ip address 172.16.1.3 255.255.255.0
    no ip directed-broadcast
    encapsulation frame-relay
    logging event subif-link-status
    logging event dlci-status-change
    !
    ip classless
    !
    line con 0
    logging synchronous
    transport input none
    line aux 0
    line vty 0 4
    login
    !
    end
    ================================================== ==============
    Configuration on R5:
    ================================================== ==============
    Building configuration...

    Current configuration:
    !
    version 12.0
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname R5
    !
    ip subnet-zero
    !
    interface Serial1
    ip address 172.16.1.5 255.255.255.0
    no ip directed-broadcast
    encapsulation frame-relay
    logging event subif-link-status
    logging event dlci-status-change
    !
    ip classless
    !
    !
    line con 0
    transport input none
    line aux 0
    line vty 0 4
    login
    !
    end

    ================================================== ==============
    Configuration on R6:
    ================================================== ==============
    Building configuration...

    Current configuration:
    !
    version 12.0
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname R6
    !
    !
    ip subnet-zero
    !
    interface Serial0
    ip address 172.16.1.4 255.255.255.0
    no ip directed-broadcast
    encapsulation frame-relay
    no ip mroute-cache
    logging event subif-link-status
    logging event dlci-status-change
    no fair-queue
    !
    interface Serial1
    no ip address
    no ip directed-broadcast
    shutdown
    !
    ip classless
    !
    line con 0
    logging synchronous
    transport input none
    line aux 0
    line vty 0 4
    login
    !
    end

  • #2
    RE: Bài viết FR with Tunnel

    Nếu có hai router 2500 mỗi router có 2 cổng serials, có thể kết hợp với nhau để làm một FrameRelay Switch có 4 cổng serials. Hai router sẽ nối với nhau qua cổng Ethernet, sau đó tạo một tunnel trên kết nối Ethernet này.

    Cấu hình chi tiết như sau:

    FRSwitch 2:

    sh run

    !
    version 12.1

    hostname FrameSW2
    !
    frame-relay switching
    !
    interface Tunnel0
    no ip address
    tunnel source FastEthernet0/0
    tunnel destination 192.168.11.1
    !
    interface FastEthernet0/0
    ip address 192.168.11.2 255.255.255.0
    duplex auto
    speed auto
    !
    interface Serial0/0
    no ip address
    encapsulation frame-relay
    no fair-queue
    clockrate 64000
    frame-relay intf-type dce
    frame-relay route 103 interface Tunnel0 103
    frame-relay route 203 interface Tunnel0 203
    frame-relay route 304 interface Serial0/1 403
    !
    interface Serial0/1
    no ip address
    encapsulation frame-relay
    clockrate 64000
    frame-relay intf-type dce
    frame-relay route 104 interface Tunnel0 104
    frame-relay route 204 interface Tunnel0 204
    frame-relay route 403 interface Serial0/0 304
    !
    ip classless
    !
    line con 0
    password cisco
    login
    transport input none
    line aux 0
    line vty 0 4
    password cisco
    login
    !
    no scheduler allocate
    end

    sh run
    Building configuration...

    Current configuration : 1436 bytes
    !
    version 12.1
    !
    hostname FrameSW1
    !
    frame-relay switching
    !
    interface Tunnel0
    no ip address
    tunnel source Ethernet0/0
    tunnel destination 192.168.11.2
    !
    interface Ethernet0/0
    ip address 192.168.11.1 255.255.255.0
    half-duplex
    !
    interface Serial0/0
    ip address 192.168.1.1 255.255.255.0
    encapsulation frame-relay
    frame-relay intf-type dce
    frame-relay route 102 interface Serial0/1 201
    frame-relay route 103 interface Tunnel0 103
    frame-relay route 104 interface Tunnel0 104
    !
    interface Serial0/1
    no ip address
    encapsulation frame-relay
    clockrate 64000
    frame-relay intf-type dce
    frame-relay route 201 interface Serial0/0 102
    frame-relay route 203 interface Tunnel0 203
    frame-relay route 204 interface Tunnel0 204
    !
    ip kerberos source-interface any
    ip classless
    no ip http server
    !

    end

    Cần chú ý cách dùng lệnh frame-relay route trên các framerelay switch.
    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

Comment

    Working...
    X