由ITAAljn8483 作
理解ospf中DR与BDR的选举
<?XML:NAMESPACE PREFIX = O />
| ||||||
目录
提要
正文
实验
TOPO
如下
基本配置如下
测试
| ||||||
l
ospf网络中不同的广播域DR与BDR选择情况
正文:
l
为什么要选择DR?
在构建相关路由器之间的邻居关系时,会创建很多不必要的
LSA
,
他们会以
n
的
n
次方猛增。
l
怎样选举DR/BDR? 老问题不在赘述。参看卷一P288
l
什么时候发生同为DR与BDR?
TOPO
如下
:
l
R
1
l
R
2
l
R3
测试:
r1#sh ip os nei
Neighbor ID Pri State Dead Time Address Interface
2.2.2
.2 1 FULL/BDR 00:00:38 12.1.1.2 Serial1/0
3.3.3
.3 1 FULL/BDR
00:00:35 13.1.1.3 Ethernet0/0
r2#sh ip os nei
Neighbor ID Pri State Dead Time Address Interface
3.3.3
.3 1 FULL/DR 00:00:38 23.1.1.3 Serial1/0
1.1.1
.1 1 FULL/DR
00:00:34 12.1.1.1 Serial2/0
r3#sh ip os nei
Neighbor ID Pri State Dead Time Address Interface
2.2.2
.2 1 FULL/BDR 00:00:34 23.1.1.2 Serial2/0
1.1.1
.1 1 FULL/DR 00:00:31 13.1.1.1 Ethernet0/0
默认串行链路为点到点的不选举
DR/BDR
,我们使用
ip ospf network broadcast
命令,让其变为广播链路。在两个广播域边界就会产生既是
DR
又为
BDR
的情况,注意
R1
因为先起机所以永为
DR
并不可抢夺。
更多精华帖 请见 [url]www.one-tom.com/bbs[/url]
网站首页 : [url]www.one-tom.com[/url]
|
转载于:https://blog.51cto.com/216567/37558