实验要求:
子网划分:
第一步:路由器配置IP
[Huawei-GigabitEthernet0/0/0]ip address 192.168.1.1 29
[Huawei-LoopBack0]ip address 192.168.1.65 27
第二步:启动OSPF
[Huawei]ospf
[Huawei-ospf-1]area 0
[Huawei-ospf-1-area-0.0.0.0]network 192.168.1.0 0.0.0.255
第三步:给R4配置缺省路由
[Huawei-ospf-1]default-route-advertise always
第四步:在R1,R2上去除BDR设备
display ospf peer
interface GigabitEthernet 0/0/0
ospf dr-priority 0
display ospf peer
第五步:手工认证,保障更新安全`
interface GigabitEthernet 0/0/0
ospf authentication-mode md5 1 cipher 123456
display ospf peer
第六步:区域汇总,减少路由条目
area 0
abr-summary 192.168.1.0 255.255.255.128
display ip routing-table protocol ospf
第七步:建立空接口,避免环路
ip route-static 192.168.1.0 25 NULL 0