• 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 frame relay multipoint, point to point

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

  • Help frame relay multipoint, point to point



    Trong mô hình trên Con FR cấu hình để được các PVC là R1->R2, R1->R3.
    Cấu hình của FR:
    hostname FRSW
    no ip domain lookup

    frame-relay switching

    interface s1/0
    encapsulation frame-relay ietf
    frame-relay intf-type dce
    frame-relay lmi-type q933a
    frame-relay route 102 interface Serial1/1 201
    frame-relay route 103 interface Serial1/2 301
    no shutdown
    exit

    interface s1/1
    encapsulation frame-relay ietf
    frame-relay intf-type dce
    frame-relay lmi-type q933a
    frame-relay route 201 interface Serial1/0 102
    no shutdown
    exit

    interface s1/2
    encapsulation frame-relay ietf
    frame-relay intf-type dce
    frame-relay lmi-type q933a
    frame-relay route 301 interface Serial1/0 103
    no shutdown
    exit
    Cấu hình của R1:
    hostname R1
    no ip domain lookup

    interface fa0/0
    ip address 172.16.1.1 255.255.255.0
    no shutdown
    keepalive
    exit

    interface S1/0
    encapsulation frame-relay ietf
    frame-relay lmi-type q933a
    no ip address
    no shutdown
    exit

    interface s1/0.1 multipoint
    ip address 194.1.1.1 255.255.255.0
    no ip split-horizon
    frame-relay map ip 194.1.1.2 102 broadcast
    frame-relay map ip 194.1.1.3 103 broadcast
    no shutdown
    exit

    router rip
    version 2
    no auto-summary
    network 194.1.1.0
    network 172.16.0.0
    exit
    Cấu hình của R2:
    hostname R2
    no ip domain lookup

    interface fa0/0
    ip address 172.16.2.1 255.255.255.0
    no shutdown
    keepalive
    exit

    interface S1/0
    encapsulation frame-relay ietf
    frame-relay lmi-type q933a
    no ip address
    no shutdown
    exit

    interface s1/0
    ip address 194.1.1.2 255.255.255.0
    frame-relay interface-dlci 201
    no shutdown
    exit

    router rip
    version 2
    no auto-summary
    network 194.1.1.0
    network 172.16.0.0
    exit
    Cấu hình của R3:
    hostname R3
    no ip domain lookup

    interface fa0/0
    ip address 172.16.3.1 255.255.255.0
    no shutdown
    keepalive
    exit

    interface S1/0
    encapsulation frame-relay ietf
    frame-relay lmi-type q933a
    no ip address
    no shutdown
    exit

    interface s1/0
    ip address 194.1.1.3 255.255.255.0
    frame-relay interface-dlci 301
    no shutdown
    exit

    router rip
    version 2
    no auto-summary
    network 194.1.1.0
    network 172.16.0.0
    exit
    Bảng frame relay route của FR:
    FRSW#show frame-relay route
    Input Intf Input Dlci Output Intf Output Dlci Status
    Serial1/0 102 Serial1/1 201 active
    Serial1/0 103 Serial1/2 301 active
    Serial1/1 201 Serial1/0 102 active
    Serial1/2 301 Serial1/0 103 active
    FRSW#
    Bảng routing của R1:
    R1#show ip route
    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

    172.16.0.0/24 is subnetted, 3 subnets
    C 172.16.1.0 is directly connected, FastEthernet0/0
    R 172.16.2.0 [120/1] via 194.1.1.2, 00:00:26, Serial1/0.1
    R 172.16.3.0 [120/1] via 194.1.1.3, 00:00:00, Serial1/0.1
    C 194.1.1.0/24 is directly connected, Serial1/0.1
    R1#
    Bảng routing của R2:
    R2#show ip route
    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

    172.16.0.0/24 is subnetted, 3 subnets
    R 172.16.1.0 [120/1] via 194.1.1.1, 00:00:24, Serial1/0
    C 172.16.2.0 is directly connected, FastEthernet0/0
    R 172.16.3.0 [120/2] via 194.1.1.3, 00:00:24, Serial1/0
    C 194.1.1.0/24 is directly connected, Serial1/0
    R2#
    Bảng routing của R3:
    R3#show ip route
    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

    172.16.0.0/24 is subnetted, 3 subnets
    R 172.16.1.0 [120/1] via 194.1.1.1, 00:00:00, Serial1/0
    R 172.16.2.0 [120/2] via 194.1.1.2, 00:00:00, Serial1/0
    C 172.16.3.0 is directly connected, FastEthernet0/0
    C 194.1.1.0/24 is directly connected, Serial1/0
    R3#
    Mặc dù trong bảng routing của R2 có mạng 172.16.3.0/24 của R3 nhưng ping không được:
    R2#ping 172.16.3.1 source 172.16.2.1

    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 172.16.3.1, timeout is 2 seconds:
    Packet sent with a source address of 172.16.2.1
    .....
    Success rate is 0 percent (0/5)
    R2#


    Nhưng khi cấu hình subinterface trên R2 và R3 thì lại ping thành công.
    R2:
    interface s1/0.201 point-to-point
    ip address 194.1.1.2 255.255.255.0
    frame-relay interface-dlci 201
    no shutdown
    exit


    R3:
    interface s1/0.301 point-to-point
    ip address 194.1.1.3 255.255.255.0
    frame-relay interface-dlci 301
    no shutdown
    exit
    Ping từ R2 sang R3:
    R2#ping 172.16.3.1 source 172.16.2.1

    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 172.16.3.1, timeout is 2 seconds:
    Packet sent with a source address of 172.16.2.1
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 76/92/108 ms
    R2#
    R2#traceroute 172.16.3.1 source 172.16.2.1

    Type escape sequence to abort.
    Tracing the route to 172.16.3.1

    1 194.1.1.1 40 msec 44 msec 44 msec
    2 194.1.1.3 100 msec * 88 msec
    R2#
    các anh cho em hỏi tại sao khi cấu hình không subinterface point to point trên R2 và R3 thì dù thấy route tới đích nhưng không đi được.
    còn khi cấu hình subinterface point to point lại là đi được.
    Rất mong nhận được giải đáp


    Thanks!

  • #2
    Hi bạn! Khi bạn cấu hình frame-relay point-to-point thì câu lệnh frame-relay interface-dlci 301 thì câu lệnh này sẽ khác khi bạn cấu hình trên cổng bình thường. Ở trên cổng vật lí bình thường (no sub-interface) thì bạn dùng câu lệnh frame-relay map ip x.x.x.x DLCI để map địa chỉ IP với DLCI hoặc có thể sử dụng chế độ Inverse ARP để ánh xạ DLCI. Trên cổng sub point-to-point thì không cần thì đã là point-to-point thì nó chỉ có việc đẩy gói tin ra khỏi cổng đó và map nó với DLCI.
    Lê Hồng Nam
    NIIT-iPMAC
    [ Add: 6rd Floor, 142 Doi Can, Hanoi, Vietnam ]
    [ CCNA-CCNP-CCIE-MITP-CEH-LINUX Training Program ]
    [ NIIT-Java-.NET-PHP&MySQL Training Program]
    Website: www.ipmac.vn

    NET YOUR WORK!

    Comment


    • #3
      Originally posted by sadsorry View Post
      Hi bạn! Khi bạn cấu hình frame-relay point-to-point thì câu lệnh frame-relay interface-dlci 301 thì câu lệnh này sẽ khác khi bạn cấu hình trên cổng bình thường. Ở trên cổng vật lí bình thường (no sub-interface) thì bạn dùng câu lệnh frame-relay map ip x.x.x.x DLCI để map địa chỉ IP với DLCI hoặc có thể sử dụng chế độ Inverse ARP để ánh xạ DLCI. Trên cổng sub point-to-point thì không cần thì đã là point-to-point thì nó chỉ có việc đẩy gói tin ra khỏi cổng đó và map nó với DLCI.
      thanks! nhưng em hỏi là tại sao khi trên interface thì không ping được giữa 2 card internet R2 và R3, còn khi subinterface thì được.

      Comment


      • #4
        Tham khảo thêm ở đây bạn hen. Cổng Point-point sub có 1 số điểm mà theo thầy nói là "điều kỳ quặc" của Point - to - point :D
        Nguyễn Bá Hiển
        Email: nguyenbahien@vnpro.org
        Yahoo: nguyenbahien_vnpro
        ------------------------------------------------------------------------------------------------------------
      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


      • #5
        Add frame-lay map statements to R2 and R3 if you don't want to use point-point subinterface. I hope this helps.

        R2:

        interface S1/0
        frame-relay map ip 194.1.1.1 201 broadcast

        R3:
        interface S1/0
        frame-relay map ip 194.1.1.1 301 broadcast
        Trần Nhân Hòa
        CMND #0146257668

        Comment


        • #6
          Originally posted by ptran View Post
          Add frame-lay map statements to R2 and R3 if you don't want to use point-point subinterface. I hope this helps.

          R2:

          interface S1/0
          frame-relay map ip 194.1.1.1 201 broadcast

          R3:
          interface S1/0
          frame-relay map ip 194.1.1.1 301 broadcast
          thanks ! có lẽ bạn không hiểu ý mình hỏi rồi.

          Comment


          • #7
            Originally posted by nbhduoc View Post
            Tham khảo thêm ở đây bạn hen. Cổng Point-point sub có 1 số điểm mà theo thầy nói là "điều kỳ quặc" của Point - to - point :D
            http://vnpro.org/blog/?p=186
            thanks! bạn học thày nào vậy?

            Comment

            • Working...
              X