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

Ý nghĩa của việc lựa chọn Designated và Backup Designated Router trong OSPF?

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

  • Ý nghĩa của việc lựa chọn Designated và Backup Designated Router trong OSPF?

    Giữa point-to-multipoint và NBMA có nhiều điểm giống nhau.Một mạng point-to-multipoint như thế nào thì trở thành NBMA(ko dùng broadcast hay multicast).
    Mỗi một area có một DR và một BDR.Vậy trong multiple areas thì có n areas sẽ có n DR và BDR phải ko?Có cái Router nào làm DR(BDR) cho cả mul areas ko?
    *Database table,neighbor table,routing table,network database mình khó phân biệt chúng.Ai có thể giúp mình.
    Có phải DR và BDR sẽ có Database table,routing table,network table.Còn các router bình thường thì chỉ có nei table và routing table.
    OSPF có default giá trị load balancing như rip,igrp...?
    Một vài thắc mắc nhỏ!Mọi người giải đáp giùm.Thanhs!

  • #2
    TGA giải đáp kỳ quá ah :wink:

    Trước hết chúng ta hãy nói về các Network Type trong OSPF :

    + Broadcast multiaccess ----> Ethernet Environment, Token Ring , FDDI
    + Non Broadcast multiacces -----> Frame Relay/X.25/Point to Multipoint,...
    + Point to Point ------> Point to Point Envirnoment/HDLC

    Bây giờ là tới từng loại nè :

    + Broadcast ---> cần phải bình bầu DR/BDR gì đó đó :wink:
    + Non Broadcast cũng phải có DR/BDR nhưng sẽ có 1 phần nhỏ là
    - Point to Multipoint ( có thể lầy ví dụ là mô hình hub-spoke trong Frame Relay)
    Trong P2M ---> kô cần khai báo DR/BDR nhưng phải khai báo Neighbor.

    + P2P : kô cần DR/BDR và neighbor gì cả .

    Bây giờ tới phần trả lời câu hỏi :?:

    1. Câu hỏi số 1 , chắc it-mail đã nắm được sau khi đọc phần trên phải kô :wink:
    2. Trong các network type bắt buộc phải có DR/BDR thì chỉ có 1 và chỉ 1 DR duy nhất. Để trở thành DR có rất nhiều yếu tố ( cái này it-mail phải đọc sách thôi )
    . Kô có router nào có đủ quyền lực :mrgreen: làm DR cho multi area đâu.
    3. OSPF sẽ có các bản table sau đây :

    + Adjacency database (neighbor database): là database lưu giữ vể trạng thái của tất cả các neighbor router mà router communicate tới . Cái này là hàng "độc" (unique) cho mỗi router đó nha, kô ai giống ai đâu mà sợ.
    + Link-state database (topolical hay network database ) : Tập hợp tất cả các thông tin về các router trong network. Router mà cùng area sẽ có cái này giống nhau đó.
    + Dựa vào 2 bản database trên router sẽ đưa ra bản routing table.

    Tùy vào type của area đó trong OSPF network mà router cần có database nào.
    OSPF mặc định sẽ equal-load balancing.

    Thân chào it-mail :wink:
    Vnpro - The way to get knowledge
    Mikami - UMass
    E-mail : mikami@vnpro.org

    Comment


    • #3
      Cảm ơn mikami!
      Thêm một câu hỏi nhỏ :Giữa ospf và ACLs có mối liên hệ gì ko?Ví dụ khi dùng ospf thì cách dùng ACLs thế nào?

      Comment


      • #4
        . Let’s go through the
        steps that occur when the DR and BDR are elected.
        1. A list of eligible routers is created. The criteria for eligible routers are:
        Priority ≥ 1.
        OSPF state of 2Way.
        DR or BDR IP address is the same as the participating interface’s
        IP address.
        2. A list of all routers not claming to be the DR (the DR IP address is the
        same as the participating interface’s IP address) is compiled from the
        list of eligible routers.
        3. The BDR is chosen from the list in Step 2 based on the following
        criteria:
        The BDR IP address is the same as the participating interface’s IP
        address.
        The router with the highest Router Priority becomes the BDR.
        If all Router Priorities are equal, the router with the highest
        Router ID becomes the BDR.
        or
        If none of the above criteria hold true, the router with the highest
        Router Priority is chosen, and in case of a tie, the router with the
        highest Router ID is chosen as BDR.
        4. The DR is chosen from the remaining eligible routers based on the following
        criteria:
        The DR field is set with the router’s interface IP address.
        The router with the highest Router Priority is chosen DR. If all
        Router Priorities are equal, the router with the highest Router ID
        is chosen.
        or
        If none of the remaining eligible routers claim to be the DR, the
        BDR that was chosen in Step 3 becomes the DR. Step 3 would
        then be repeated to choose another BDR.
        (trích từ CCNP-Routing Study guide)
        Theo như quá trình trên thì DR được chọn sau BDR.Nhưng tất cả các tài liệu khác mà mình đã đọc thì DR chọn trước mới đến BDR,và thật sự thì như thế mới hợp lí.
        Mọi người có thể giúp mình giải quyết problem này ko?
        *LSAs,LSU sử dụng table nào để gửi thông tin đi : database table,neighbor table, routing table ….?

        Comment


        • #5
          Originally posted by it_email
          . Let’s go through the
          steps that occur when the DR and BDR are elected.
          1. A list of eligible routers is created. The criteria for eligible routers are:
          Priority ≥ 1.
          OSPF state of 2Way.
          DR or BDR IP address is the same as the participating interface’s
          IP address.
          2. A list of all routers not claming to be the DR (the DR IP address is the
          same as the participating interface’s IP address) is compiled from the
          list of eligible routers.
          3. The BDR is chosen from the list in Step 2 based on the following
          criteria:
          The BDR IP address is the same as the participating interface’s IP
          address.
          The router with the highest Router Priority becomes the BDR.
          If all Router Priorities are equal, the router with the highest
          Router ID becomes the BDR.
          or
          If none of the above criteria hold true, the router with the highest
          Router Priority is chosen, and in case of a tie, the router with the
          highest Router ID is chosen as BDR.

          4. The DR is chosen from the remaining eligible routers based on the following
          criteria:
          The DR field is set with the router’s interface IP address.
          The router with the highest Router Priority is chosen DR. If all
          Router Priorities are equal, the router with the highest Router ID
          is chosen.
          or
          If none of the remaining eligible routers claim to be the DR, the
          BDR that was chosen in Step 3 becomes the DR. Step 3 would
          then be repeated to choose another BDR.
          (trích từ CCNP-Routing Study guide)
          Theo như quá trình trên thì DR được chọn sau BDR.Nhưng tất cả các tài liệu khác mà mình đã đọc thì DR chọn trước mới đến BDR,và thật sự thì như thế mới hợp lí.
          Mọi người có thể giúp mình giải quyết problem này ko?
          *LSAs,LSU sử dụng table nào để gửi thông tin đi : database table,neighbor table, routing table ….?
          BSCI 642-801 (page 221)
          All the neighbors who have a priority greater than 0 are listed.
          • The neighbor with the highest priority is elected as the BDR.
          If there is no DR, the BDR is promoted as DR.
          • From the remaining routers, the router with the highest priority is elected as the BDR.
          • If there is a tie, the highest router IDs are used.

          Và Routing TCP/IP Volume I (page 422)

          " If a DR and BDR exist, the router accepts them. If there is no BDR, an electrion is held in which the router with the highest priority becomes BDR......."

          " If there no DR, BDR is promotoed to DR and a new electrion is held for the BDR"


          Tổng kết từ 2 đoạn trên và đoạn của it-mail, ta thấy , quá trình bầu BDR sẽ diễn ra trước nhằm mục đích là tránh việc bầu lại DR nếu đã có rồi ( bởi vì đã có DR rồi thì dù router khác có priority cao hơn, cũng đâu có được làm DR nữa) và nếu chưa có DR, BDR lên làm cũng đâu có muộn phải kô :wink:

          Và trong quá trình bình bầu thì lúc "chuẩn bị tranh cử" :wink:( Two way state ), các "ứng cử viên" đều cho mình là BDR&DR.

          LSU : Link State Update packet ----> chứa đựng link-state database( topology database),vốn là "trái tim của link-state protocol"( trích từ Cisco Academy)

          LSAck : Link State Acknowledge, dùng để xác nhận đã nhận được LSU.


          Tips cho it-mail nè :

          it-mail cần phân biệt OSPF Packet type và OSPF Database và Database nào sẽ được vận chuyển bởi packet nào

          Thân chào it-mail.
          Vnpro - The way to get knowledge
          Mikami - UMass
          E-mail : mikami@vnpro.org

          Comment


          • #6
            Tài liệu trên nói BDR chọn trước--->sai!

            Comment


            • #7
              Vậy theo ý it-mail là thế nào nhỉ ???? :?:
              Vnpro - The way to get knowledge
              Mikami - UMass
              E-mail : mikami@vnpro.org

              Comment


              • #8
                To "chị" Mika:DR chọn trước rồi mới đến BDR.Chứ ko lẽ chọn "thành viên chính" chọn sau "người dự bị"

                Comment


                • #9
                  Chọn BDR trước. :)

                  Bạn chú ý nên tìm hiểu kỷ trước khi phát biểu là tài liệu sai.
                  -------------------------------------------------------
                  Yamaha R6 Rider
                  Tôi là Yuna_admirer.

                  Comment


                  • #10
                    Chậc.Đọc 640-801 thì nói DR trước,đọc CCNP-routing study guide thì nói sau.chẳng hiểu làm sao nữa?!!

                    Comment


                    • #11
                      Ý nghĩa của việc lựa chọn Designated và Backup Designated Router trong OSPF?

                      Hi All!
                      Trong OSPF có việc lựa chọn DR và BDR,tôi ko hiểu việc lựa chọn này có ý nghĩa gì trong OSPF?
                      Mong các bạn giúp đỡ
                      Thân

                      Comment


                      • #12
                        Hi tvpri,
                        Em có thể tham khảo:
                        - Designated router A designated router (DR) is used only when the
                        OSPF router is connected to a broadcast (multi-access) network. To minimize
                        the number of adjacencies formed, a DR is chosen to disseminate/
                        receive routing information to/from the remaining routers on the broadcast
                        network or link.
                        - Backup designated router A backup designated router (BDR) is a hot
                        standby for the DR on broadcast (multi-access) links. The BDR receives
                        all routing updates from OSPF adjacent routers but does not flood LSA
                        updates.

                        Comment


                        • #13
                          hi 3548, anh có thể dịch ra tiếng Việt giúp em đoạn này đi

                          em chưa hiểu rõ lắm, như là "adjacencies" và "neighborhood" phải phân biệt như thế nào?
                          "Designated" là nghĩa gì em không biết dịch như thế nào cho hiểu

                          giúp em với
                          cám ơn các anh chị trước nhe
                          Copy Copy Copy
                          PASTE

                          Comment


                          • #14
                            Re: Ý nghĩa của việc lựa chọn Designated và Backup Designated Router trong OSPF?

                            adjacencies được hiểu là gần kề, ví dụ R1 nối với R2 thì R2 là router kề ngay sát liền R1 và cũng được hiểu là neighborhood của R1, còn trong trường hợp R1----framrelay-----R2 , R1 và R2 được cấu hình point-to-point hoặc point to multilpoint thì R2 cũng được coi là hàng xóm của R1 vì từ R1 đến R2 chỉ có một PVC.
                            Designed router trong mạng ospf được hiểu như một router đã được bầu chọn và sẽ truyền bá LSA đến các neighbor của nó, nếu Designed router bị lỗi thì backup designed router sẽ được thay thế

                            Một chút ý kiến đóng góp
                            www.vnexperts.net

                            Comment


                            • #15
                              Hi,
                              Mình cũng xin bổ xung thêm, BDR sẽ nhận tất cả những thông tin routing update từ các router adjacent nhưng không gửi các LSAupdates.
                              Nếu còn vướng mắc điều gì mong mọi người cùng trao đổi.

                              Comment

                              Working...
                              X