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

Khi nao thi khong nen dung "broadcast" trong frame-relay map

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

  • #16
    Có một điều chắc chắn nếu bạn dùng lệnh Neighbor thì không cần từ khoá Broadcast. Tuy nhiên như các bạn đều biết là với các IOS version quá cũ người ta mới dùng lệnh Neighbor

    Đối với môi trường NBMA, nếu bạn dùng lệnh ip ospf network broadcast thì lúc này bạn phải dùng từ khoá broadcast trong lệnh Fram-relay map. Vì lúc này chúng ta đã coi mạng NBMA như mang Broadcast bình thường, quá trình chọn DR và BDR cũng như update đều phải dùng Multicast.

    Tuy nhiên nếu bạn chuyển thành ip ospf network point-to-multipoint thì lại không cần. Chú ý rằng khi này mạng P-2-MP coi các PVC là tập hợp các p-2-p link và hơn nữa p-2-mp network update bằng unicast. Kết luận: không cần từ khoá broadcast
    Tất nhiên giải pháp p-2-p subinterface thì lại càng không cần.
    Như vậy tỉ lệ 99,99% có vé hơi cao quá hoa chuối ạ ;-)
    Nếu có chỗ nào nói sai mong các bạn chỉ giúp

    CCCP
    Anh Phúc mua được đồ chơi chưa , hehe
    Hoàng Đức Phương, CCIE #12613
    info@ipmac.com.vn
    www.ipmac.com.vn

    Comment


    • #17
      theo ý kiến của em, trong trường hợp dùng point-to-multipoint thì bắt buộc phải dùng từ khóa broadcast trong lệnh frame-relay map.

      anh cccp vui lòng giải thích rõ hơn về ý tưởng không dùng từ khóa broadcast trong sơ đồ mạng dạng point-to-multipoint?

      em gần thi vấn đáp với ông thầy của em rồi. ổng cũng có diễn đàn ở đây. Không biết thầy em thuộc trường phái nào nữa. broadcast/non broadcast?


      xinn cám ơn các anh đã nhiệt tình chỉ dẫn,

      Comment


      • #18
        Re: Khi nao thi khong nen dung "broadcast" trong frame-relay map

        Thực ra vấn đề là OSPF sử dụng hai địa chỉ multicast là 224.0.0.5 và 224.0.0.6 (AllSPF router & AllDR router). Ví dụ dùng để vote DR/BDR và update (advertise LSA)
        Nhưng khi bạn cấu hình NBMA network thành point-to-multipoint network thì OSPF coi đó là tập hợp các Point-to-point network, vì vậy không cần vote DR/BDR.
        Cũng vì thế mà trong Point-to-Multipoint network OSPF router update bằng unicast.
        Do ko sử dụng multicast trong trường hợp này nên bạn không cần từ khoá broadcast.

        Thành thực mà nói mình chưa làm thử trường hợp này bao giờ, bạn nào có "đồ chơi" thử kiểm nghiệm lại xem sao.

        CCCP
        Hoàng Đức Phương, CCIE #12613
        info@ipmac.com.vn
        www.ipmac.com.vn

        Comment


        • #19
          Re: Khi nao thi khong nen dung "broadcast" trong frame-relay map

          chào các anh,

          Đây là một link đề cập đến vấn đề nêu trên.

          Cisco is a worldwide technology leader. Our purpose is to power an inclusive future for all through software, networking, security, computing, and more solutions.


          Trong đó, ospf trên môi trường fr có thể chạy hai chế độ (mode):

          1. NBMA: Mô phỏng mạng broadcast bằng cách dùng DR và BDR. Có hai cách để thực hiện việc mô phỏng này: dùng kiểu net là broadcast (ip ospf network broadcast) hoặc dùng lệnh neighbor.

          (simulates a broadcast model by electing a designated router (DR) and a backup designated router (BDR). There are two ways to simulate a broadcast model on an NBMA network: define the network type as broadcast with the ip ospf network broadcast interface sub-command or configure the neighbor statements using the router ospf command. )

          2. Point-to-mutipoint: Xem mạng NBMA như là một tập hợp các kết nối p-2-p.

          Tuy nhiên, cấu hình mẫu trong CCO thì luôn luôn dùng từ khóa broadcast.

          Em hiểu rằng, trong kỳ thi CCIE, chỉ cần dùng dư một option thì nguyên phần đó sẽ bị mất điểm. -:-(

          Em trích nguyên trang web đó ở đây cho mọi người tham khảo:
          --------------------------------------------------------------
          Introduction
          On non-broadcast media such as Frame Relay, X.25, ATM, and Switched Multimegabit Data Service (SMDS), OSPF can run in two modes:

          NBMA: simulates a broadcast model by electing a designated router (DR) and a backup designated router (BDR). There are two ways to simulate a broadcast model on an NBMA network: define the network type as broadcast with the ip ospf network broadcast interface sub-command or configure the neighbor statements using the router ospf command.

          Point-to-mutipoint: treats non-broadcast network as a collection of point-to-point links.

          You must define the network type on non-broadcast networks to avoid configuring neighbor statements. Below are sample configurations for OSPF over non-broadcast links. Use the show ip ospf interface command to check the network type of an interface running OSPF.

          Network Diagram
          Below is the network diagram used in the configuration examples in this document.



          Configurations for NBMA (Using Network Type Broadcast)
          R4-4K

          interface Loopback0
          ip address 3.3.3.3 255.255.255.255
          !
          interface Serial2
          ip address 1.1.1.2 255.255.255.0
          encapsulation frame-relay
          ip ospf network broadcast
          no keepalive
          frame-relay map ip 1.1.1.1 16 broadcast
          !
          router ospf 1
          network 1.1.1.0 0.0.0.255 area 0


          R1-7010

          interface Loopback0
          ip address 2.2.2.2 255.255.255.255
          !
          interface Serial1/0
          ip address 1.1.1.1 255.255.255.0
          encapsulation frame-relay
          ip ospf network broadcast
          no keepalive
          clockrate 2000000
          frame-relay map ip 1.1.1.2 16 broadcast
          !
          router ospf 1
          network 1.1.1.0 0.0.0.255 area 0
          !

          Verification Tips
          Below is the show command output for R4-4K.

          R4-4K#show ip ospf neighbor

          Neighbor ID Pri State Dead Time Address Interface
          2.2.2.2 1 FULL/BDR 00:00:37 1.1.1.1 Serial2

          R4-4K#show ip ospf interface s2
          Serial2 is up, line protocol is up
          Internet Address 1.1.1.2/24, Area 0
          Process ID 1, Router ID 3.3.3.3, Network Type BROADCAST, Cost: 64
          Transmit Delay is 1 sec, State DR, Priority 1
          Designated Router (ID) 3.3.3.3, Interface address 1.1.1.2
          Backup Designated router (ID) 2.2.2.2, Interface address 1.1.1.1
          Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
          Hello due in 00:00:00
          Neighbor Count is 1, Adjacent neighbor count is 1
          Adjacent with neighbor 2.2.2.2 (Backup Designated Router)
          Suppress hello for 0 neighbor(s)
          And the output for R1-7010 is as follows.

          R1-7010#show ip ospf neighbor

          Neighbor ID Pri State Dead Time Address Interface
          3.3.3.3 1 FULL/DR 00:00:38 1.1.1.2 Serial1/0

          R1-7010#show ip ospf interface s1/0
          Serial1/0 is up, line protocol is up
          Internet Address 1.1.1.1/24, Area 0
          Process ID 1, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 64
          Transmit Delay is 1 sec, State BDR, Priority 1
          Designated Router (ID) 3.3.3.3, Interface address 1.1.1.2
          Backup Designated router (ID) 2.2.2.2, Interface address 1.1.1.1
          Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
          Hello due in 00:00:03
          Neighbor Count is 1, Adjacent neighbor count is 1
          Adjacent with neighbor 3.3.3.3 (Designated Router)
          Suppress hello for 0 neighbor(s)
          Configurations for NBMA (Using Neighbor Statements)
          R4-4K

          interface Loopback0
          ip address 3.3.3.3 255.255.255.255
          !
          interface Serial2
          ip address 1.1.1.2 255.255.255.0
          encapsulation frame-relay
          no keepalive
          frame-relay map ip 1.1.1.1 16 broadcast
          !
          router ospf 1
          network 1.1.1.0 0.0.0.255 area 0
          !


          R1-7010

          interface Loopback0
          ip address 2.2.2.2 255.255.255.255
          !
          interface Serial1/0
          ip address 1.1.1.1 255.255.255.0
          encapsulation frame-relay
          no keepalive
          clockrate 2000000
          frame-relay map ip 1.1.1.2 16 broadcast
          !
          router ospf 1
          network 1.1.1.0 0.0.0.255 area 0
          neighbor 1.1.1.2 priority 2
          !

          Verification Tips
          Below is the show command output for R4-4K.

          R4-4K#show ip ospf neighbors

          Neighbor ID Pri State Dead Time Address Interface
          2.2.2.2 1 FULL/BDR 00:01:39 1.1.1.1 Serial2

          R4-4K#show ip ospf interface s2
          Serial2 is up, line protocol is up
          Internet Address 1.1.1.2/24, Area 0
          Process ID 1, Router ID 3.3.3.3, Network Type NON_BROADCAST, Cost: 64
          Transmit Delay is 1 sec, State DR, Priority 1
          Designated Router (ID) 3.3.3.3, Interface address 1.1.1.2
          Backup Designated router (ID) 2.2.2.2, Interface address 1.1.1.1
          Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
          Hello due in 00:00:19
          Neighbor Count is 1, Adjacent neighbor count is 1
          Adjacent with neighbor 2.2.2.2 (Backup Designated Router)
          Suppress hello for 0 neighbor(s)
          And the output for R1-7010 is as follows.

          R1-7010#show ip ospf neighbor

          Neighbor ID Pri State Dead Time Address Interface
          3.3.3.3 1 FULL/DR 00:01:49 1.1.1.2 Serial1/0

          R1-7010#show ip ospf interface s1/0
          Serial1/0 is up, line protocol is up
          Internet Address 1.1.1.1/24, Area 0
          Process ID 1, Router ID 2.2.2.2, Network Type NON_BROADCAST, Cost: 64
          Transmit Delay is 1 sec, State BDR, Priority 1
          Designated Router (ID) 3.3.3.3, Interface address 1.1.1.2
          Backup Designated router (ID) 2.2.2.2, Interface address 1.1.1.1
          Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
          Hello due in 00:00:01
          Neighbor Count is 1, Adjacent neighbor count is 1
          Adjacent with neighbor 3.3.3.3 (Designated Router)
          Suppress hello for 0 neighbor(s)

          Configurations for Point-to-Multipoint
          R4-4K

          interface Loopback0
          ip address 3.3.3.3 255.255.255.255
          !
          interface Serial2
          ip address 1.1.1.2 255.255.255.0
          encapsulation frame-relay
          ip ospf network point-to-multipoint
          no keepalive
          frame-relay map ip 1.1.1.1 16 broadcast
          !
          router ospf 1
          network 1.1.1.0 0.0.0.255 area 0
          !


          R1-7010

          interface Loopback0
          ip address 2.2.2.2 255.255.255.255
          !
          interface Serial1/0
          ip address 1.1.1.1 255.255.255.0
          encapsulation frame-relay
          ip ospf network point-to-multipoint
          no keepalive
          clockrate 2000000
          frame-relay map ip 1.1.1.2 16 broadcast
          !
          router ospf 1
          network 1.1.1.0 0.0.0.255 area 0




          Verification Tips
          Below is the show command output for R4-4K.

          R4-4K#show ip ospf neighbors

          Neighbor ID Pri State Dead Time Address Interface
          2.2.2.2 1 FULL/ - 00:01:53 1.1.1.1 Serial2

          R4-4K#show ip ospf interface s2
          Serial2 is up, line protocol is up
          Internet Address 1.1.1.2/24, Area 0
          Process ID 1, Router ID 3.3.3.3, Network Type POINT_TO_MULTIPOINT, Cost: 64
          Transmit Delay is 1 sec, State POINT_TO_MULTIPOINT,
          Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
          Hello due in 00:00:18
          Neighbor Count is 1, Adjacent neighbor count is 1
          Adjacent with neighbor 2.2.2.2
          Suppress hello for 0 neighbor(s)
          And the output for R1-7010 is as follows.

          R1-7010#show ip ospf neighbor

          Neighbor ID Pri State Dead Time Address Interface
          3.3.3.3 1 FULL/ - 00:01:58 1.1.1.2 Serial1/0

          R1-7010#show ip ospf interface s1/0
          Serial1/0 is up, line protocol is up
          Internet Address 1.1.1.1/24, Area 0
          Process ID 1, Router ID 2.2.2.2, Network Type POINT_TO_MULTIPOINT, Cost: 64
          Transmit Delay is 1 sec, State POINT_TO_MULTIPOINT,
          Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
          Hello due in 00:00:18
          Neighbor Count is 1, Adjacent neighbor count is 1
          Adjacent with neighbor 3.3.3.3
          Suppress hello for 0 neighbor(s)

          Comment


          • #20
            hôm nay em gặp lại một vấn đề tương tự:

            Khi nào dùng từ khóa broadcast trong câu lệnh frame-relay map.

            Trước đây, em vẫn thường dùng câu lệnh frame-relay map trong 99% các trường hợp liên quan đến frame relay. Tuy nhiên, em nghe nói không phải lúc nào cũng dùng từ khóa broadcast trong câu lệnh frame relay map. Lý do đưa ra là có thể gây ra hiện tượng "redundant broadcast replication".

            Có ai đó có thể giải thích hộ em vấn đề nêu trên không? Khi nào thì hiện tượng trên xảy ra?
            Chúng mình đều là út cưng

            Comment

            Working...
            X