整个ip地址基于192.168.1.0/24划分
area0 区域手工设置r1为dr,r2为bdr
[r1]ospf 1 router-id 1.1.1.1
Info: The configuration succeeded. You need to restart the OSPF process to valid
ate the new router ID.
[r1-ospf-1]area 0
[r1-ospf-1-area-0.0.0.0]network 192.168.1.65 0.0.0.0
[r1-ospf-1-area-0.0.0.0]network 192.168.1.17 0.0.0.0
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]ospf dr-priority 2
r1 r2 r5上配置环回接口 但是r5的环回接口不能宣告ospf
[r5-ospf-1]silent-interface LoopBack 0