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

Help bài lab Frame Relay Point to point & MultiPoint

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

  • Help bài lab Frame Relay Point to point & MultiPoint

    Em đang làm 2 bài lab về Frame relay với 2 mô hình Point to Point và MultipPoint nhưng với mô hình Point to Point thì mới chỉ có R1 ping được R2 và ngược lại còn R1 vẫn chưa ping được R3 và R3 vẫn chưa ping được R2, còn với bài lab multipoint thì R1 đã ping được R2, R1 đã ping được R3 nhưng R2 chưa ping được R3, mọi người xem giúp em cấu hình với xem có sai chỗ nào không, em làm trên GNS3.

    Lab Point to point

    Cấu hình các router:
    Tren Router Frame relay
    Fr#conf t
    Fr(config)# frame-relay switching
    Fr(config)# int S1/1
    Fr(config-if)# encapsulation frame-relay
    Fr(config-if)# frame-relay intf-type dce
    Fr(config-if)# frame-relay route 102 interface S1/2 201
    Fr(config-if)# frame-relay route 103 interface S1/3 301
    Fr(config-if)#no sh
    Fr(config-if)#clock rate 64000
    Fr(config-if)#exit
    Fr(config)# int S1/2
    Fr(config)# encapsulation frame-relay
    Fr(config-if)# frame-relay intf-type dce
    Fr(config-if)# frame-relay route 201 interface S1/1 102
    Fr(config-if)#no sh
    Fr(config-if)#clock rate 64000
    Fr(config-if)#exit
    Fr(config)# int S1/3
    Fr(config)# encapsulation frame-relay
    Fr(config-if)# frame-relay intf-type dce
    Fr(config-if)# frame-relay route 301 interface S1/1 103
    Fr(config-if)#no sh
    Fr(config-if)#clock rate 64000
    Fr(config-if)#exit
    Fr(config)#exit
    Fr#wr

    Tren R1

    R1#conf t
    R1(config)# interface S1/0
    R1(config-if)# encapsulation frame-relay
    R1(config-if)# interface S1/0.1 point-to-point
    R1(config-if)# ip address 192.168.12.1 255.255.255.0
    R1(config-if)# frame-relay interface-dlci 102
    R1(config-if)#no sh
    R1(config-if)# interface S1/0.2 point-to-point
    R1(config-if)# ip address 192.168.13.1 255.255.255.0
    R1(config-if)# frame-relay interface-dlci 103
    R1(config-if)#no sh
    R1(config-if)#exit
    R1(config)#int loopback 1
    R1(config-if)#ip add 1.1.1.1 255.255.255.0
    R1(config-if)#no sh
    R1(config)#router eigrp 100
    R1(config-router)#network 192.168.12.0
    R1(config-router)#no auto-summary
    R1(config-router)#network 192.168.13.0
    R1(config-router)#no auto-summary
    R1(config-router)#network 1.1.1.0
    R1(config-router)#no auto-summary
    R1(config-router)#exit
    R1(config)#exit
    R1#wr

    Tren R2
    R2#conf t
    R2(config)# interface S1/0
    R2(config-if)# encapsulation frame-relay
    R2(config-if)# ip address 192.168.12.2 255.255.255.0
    R2(config-if)# frame-relay interface-dlci 201
    R2(config-if)#no sh
    R2(config-if)#exit
    R2(config)#int loopback 1
    R2(config-if)#ip add 2.2.2.2 255.255.255.0
    R2(config-if)#no sh
    R2(config)#router eigrp 100
    R2(config-router)#network 192.168.12.0
    R2(config-router)#no auto-summary
    R2(config-router)#network 2.2.2.0
    R2(config-router)#no auto-summary
    R2(config)#exit
    R2#wr

    Tren R3
    R3#conf t
    R3(config)# interface S1/0
    R3(config-if)# encapsulation frame-relay
    R3(config-if)# ip address 192.168.13.2 255.255.255.0
    R3(config-if)# frame-relay interface-dlci 301
    R3(config-if)#no sh
    R3(config-if)#exit
    R3(config)#int loopback 1
    R3(config-if)#ip add 3.3.3.3 255.255.255.0
    R3(config-if)#no sh
    R3(config)#router eigrp 100
    R3(config-router)#network 192.168.13.0
    R3(config-router)#no auto-summary
    R3(config-router)#network 3.3.3.0
    R3(config-router)#no auto-summary
    R3(config)#exit
    R3#wr

    Lab Multipoint


    Tren Router Frame relay
    Fr#conf t
    Fr(config)# frame-relay switching
    Fr(config)# int S1/1
    Fr(config-if)# encapsulation frame-relay
    Fr(config-if)# frame-relay intf-type dce
    Fr(config-if)# frame-relay route 102 interface S1/2 201
    Fr(config-if)# frame-relay route 103 interface S1/3 301
    Fr(config-if)#no sh
    Fr(config-if)#clock rate 64000
    Fr(config-if)#exit
    Fr(config)# int S1/2
    Fr(config)# encapsulation frame-relay
    Fr(config-if)# frame-relay intf-type dce
    Fr(config-if)# frame-relay route 201 interface S1/1 102
    Fr(config-if)#no sh
    Fr(config-if)#clock rate 64000
    Fr(config-if)#exit
    Fr(config)# int S1/3
    Fr(config)# encapsulation frame-relay
    Fr(config-if)# frame-relay intf-type dce
    Fr(config-if)# frame-relay route 301 interface S1/1 103
    Fr(config-if)#no sh
    Fr(config-if)#clock rate 64000
    Fr(config-if)#exit
    Fr(config)#exit
    Fr#wr

    Tren R1
    R1#conf t
    R1(config)#interface S1/0
    R1(config-if)# encapsulation frame-relay
    R1(config-if)#no ip split-horizon eigrp 1
    R1(config-if)# ip address 192.168.123.1 255.255.255.0
    R1(config-if)# frame-relay map ip 192.168.123.2 102 broadcast
    R1(config-if)# frame-relay map ip 192.168.123.3 103 broadcast
    R1(config-if)#no sh
    R1(config-if)#exit
    R1(config)#int loopback 1
    R1(config-if)#ip add 1.1.1.1 255.255.255.0
    R1(config-if)#no sh
    R1(config)#router eigrp 100
    R1(config-router)#network 192.168.123.0
    R1(config-router)#no auto-summary
    R1(config-router)#network 1.1.1.0
    R1(config-router)#no auto-summary
    R1(config-router)#exit
    R1(config)#exit
    R1#wr

    Tren R2

    R2#
    R2(config)#interface S1/0
    R2(config-if)#encapsulation frame-relay
    R2(config-if)# ip address 192.168.123.2 255.255.255.0
    R2(config-if)# frame-relay map ip 192.168.123.1 201 broadcast
    R2(config-if)#no sh
    R2(config-if)#exit
    R2(config)#int loopback 1
    R2(config-if)#ip add 2.2.2.2 255.255.255.0
    R2(config-if)#no sh
    R2(config)#router eigrp 100
    R2(config-router)#network 192.168.123.0
    R2(config-router)#no auto-summary
    R2(config-router)#network 2.2.2.0
    R2(config-router)#no auto-summary
    R2(config-router)#exit
    R2(config)#exit
    R2#wr

    Tren R3
    R3(config)# interface S1/0
    R3(config-if)#encapsulation frame-relay
    R3(config-if)# ip address 192.168.123.3 255.255.255.0
    R3(config-if)# frame-relay map ip 192.168.123.1 301 broadcast
    R3(config-if)#no sh
    R3(config-if)#exit
    R3(config)#int loopback 1
    R3(config-if)#ip add 3.3.3.3 255.255.255.0
    R3(config-if)#no sh
    R3(config)#router eigrp 100
    R3(config-router)#network 192.168.123.0
    R3(config-router)#no auto-summary
    R3(config-router)#network 3.3.3.0
    R3(config-router)#no auto-summary
    R3(config-router)#exit
    R3(config)#exit
    R3#wr

    P/s: hic mọi người nói sơ qua cho em 1 tí về frame relay thì càng tốt vì em mới tiếp cận với công nghệ này.

  • #2
    Chào bạn,

    Trên mô hình POINT_TO_POINT, để R1 có thể ping được tới R3 thì R3 phải tạo ra sub-interface point-to-point tương tự như bên R1:

    R3(config)# interface S1/0.301 point-to-point
    R3(config-if)# encapsulation frame-relay
    R3(config-if)# ip address 192.168.13.2 255.255.255.0
    R3(config-if)# frame-relay interface-dlci 301

    Mặc định thì s1/0 tại R3 là môi trường Multipoint trong khi S1/0.2 tại R1 lại là môi trường point-to-point nên hai môi trường này không đồng nhất,

    thành ra chúng sẽ không ping được thấy nhau,

    Cám ơn bạn.
    Bùi Quốc Kỳ
    Email: buiquocky@vnpro.org
    Yahoo: buiquocky_vnpro
    -------------------------------------------------------------------------------------------
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


  • #3
    , còn với bài lab multipoint thì R1 đã ping được R2, R1 đã ping được R3 nhưng R2 chưa ping được R3, mọi người xem giúp em cấu hình với xem có sai chỗ nào không, em làm trên GNS3.
    Bạn phải thêm 2 câu lệnh frame-relay map trên router R2 và R3 nữa thì nó chạy đc.

    R2#
    R2(config)#interface S1/0
    R2(config-if)#encapsulation frame-relay
    R2(config-if)# ip address 192.168.123.2 255.255.255.0
    R2(config-if)# frame-relay map ip 192.168.123.1 201 broadcast
    R2(config-if)# frame-relay map ip 192.168.123.3 201
    R2(config-if)#no sh
    R2(config-if)#exit
    R2(config)#int loopback 1
    R2(config-if)#ip add 2.2.2.2 255.255.255.0
    R2(config-if)#no sh
    R2(config)#router eigrp 100
    R2(config-router)#network 192.168.123.0
    R2(config-router)#no auto-summary
    R2(config-router)#network 2.2.2.0
    R2(config-router)#no auto-summary
    R2(config-router)#exit
    R2(config)#exit
    R2#wr

    Tren R3
    R3(config)# interface S1/0
    R3(config-if)#encapsulation frame-relay
    R3(config-if)# ip address 192.168.123.3 255.255.255.0
    R3(config-if)# frame-relay map ip 192.168.123.1 301 broadcast
    R3(config-if)# frame-relay map ip 192.168.123.2 301
    R3(config-if)#no sh
    R3(config-if)#exit
    R3(config)#int loopback 1
    R3(config-if)#ip add 3.3.3.3 255.255.255.0
    R3(config-if)#no sh
    R3(config)#router eigrp 100
    R3(config-router)#network 192.168.123.0
    R3(config-router)#no auto-summary
    R3(config-router)#network 3.3.3.0
    R3(config-router)#no auto-summary
    R3(config-router)#exit
    R3(config)#exit
    R3#wr
    Trong topology trên, bạn cấu hình định tuyến EIGRP và đã tắt cơ chế split-horizion là rất đúng nhưng bạn bị vướng 1 tí nhỏ về quá trình đóng gói tin và gửi đi trong Frame-relay nữa thôi :P
    Trong môi trường Multi Acess để gửi được 1 gói tin đến đích thì phải có đầy đủ 4 trường Source.Mac - Des.Mac - Source.IP - Des.IP
    Trong môi môi trường Frame-Relay cũng vậy để gửi 1 goi tin đến đích cũng cần phải có những trường đó nhưng thay vào đó Layer 2 Mac-address được thay thế bằng DLCI. Vì thế bạn phải map thêm DLCI như trên thì mới ping được.
    Để test lại lần nữa bạn đứng trên R3 ping chính nó thử xem được không :P Rồi từ đó cấu hình map phát nữa rồi ping lại thử xem :D
    Last edited by minhphuong_108; 29-10-2013, 12:38 AM.

    Comment

    • Working...
      X