1. 程式人生 > >OSPF為什麽同一個區域內會有多個DR/BDR

OSPF為什麽同一個區域內會有多個DR/BDR

路由器 網絡 ext ima int pro ces 多個 vpd

  • OSPF 的DR/BDR是在同一個MA網絡(如以太網)中進行選舉,並非在一個區域內全部路由器進行選舉
  • 技術分享圖片

    按上面的拓撲圖為例子:

    在R8上面查看OSPF有兩個DR/BDR

    R8#show ip os
    R8#show ip ospf ne
    R8#show ip ospf neighbor

    Neighbor ID Pri State Dead Time Address Interface
    7.7.7.7 1 FULL/DR 00:00:32 120.0.0.7 FastEthernet0/1
    10.10.10.10 1 FULL/BDR 00:00:32 120.0.0.10 FastEthernet0/1

    6.6.6.6 1 FULL/DR 00:00:35 110.0.0.6 FastEthernet0/0
    9.9.9.9 1 FULL/BDR 00:00:32 110.0.0.9 FastEthernet0/0

    R6上面查看OSPF有兩個DR/BDR:

    R6#show ip os
    R6#show ip ospf ne

    Neighbor ID Pri State Dead Time Address Interface
    8.8.8.8 1 FULL/DROTHER 00:00:37 110.0.0.8 FastEthernet0/0

    9.9.9.9 1 FULL/BDR 00:00:32 110.0.0.9 FastEthernet0/0

    R9#show ip os
    R9#show ip ospf ne

    Neighbor ID Pri State Dead Time Address Interface
    6.6.6.6 1 FULL/DR 00:00:37 110.0.0.6 FastEthernet0/0
    8.8.8.8 1 FULL/DROTHER 00:00:39 110.0.0.8 FastEthernet0/0

    R7#show ip ospf neighbor

    Neighbor ID Pri State Dead Time Address Interface
    8.8.8.8 1 FULL/DROTHER 00:00:32 120.0.0.8 FastEthernet0/1
    10.10.10.10 1 FULL/BDR 00:00:35 120.0.0.10 FastEthernet0/1

    R10#show ip ospf neighbor

    Neighbor ID Pri State Dead Time Address Interface
    7.7.7.7 1 FULL/DR 00:00:37 120.0.0.7 FastEthernet0/1
    8.8.8.8 1 FULL/DROTHER 00:00:34 120.0.0.8 FastEthernet0/1

    OSPF為什麽同一個區域內會有多個DR/BDR