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

Frame Relay Full Mesh

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

  • Frame Relay Full Mesh


    Cấu hình Frame Relay Point to point, dạng full-mesh. R2 và R3 có kết nối trực tiếp, chứ không thông qua R1 như mô hình dạng Hub&Spoke .
    Chạy định tuyến RIP để quảng bá mạng cho nhau và mạng hội tụ, tất cả IP ping thấy nhau .

    FRSW:
    sh run
    Building configuration...
    !
    hostname FRSW
    !
    no aaa new-model
    ip subnet-zero
    !
    frame-relay switching
    !
    ip cef
    !
    interface Serial1/1
    no ip address
    encapsulation frame-relay
    serial restart-delay 0
    frame-relay intf-type dce
    frame-relay route 102 interface Serial1/2 201
    frame-relay route 103 interface Serial1/3 301
    !
    interface Serial1/2
    no ip address
    encapsulation frame-relay
    serial restart-delay 0
    frame-relay intf-type dce
    frame-relay route 201 interface Serial1/1 102
    frame-relay route 203 interface Serial1/3 302
    !
    interface Serial1/3
    no ip address
    encapsulation frame-relay
    frame-relay intf-type dce
    frame-relay route 301 interface Serial1/1 103
    frame-relay route 302 interface Serial1/2 203
    !
    ip classless
    !
    end

    FRSW#
    R1:
    sh run
    Building configuration...
    !
    hostname R1
    !
    ip subnet-zero
    !
    !
    !
    ip cef
    !
    interface Loopback1
    ip address 1.1.1.1 255.255.255.0
    !
    !
    interface Serial1/1
    no ip address
    encapsulation frame-relay
    serial restart-delay 0
    !
    interface Serial1/1.12 point-to-point
    ip address 192.168.12.1 255.255.255.0
    frame-relay interface-dlci 102
    !
    interface Serial1/1.13 point-to-point
    ip address 192.168.13.1 255.255.255.0
    frame-relay interface-dlci 103
    !
    router rip
    network 1.0.0.0
    network 192.168.12.0
    network 192.168.13.0
    !
    ip classless
    no ip http server
    no ip http secure-server
    !
    end

    R1#
    R2:
    sh run
    Building configuration...
    !
    hostname R2
    !
    ip subnet-zero
    !
    ip cef
    !
    !
    interface Loopback1
    ip address 2.2.2.2 255.255.255.0
    !
    interface Serial1/2
    no ip address
    encapsulation frame-relay
    serial restart-delay 0
    !
    interface Serial1/2.21 point-to-point
    ip address 192.168.12.2 255.255.255.0
    frame-relay interface-dlci 201
    !
    interface Serial1/2.23 point-to-point
    ip address 192.168.23.2 255.255.255.0
    frame-relay interface-dlci 203
    !
    router rip
    network 2.0.0.0
    network 192.168.12.0
    network 192.168.23.0
    !
    ip classless
    !
    end

    R2#
    R3:
    sh run
    Building configuration...
    !
    hostname R3
    !
    ip subnet-zero
    !
    no ip cef
    !
    !
    interface Loopback12
    ip address 3.3.3.32 255.255.255.0
    !
    interface Serial1/3
    no ip address
    encapsulation frame-relay
    serial restart-delay 0
    !
    interface Serial1/3.31 point-to-point
    ip address 192.168.13.3 255.255.255.0
    frame-relay interface-dlci 301
    !
    interface Serial1/3.32 point-to-point
    ip address 192.168.23.3 255.255.255.0
    frame-relay interface-dlci 302
    !
    !
    router rip
    network 3.0.0.0
    network 192.168.13.0
    network 192.168.23.0
    !
    ip classless
    !
    end

    R3#
    Last edited by luancb; 19-12-2009, 09:25 PM.
    Trịnh Anh Luân
    - Email : trinhanhluan@vnpro.org
    - Search my site
    - Search VNPRO.ORG

Trung Tâm Tin Học VnPro
Địa chỉ: 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
Network channel: http://www.dancisco.com
  • 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

