实验报告
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
指导老师:
姚育生
实验者:
樊申申
时间:
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宣告网络信息
路由器R
2
的接口配置信息
R
2
(config)#interface f0/0
R
2
(config
-if
)#
ip address 192.168.3.1 255.255.255.0
R
2
(config
-if
)#
no shutdown
R
2
(config
-if
)
#exit
R
2
(config
)interface s0/0/0
R
2
(config
-if
)
#ip address 192.168.2.2 255.255.255.0
R
2
(config
-if
)
#no shutdown
R
2
(config
-if
)
#exit
R
2
(config)
#interface s0/0/1
R
2
(config
-if
)
#ip address 192.168.4.1 255.255.255.0
R
2
(config
-if
)
#clock rate 64000
R
2
(config
-if
)
#no shutdown
查看R
2
路由接接口信息
下面配置R
2
路由的RIP
1:启用RIP
2宣告网络信息
路由器R
3
的接口配置信息
R
3
(config)#interface
f0/0
R
3
(config
-if
)#
ip address 192.168.5.1 255.255.255.0
R
3
(config
-if
)#
no shutdown
R
3
(config
-if
)#
exit
R
3
(config
)#interface s0/0/0
R
3
(config
-if
)#
ip address 192.168.4.2 255.255.255.0
R
3
(config
-if
)#
no shutdown
R
3
(config
-if
)#
exit
R
3
(config
)#interface s0/0/1
R
3
(config
-if
)#
ip address 192.168.6.1 255.255.255.0
R
3
(config
-if
)#
clock rate 64000
R
3
(config
-if
)#
no shutdown
查看R
3
路由接接口信息
下面配置R
3
路由的RIP
1:启用RIP
2宣告网络信息
路由器R
4
的接口配置信息
R
4
(config)#interface
f0/0
R
4
(config
-if
)#
ip address 192.168.7.1 255.255.255.0
R
4
(config
-if
)#
no shutdown
R
4
(config
-if
)#
exit
R
4
(config)
#interface s0/0/0
R
4
(config
-if
)#
ip address 192.168.6.2 255.255.255.0
R
4
(config
-if
)#
no shutdown
查看R
4
路由接接口信息
下面配置R
4
路由的RIP
1:启用RIP
2宣告网络信息
好各路由的RIP协议已经配置完成,下面查看各路由的路由表情况:
R1:
其中C表示的是直连,R表示的是管理距离,也就是我们建立RIP动态路由协议后出现的
R2:
R3:
R4:
没什么问题,下面我们来测试一下客户机的连通性:
PC1:
PC1测试没有问题
|
PC2:
PC2测试没有问题
PC3:
PC3测试没有问题
PC4:
|
转载于:https://blog.51cto.com/fwguan/269478