静态路由综合实验
拓补图及实验需求![在这里插入图片描述](https://i-blog.csdnimg.cn/direct/4b17d62c9dfd420c923a87e610e312a0.png#pic_center)
需求分析
1.划分网段
2.配IP
3.配DHCP
4.配telnet
5.配路由:未知网段/汇总网段
6.缺省路由
7.空接口路由
8.浮动静态路由
操作过程
1.划分网段
2.配IP
AR1
AR2
AR3
AR4
AR5
3.配DHCP(AR5)
4.配telnet
5配路由 未知/汇总网段
防环,黑洞路由配置
[r1]ip route-static 192.168.1.64 27 NULL 0
[r1]ip route-static 192.168.1.96 27 NULL 0
[r2]ip route-static 192.168.1.32 27 NULL 0
[r2]ip route-static 192.168.1.96 27 NULL 0
[r2]ip route-static 192.168.1.128 27 NULL 0
[r3]ip route-static 192.168.1.32 27 NULL 0
[r3]ip route-static 192.168.1.64 27 NULL 0
[r4]ip route-static 192.168.1.32 27 NULL 0
[r4]ip route-static 192.168.1.96 27 NULL 0
[r4]ip route-static 192.168.1.64 27 NULL 0
[r5]ip route-static 192.168.1.0 24 NULL 0
浮动静态路由
[r5]ip route-static 192.168.1.0 24 192.168.1.17
[r5]ip route-static 192.168.1.0 24 192.168.1.21
preference 61
缺省路由配置
[r1]ip route-static 0.0.0.0 0 192.168.1.2
[r1]ip route-static 0.0.0.0 0 192.168.1.10
[r2]ip route-static 0.0.0.0 0 192.168.1.6
[r3]ip route-static 0.0.0.0 0 192.168.1.13
防环,黑洞路由配置
[r1]ip route-static 192.168.1.64 27 NULL 0
[r1]ip route-static 192.168.1.96 27 NULL 0
[r2]ip route-static 192.168.1.32 27 NULL 0
[r2]ip route-static 192.168.1.96 27 NULL 0
[r2]ip route-static 192.168.1.128 27 NULL 0
[r3]ip route-static 192.168.1.32 27 NULL 0
[r3]ip route-static 192.168.1.64 27 NULL 0
[r4]ip route-static 192.168.1.32 27 NULL 0
[r4]ip route-static 192.168.1.96 27 NULL 0
[r4]ip route-static 192.168.1.64 27 NULL 0
[r5]ip route-static 192.168.1.0 24 NULL 0
运行测试
查看静态路由表