Blog: http://www.vnpro.org/blog
Wifi forum: http://www.wifipro.org

  • #2
    Mình cũng cấu hình y như bài của bạn nhưng không biết tại sao lại không chạy? Mình làm trên GNS3 với con c7200 và dùng ISO c7200-jk9o3s-mz.124-12.bin. Có khi nào là do GNS3 hay do cái ISO không bạn?

    Comment


    • #3
      Bạn show run các router lên để xem thử, chắc có vấn đề gì đó, mà bạn chưa tìm ra.
      Trịnh Anh Luân
      - Email : trinhanhluan@vnpro.org
      - Search my site
      - Search VNPRO.ORG

      Trung Tâm Tin Học VnPro
      Địa chỉ: 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
      Network channel: http://www.dancisco.com
      • 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

      Blog: http://www.vnpro.org/blog
      Wifi forum: http://www.wifipro.org

      Comment


      • #4
        cảm ơn bạn nhiều. Mình đã làm được rồi. Cũng không biết là sai ở đâu (hay do cái ISO):106:, sửa hoài mệt quá@-) nên mình quyết định làm lại từ đầu với 1 ISO khác[-o< và cuối cùng là thành công=D>. Cảm ơn bài viết của bạn :113:

        Comment


        • #5
          Nhiều khi do cấu hình, cũng hơi phức tạp, có thể gõ sai gì đó mà nhìn hoài ko ra. nên... ^_^.
          Trịnh Anh Luân
          - Email : trinhanhluan@vnpro.org
          - Search my site
          - Search VNPRO.ORG

          Trung Tâm Tin Học VnPro
          Địa chỉ: 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
          Network channel: http://www.dancisco.com
          • 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

          Blog: http://www.vnpro.org/blog
          Wifi forum: http://www.wifipro.org

          Comment


          • #6






            tương tự vậy

            sau vài giây thì delete ko hiue63 vì sao?

            Comment


            • #7
              Bạn show run lên thử xem ?!
              Trịnh Anh Luân
              - Email : trinhanhluan@vnpro.org
              - Search my site
              - Search VNPRO.ORG

              Trung Tâm Tin Học VnPro
              Địa chỉ: 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
              Network channel: http://www.dancisco.com
              • 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

              Blog: http://www.vnpro.org/blog
              Wifi forum: http://www.wifipro.org

              Comment


              • #8
                Chào bác luancb !
                bác cho e hỏi nếu 3 mạng loopblack e dùng 3 định tuyến khác nhau thì sao nhỉ?
                làm sao để chúng thấy nhau!
                Hình như theo lý thuyết thì qua frame-relay là ko được hả bác?
                mạng 1.1.1.0/24 dùng rip
                mạng 2.2.2.0/24 dùng eigrp 100
                mạng 3.3.3.0/24 dùng ospf 200
                thì sao bác nhỉ?

                Comment


                • #9
                  Chạy định tuyến khác nhau, bạn phải sử dụng công cụ Redistribute để cho các mạng thấy nhau.
                  Trịnh Anh Luân
                  - Email : trinhanhluan@vnpro.org
                  - Search my site
                  - Search VNPRO.ORG

                  Trung Tâm Tin Học VnPro
                  Địa chỉ: 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
                  Network channel: http://www.dancisco.com
                  • 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

                  Blog: http://www.vnpro.org/blog
                  Wifi forum: http://www.wifipro.org

                  Comment


                  • #10
                    cụ thể là e làm cái bài này




                    HP

                    Code:
                    Code:
                     Router#sho run
                    Building configuration...
                    
                    Current configuration : 2333 bytes
                    !
                    version 12.4
                    service timestamps debug datetime msec
                    service timestamps log datetime msec
                    no service password-encryption
                    !
                    hostname Router
                    !
                    boot-start-marker
                    boot-end-marker
                    !
                    !
                    no aaa new-model
                    !
                    resource policy
                    !
                    memory-size iomem 5
                    ip flow-cache timeout active 5
                    !
                    !
                    ip cef
                    no ip domain lookup
                    !
                    !
                    !
                    !
                    !
                    !
                    !
                    !!
                    !
                    !
                    interface Loopback0
                     ip address 20.0.1.1 255.255.255.0
                    !
                    interface Loopback1
                     ip address 20.0.3.1 255.255.255.0
                    !
                    interface Loopback2
                     no ip address
                    !
                    interface Loopback3
                     ip address 20.0.4.1 255.255.255.0
                    !
                    interface Loopback4
                     ip address 20.0.5.1 255.255.255.0
                    !
                    interface Serial0/0
                     ip address 20.0.0.1 255.255.255.0
                     ip route-cache flow
                     serial restart-delay 0
                     no dce-terminal-timing-enable
                    !
                    interface Serial0/1
                     no ip address
                     encapsulation frame-relay
                     serial restart-delay 0
                     no dce-terminal-timing-enable
                     frame-relay lmi-type ansi
                    !
                    interface Serial0/1.1 point-to-point
                     ip address 192.168.1.1 255.255.255.0
                     frame-relay interface-dlci 201
                    !
                    interface Serial0/1.2 point-to-point
                     ip address 192.168.2.1 255.255.255.0
                     frame-relay interface-dlci 202
                    !
                    interface Serial0/2
                     no ip address
                     shutdown
                     serial restart-delay 0
                     no dce-terminal-timing-enable
                    !
                    interface Serial0/3
                     no ip address
                     shutdown
                     serial restart-delay 0
                     no dce-terminal-timing-enable
                    !
                    interface FastEthernet1/0
                     ip address 22.0.0.1 255.255.255.0
                     duplex auto
                     speed auto
                    !
                    router ospf 100
                     log-adjacency-changes
                     redistribute connected subnets
                     redistribute rip subnets
                     network 20.0.1.0 0.0.0.255 area 100
                     network 20.0.2.0 0.0.0.255 area 100
                     network 20.0.3.0 0.0.0.255 area 100
                     network 20.0.4.0 0.0.0.255 area 100
                     network 20.0.5.0 0.0.0.255 area 100
                     network 192.168.1.0 0.0.0.255 area 100
                     network 192.168.2.0 0.0.0.255 area 100
                    !
                    router rip
                     redistribute connected
                     redistribute ospf 100
                     passive-interface Serial0/1
                     network 20.0.0.0
                     default-metric 100
                    !
                    ip http server
                    no ip http secure-server
                    ip flow-export source Serial0/0
                    ip flow-export version 5
                    ip flow-export destination 21.0.0.78 9996
                    !
                    logging source-interface Serial0/0
                    logging 21.0.0.78
                    snmp-server community marstring RW
                    snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
                    snmp-server host 21.0.0.78 marstring
                    !
                    !
                    !
                    control-plane
                    !
                    !
                    !
                    !
                    line con 0
                    line aux 0
                    line vty 0 4
                    !
                    !
                    end
                    
                    Router#
                    Code:
                      Code:
                         Router#show ip rout
                    Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
                           D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
                           N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
                           E1 - OSPF external type 1, E2 - OSPF external type 2
                           i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
                           ia - IS-IS inter area, * - candidate default, U - per-user static route
                           o - ODR, P - periodic downloaded static route
                    
                    Gateway of last resort is not set
                    
                    R    21.0.0.0/8 [120/1] via 20.0.0.2, 00:00:05, Serial0/0
                         20.0.0.0/24 is subnetted, 5 subnets
                    C       20.0.4.0 is directly connected, Loopback3
                    C       20.0.5.0 is directly connected, Loopback4
                    C       20.0.0.0 is directly connected, Serial0/0
                    C       20.0.1.0 is directly connected, Loopback0
                    C       20.0.3.0 is directly connected, Loopback1
                         22.0.0.0/24 is subnetted, 1 subnets
                    C       22.0.0.0 is directly connected, FastEthernet1/0
                    O E2 40.0.0.0/8 [110/100] via 192.168.2.2, 00:20:28, Serial0/1.2
                         10.0.0.0/32 is subnetted, 5 subnets
                    O       10.0.5.104 [110/65] via 192.168.1.2, 00:20:28, Serial0/1.1
                    O       10.0.4.103 [110/65] via 192.168.1.2, 00:20:28, Serial0/1.1
                    O       10.0.2.101 [110/65] via 192.168.1.2, 00:20:29, Serial0/1.1
                    O       10.0.3.102 [110/65] via 192.168.1.2, 00:20:29, Serial0/1.1
                    O       10.0.1.100 [110/65] via 192.168.1.2, 00:20:29, Serial0/1.1
                    C    192.168.1.0/24 is directly connected, Serial0/1.1
                    C    192.168.2.0/24 is directly connected, Serial0/1.2
                         30.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
                    O E2    30.0.0.0/24 [110/20] via 192.168.2.2, 00:20:29, Serial0/1.2
                    O       30.0.6.104/32 [110/65] via 192.168.2.2, 00:20:29, Serial0/1.2
                    O       30.0.3.101/32 [110/65] via 192.168.2.2, 00:20:29, Serial0/1.2
                    O       30.0.1.100/32 [110/65] via 192.168.2.2, 00:20:29, Serial0/1.2
                    O       30.0.5.103/32 [110/65] via 192.168.2.2, 00:20:29, Serial0/1.2
                    O       30.0.4.102/32 [110/65] via 192.168.2.2, 00:20:29, Serial0/1.2
                    Router#
                    còn trên HN thì chỉ bảng route chỉ thấy
                    Code:
                    Code:
                      Router#sho ip rout
                    Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
                           D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
                           N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
                           E1 - OSPF external type 1, E2 - OSPF external type 2
                           i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
                           ia - IS-IS inter area, * - candidate default, U - per-user static route
                           o - ODR, P - periodic downloaded static route
                    
                    Gateway of last resort is not set
                    
                         21.0.0.0/24 is subnetted, 1 subnets
                    C       21.0.0.0 is directly connected, FastEthernet1/0
                         20.0.0.0/24 is subnetted, 5 subnets
                    R       20.0.4.0 [120/1] via 20.0.0.1, 00:00:16, Serial0/0
                    R       20.0.5.0 [120/1] via 20.0.0.1, 00:00:16, Serial0/0
                    C       20.0.0.0 is directly connected, Serial0/0
                    R       20.0.1.0 [120/1] via 20.0.0.1, 00:00:16, Serial0/0
                    R       20.0.3.0 [120/1] via 20.0.0.1, 00:00:16, Serial0/0
                    R    22.0.0.0/8 [120/1] via 20.0.0.1, 00:00:16, Serial0/0
                    R    192.168.1.0/24 [120/1] via 20.0.0.1, 00:00:16, Serial0/0
                    R    192.168.2.0/24 [120/1] via 20.0.0.1, 00:00:16, Serial0/0
                    Router# 
                    
                    router HCM
                         Code:
                         Router#sho run
                    Building configuration...
                    
                    Current configuration : 1796 bytes
                    !
                    version 12.4
                    service timestamps debug datetime msec
                    service timestamps log datetime msec
                    no service password-encryption
                    !
                    hostname Router
                    !
                    boot-start-marker
                    boot-end-marker
                    !
                    !
                    no aaa new-model
                    !
                    resource policy
                    !
                    memory-size iomem 5
                    !
                    !
                    ip cef
                    !
                    interface Loopback0
                     ip address 30.0.1.100 255.255.255.0
                    !
                    interface Loopback1
                     ip address 30.0.3.101 255.255.255.0
                    !
                    interface Loopback2
                     ip address 30.0.4.102 255.255.255.0
                    !
                    interface Loopback3
                     ip address 30.0.5.103 255.255.255.0
                    !
                    interface Loopback4
                     ip address 30.0.6.104 255.255.255.0
                    !
                    interface Serial0/0
                     no ip address
                     encapsulation frame-relay
                     serial restart-delay 0
                     no dce-terminal-timing-enable
                     frame-relay lmi-type ansi
                    !
                    interface Serial0/0.1 point-to-point
                     ip address 192.168.2.2 255.255.255.0
                     frame-relay interface-dlci 102
                    !
                    interface Serial0/1
                     ip address 30.0.0.1 255.255.255.0
                     serial restart-delay 0
                     no dce-terminal-timing-enable
                    !
                    interface Serial0/2
                     no ip address
                     shutdown
                     serial restart-delay 0
                     no dce-terminal-timing-enable
                    !
                    interface Serial0/3
                     no ip address
                     shutdown
                     serial restart-delay 0
                     no dce-terminal-timing-enable
                    !
                    router eigrp 200
                     redistribute connected
                     redistribute ospf 100 metric 100000 1 255 1 1500
                     network 30.0.0.0 0.0.0.255
                     no auto-summary
                    !
                    router ospf 100
                     log-adjacency-changes
                     no auto-cost
                     redistribute connected subnets
                     redistribute eigrp 200 subnets
                     network 30.0.1.0 0.0.0.255 area 100
                     network 30.0.3.0 0.0.0.255 area 100
                     network 30.0.4.0 0.0.0.255 area 100
                     network 30.0.5.0 0.0.0.255 area 100
                     network 30.0.6.0 0.0.0.255 area 100
                     network 192.168.2.0 0.0.0.255 area 100
                     default-metric 100
                    !
                    ip http server
                    no ip http secure-server
                    !
                    !
                    !
                    !
                    
                    control-plane
                    !
                    
                    line con 0
                    line aux 0
                    line vty 0 4
                    !
                    !
                    end
                    
                    Router#
                    tù hn ko ping được tới vùng eigrp của hcm
                    và từ ct củng ko ping tới hn được chỉ ping tới hp được àh

                    Comment


                    • #11
                      vậy làm sao để cho hn thấy các route khác(ct,hcm,bl) nhỉ?
                      bác cho e biết e bị sai chỗ nào nhỉ?
                      làm hoài ko ra

                      Comment


                      • #12
                        RIP version 1 có tối đa 16 hop counts. Bạn Redistribute từ OSPF vào RIP mà dùng default metric lên đến 100 thì các route do OSPF đưa qua sẽ xem như "unreachable". Chỉnh lại default metric bằng 3 (<16) là được.
                        Đặng Quang Minh, CCIEx2#11897 (Enterprise Infrastructure, Wireless), DEVNET, CCSI#31417

                        Email : dangquangminh@vnpro.org
                        https://www.facebook.com/groups/vietprofessional/

                        Comment


                        • #13
                          thank bác! e làm oki rồi!

                          Comment

                          • Working...
                            X