静态路由综合实验

一.要求

二.规划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,故要更改优先级

七.验证此实验是否成功

经历以上六次步骤可完成本次实验,在完成每次实验后应验证是否成功



 

  • 21
    点赞
  • 19
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值