思科路由配置(RIP实验2)

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

洛阳理工学院计算机与信息工程系

实 验 报 告

日期:2011 年 5 月 17 日 学号

B08050206 班级 B080502 姓名 连双

课程

网络系统集成 实验 成绩

实验名称

RIP 实验2

一、实验目的

1、熟练掌握在路由器上配置RIP ;

2、学习RIP 调试。

二、实验环境规划和实验拓扑

有4个路由器的网络,IP 地址规划情况如下图所示。

三、实验步骤

1、使用PT放置4台2621XM;分别关闭电源,安装WIC-2T模块,其中R2要安装两个WIC-2T模块;打开电源;连接串行线路。

2、修改每台路由器的设备名称,按照IP地址规划配置每台路由器的端口地址和环回端口。

R1上的配置(R3、R4以R1为例)

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#hostname R1

R1(config)#int lo0

%LINK-5-CHANGED: Interface Loopback0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up

R1(config-if)#ip addr 172.31.1.1 255.255.255.0

R1(config-if)#exit

R1(config)#int s0/0

R1(config-if)#clock rate 64000

R1(config-if)#ip addr 192.168.16.1 255.255.255.252

R1(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/0, changed state to down

R2上的配置

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#hostname R2

R2(config)#int s0/0

R2(config-if)#clock ra 64000

R2(config-if)#ip addr 192.168.16.9 255.255.255.252

R2(config-if)#no sh

%LINK-5-CHANGED: Interface Serial0/0, changed state to down

R2(config-if)#exit

R2(config)#int s0/1

R2(config-if)#clock ra 64000

R2(config-if)#ip addr 192.168.16.5 255.255.255.252

R2(config-if)#no sh

%LINK-5-CHANGED: Interface Serial0/1, changed state to down

R2(config-if)#exit

R2(config)#int s0/2

R2(config-if)#clock ra 64000

R2(config-if)#ip addr 192.168.16.2 255.255.255.252

R2(config-if)#no sh

%LINK-5-CHANGED: Interface Serial0/2, changed state to up

R2(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/2, changed state to up

3、查看每台路由器的路由表。

R1#show ip route

..........

172.31.0.0/24 is subnetted, 1 subnets

C 172.31.1.0 is directly connected, Loopback0

192.168.16.0/30 is subnetted, 1 subnets

C 192.168.16.0 is directly connected, Serial0/0

R2#show ip route

......

192.168.16.0/30 is subnetted, 3 subnets

C 192.168.16.0 is directly connected, Serial0/2

C 192.168.16.4 is directly connected, Serial0/1

C 192.168.16.8 is directly connected, Serial0/0

R3#show ip route

......

172.16.0.0/24 is subnetted, 1 subnets

C 172.16.3.0 is directly connected, Loopback0

192.168.16.0/30 is subnetted, 1 subnets

C 192.168.16.4 is directly connected, Serial0/0

R4#show ip route

......

172.16.0.0/24 is subnetted, 1 subnets

C 172.16.4.0 is directly connected, Loopback0

192.168.16.0/30 is subnetted, 1 subnets

C 192.168.16.8 is directly connected, Serial0/0

4、为每台路由器配置RIP协议,并配置指定网络地址。

R1(config)#route rip

R1(config-router)#network 192.168.16.0

R1(config-router)#network 172.31.0.0

R2(config)#route rip

R2(config-router)#network 192.168.16.0

R3(config)#route rip

R3(config-router)#network 192.168.16.0

相关文档
最新文档