一.要求
二.规划ip地址
如图所示
三.实验步骤
1.将AR1-5分别命名为r1-5
2.给每个路由器配置ip
r1路由器:int g0/0/0 ip address 192.168.1.1 30
int g0/0/1 ip address 192.168.1.5 30
r2路由器:int g0/0/0 ip address 192.168.1.2 30
int g0/0/1 ip address 192.168.1.9 30
r3路由器:int g0/0/0 ip address 192.168.1.6 30
int g0/0/1 ip address192.168.1.13 30
r4路由器:int g0/0/0 ip address192.168.1.10 30
int g0/0/1 ip address192.168.1.14 30
int g0/0/2 ip address 192.168.1.21 30
int e4/0/0 ip address 192.168.1.17 30
r5路由器:int g0/0/0 ip address 192.168.1.22 30
int e4/0/0 ip address 192.168.1.18 30
3.写出还回地址
r1路由器:int L0 ip address 192.168.1.33 28
int L1 ip address 192.168.1.49 28
r2路由器:int L0 ip address 192.168.1.65 28
int L1 ip address 192.168.1.81 28
r3路由器:int L0 ip address 192.168.1.97 28
int L1 ip address 192.168.1.113 28
r4路由器:int L0 ip address 192.168.1.129 28
int L1 ip address 192.168.1.145 28
4.配置每个路由器的路由表
r1配置骨干:
ip route-static 192.168.1.8 30 192.168.1.2
ip route-static 192.168.1.12 30 192.168.1.6
ip route-static 192.168.1.20 30 192.168.1.2
ip route-static 192.168.1.20 30 192.168.1.6
r1配置环路:
ip route-static 192.168.1.64 27 192.168.1.2
ip route-static 192.168.1.96 27 192.168.1.6
ip route-static 192.168.1.128 27 192.168.1.2
ip route-static 192.168.1.64 27 192.168.1.6
r2配置骨干:
ip route-static 192.168.1.4 30 192.168.1.1
ip route-static 192.168.1.12 30 192.168.1.10
ip route-static 192.168.1.20 30 192.168.1.10
r2配置环路:
ip route-static 192.168.1.32 27 192.168.1.1
ip route-static 192.168.1.96 27 192.168.1.1
ip route-static 192.168.1.96 27 192.168.1.10
ip route-static 192.168.1.128 27 192.168.1.10
r3配置骨干:
ip route-static 192.168.1.0 30 192.168.1.5
ip route-static 192.168.1.8 30 192.168.1.14
ip route-static 192.168.1.20 30 192.168.1.14
r3配置环路:
ip route-static 192.168.1.32 27 192.168.1.5
ip route-static 192.168.1.64 27 192.168.1.5
ip route-static 192.168.1.128 27 192.168.1.14
ip route-static 192.168.1.64 27 192.168.1.14
r4配置骨干:
ip route-static 192.168.1.4 30 192.168.1.13
ip route-static 192.168.1.0 30 192.168.1.9
r4配置环路:
ip route-static 192.168.1.96 27 192.168.1.13
ip route-static 192.168.1.32 27 192.168.1.13
ip route-static 192.168.1.32 27 192.168.1.9
ip route-static 192.168.1.64 27 192.168.1.9
r5配置骨干:
ip route-static 192.168.1.8 30 192.168.1.21
ip route-static 192.168.1.0 30 192.168.1.21
ip route-static 192.168.1.12 30 192.168.1.21
ip route-static 192.168.1.4 30 192.168.1.21
r5配置环路:
ip route-static 192.168.1.128 27 192.168.1.21
ip route-static 192.168.1.96 27 192.168.1.21
ip route-static 192.168.1.32 27 192.168.1.21
ip route-static 192.168.1.64 27 192.168.1.21
四.配置缺省路由
r1:ip route-static 0.0.0.0 0 192.168.1.2
ip route-static 0.0.0.0 0 192.168.1.6
r2:ip route-static 0.0.0.0 0 192.168.1.10
r3:ip route-static 0.0.0.0 0 192.168.1.14
r4:ip route-static 0.0.0.0 0 192.168.1.22
五.配置空接口
r1:ip route-static 192.168.1.32 27 NULL 0
r2:ip route-static 192.168.1.64 27 NULL 0
r3:ip route-static 192.168.1.96 27 NULL 0
r4:ip route-static 192.168.1.128 27 NULL 0
六。改优先级
因为正常是用1000M链路通信,故障时改为100M,故要更改优先级
七.验证此实验是否成功
经历以上六次步骤可完成本次实验,在完成每次实验后应验证是否成功