实验报告
指导老师:姚育生   实验者:樊申申   时间:2010-1-21
实验项目:动态路由选择协议 RIP
实验目的:掌握RIP动态路由配置
设备需求:组网拓扑、IP数据:
实验过程:
基本配置信息
路由器R1的接口配置信息
R1(config)#interface f0/0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)# interface s0/0/0 
R1(config-if)#ip address 192.168.2.1 255.255.255.0
R1(config-if)#clock rate 64000
R1(config-if)#no shutdown
查看R1路由接接口信息
下面配置R1路由的RIP 
1:启用RIP 
2宣告网络信息
路由器R2的接口配置信息
R2(config)#interface f0/0
R2(config-if)#ip address 192.168.3.1 255.255.255.0
R2(config-if)#no shutdown 
R2(config-if)#exit
R2(config)interface s0/0/0
R2(config-if)#ip address 192.168.2.2 255.255.255.0
R2(config-if)#no shutdown 
R2(config-if)#exit
R2(config)#interface s0/0/1
R2(config-if)#ip address 192.168.4.1 255.255.255.0
R2(config-if)#clock rate 64000
R2(config-if)#no shutdown 
查看R2路由接接口信息
下面配置R2路由的RIP 
1:启用RIP 
2宣告网络信息
路由器R3的接口配置信息
R3(config)#interface f0/0
R3(config-if)#ip address 192.168.5.1 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface s0/0/0
R3(config-if)#ip address 192.168.4.2 255.255.255.0
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface s0/0/1
R3(config-if)#ip address 192.168.6.1 255.255.255.0
R3(config-if)#clock rate 64000
R3(config-if)#no shutdown
查看R3路由接接口信息
下面配置R3路由的RIP 
1:启用RIP 
2宣告网络信息
路由器R4的接口配置信息
R4(config)#interface f0/0
R4(config-if)#ip address 192.168.7.1 255.255.255.0
R4(config-if)#no shutdown 
R4(config-if)#exit
R4(config)#interface s0/0/0
R4(config-if)#ip address 192.168.6.2 255.255.255.0
R4(config-if)#no shutdown
查看R4路由接接口信息
下面配置R4路由的RIP 
1:启用RIP 
2宣告网络信息
好各路由的RIP协议已经配置完成,下面查看各路由的路由表情况:
R1
 
其中C表示的是直连,R表示的是管理距离,也就是我们建立RIP动态路由协议后出现的
R2:
R3:
R4:
没什么问题,下面我们来测试一下客户机的连通性:
PC1:
PC1测试没有问题
PC2:
PC2测试没有问题
PC3:
PC3测试没有问题
PC4: