第四章综合实验

📅 2026/7/26 20:38:45 👁️ 阅读次数 📝 编程学习
第四章综合实验

R1---IP配置

R2---IP配置

R3---IP配置

R4---IP配置

R5---IP配置

R6---IP配置

R7---IP配置

R8--IP配置

R9 ---IP配置

R10---IP配置

R11---IP配置

R12--IP配置

纠错:R11上g0/0/0IP为172.16.65.2 30

g0/0/1IP为172.16.65.5 30

R3:ip route-static 0.0.0.0 0 34.0.0.4

R5:ip route-static 0.0.0.0 0 45.0.0.4

R6:ip route-static 0.0.0.0 0 46.0.0.4

R7:ip route-static 0.0.0.0 0 47.0.0.4

测试网通

路由器建邻

MGRE配置完成后IP路由表

NHRP表

测试全网通:

在R3 ,R5 ,R6,R7上配置acl规则:acl 2000

rule 5 permit source 172.16.0.0 0.0.255.255

同时将a 1配置为stub no-summary(包含R3OSPF 1)

a 2和a 3配置为nssa no-summary

完成上述操作后及汇总,路由表会精简,以下是精简路由表

最终链路数据库表

要全网通需在R9上配置:

R 9:ospf 2

R 9-ospf -2:default-route-advertise always

最终全网通

加快收敛,保障更新安全(优化不影响全网通)
eg:

R1:int g 0/0/0

R 1g0/0/0:ospf timer hello 1

R1g0/0/0:ospf authentication-mode md5 1 cipher 12345(可选择接口认证或区域认证)

以此举例,每个设配上都要做