动态路由协议RIP与OSPF的配置.docx

上传人:罗晋 文档编号:11682895 上传时间:2021-08-30 格式:DOCX 页数:15 大小:80.04KB
返回 下载 相关 举报
动态路由协议RIP与OSPF的配置.docx_第1页
第1页 / 共15页
动态路由协议RIP与OSPF的配置.docx_第2页
第2页 / 共15页
动态路由协议RIP与OSPF的配置.docx_第3页
第3页 / 共15页
动态路由协议RIP与OSPF的配置.docx_第4页
第4页 / 共15页
动态路由协议RIP与OSPF的配置.docx_第5页
第5页 / 共15页
点击查看更多>>
资源描述

《动态路由协议RIP与OSPF的配置.docx》由会员分享,可在线阅读,更多相关《动态路由协议RIP与OSPF的配置.docx(15页珍藏版)》请在三一文库上搜索。

1、海南大学信息科学技术学院实验报告实验课程:计算机网络评定成指导教绩 师实验名称:动态路由协议RIP与OSPF的配置 学号:_20_姓名:李新宇班级:电子信息类05班一、实验目的1 熟悉CISCO IOS和CLI命令模式的使用;2、了解和掌握路由器基本配置命令的使用;3、掌握动态路由协议的配置;4、掌握VLAN中路由器的设置;3.掌握RIP与OSPF路由协议及其配置。二、实验设备与环境Windows2000 Server/Advanee Server 主机局域网、CISCOCatalyst2950交换机和2600系歹IJ路由器, Cisco Packet Tracer软件三、实验内容课内实验任务

2、(2)实验过程0)创建拓扑图2621x2、RoutedRenter?Route3SwitchO26J1XMRnjter41 )采用配置PC1和PC2的IP地址和子网掩码 2)连接至路由器Router3,配置路由器的RIP,命令如下:Router) en ableRouter# conf termi nalRouter(c on fig)# host name R3R3(co nfig)# in terface FastEthernet 0/0R3(co nfig-if)# ip address 11.0.0.1 shutdow nR3(config-if)#R3(config-if)#inte

3、rface FastEthernet 0/1R3(config-if)#interface serial 0R3(config-if)#ip address 10.0.0.1 12810.0.011.0.0 12.0.0 11.0.0R1 (config-router)# endR1(config)#router rip12.0.0R2(config-router)# endR2(config)#router rip10.0.0R4(config-router)# networkripip address 12.0.0.1 shutdownPQ2.0.0 shutdow nR3(c on fi

4、g- if)#R3(c on fig- if)#in terface FastEthernet0/1ip address 12.0.0.1 shutdow nR3(co nfig-if)#in terface serial 010.0.0 area 0R3(co nfig-if)# ip address 10.0.0.1 12811.0.0 area 012.0.0 area 011.0.0 area 0R1(co nfig-router)# network area 012.0.0 area 0R2(co nfig)#router ospf 10R2(config-router)#netwo

5、rk area 0R2(config-router)#exit10.0.0 area 0R4(config-router)# network 0.0.0.255 area 0Enter configuration commands, one per line. End with CNTL/Z.Router(config)#router ospf 10Router(config-router)#network area 0Router(config-router)#exit5)连接到路由器R1中,通过命令 show ip route ”显示R1的动态路 由表,观察路由表项,当目标网络是时,度量值

6、为多少R1show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B-BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level

7、-1, L2 - IS-IS level-2, ia - IS-IS inter area* - candidate default, U - per-user static route, o - ODRP - periodic downloaded static routeGateway of last resort is not setis subnetted, 1 subnetsO 110/65 via 00:05:34, FastEthernetO/Ois subnetted, 1 subnetsC is directly connected, FastEthernetO/Ois su

8、bnetted, 1 subnetsO 110/2 via 00:05:34, FastEthernetO/OO 110/66 via 00:00:47, FastEthernetO/O答:度量值为666)连接至(J R2 R3和R4,查看每台路由器的路由表。R2 : R 2show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B-BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA ex

9、ternal type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS interarea* - candidate default, U - per-user static route, o - ODRP - periodic downloaded static routeGateway of last resort is not

10、setis subnetted, 1 subnetsO 110/65 via 00:06:26, FastEthernetO/Ois subnetted, 1 subnetsO 110/2 via 00:06:26, FastEthernetO/OC is directly connected, FastEthernetO/OO 110/66 via 00:06:26, FastEthernetO/OR3 : R3show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B-BGPD - EIGR

11、P, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area* - candidate default, U - per-user static route, o

12、 - ODRP - periodic downloaded static routeGateway of last resort is not setis subnetted, 1 subnetsC is directly connected, Serial0/0is subnetted, 1 subnetsC is directly connected, FastEthernetO/Ois subnetted, 1 subnetsC is directly connected, FastEthernetO/1O 110/65 via 00:03:13, Serial0/0度量值为65R4 :

13、 Routershow ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B-BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS le

14、vel-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODRP - periodic downloaded static routeGateway of last resort is not set is subnetted, 1 subnetsC is directly connected, Serial0/0is subnetted, 1 subnetsO 110/65 via 00:04:12, Serial0/0is subnetted

15、, 1 subnetsO 110/65 via 00:04:12, Serial0/0C is directly connected, FastEthernetO/O7)使用ping命令测试到路由器各接口的连通状态,以检测路由器的配用PC1测试:与R2连接情况:C:ping with 32 bytes of data:Reply from bytes=32 time=1 ms TTL=253Reply from bytes=32 time=1 ms TTL=253Reply from bytes=32 time=1 ms TTL=253Reply from bytes=32 time=12ms

16、 TTL=253Ping statistics for Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 1ms, Maximum = 12ms, Average = 3ms接通与 R1 连接情况:C:ping with 32 bytes of data:Reply from bytes=32 time=2ms TTL=253Reply from bytes=32 time=11 ms TTL=253Reply from bytes=32 time

17、=1 ms TTL=253Reply from bytes=32 time=4ms TTL=253Ping statistics for Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 1 ms, Maximum = 11 ms, Average = 4ms / 接通用PC2测试与R2连接情况:Pinging with 32 bytes of data:Reply from bytes=32 time=2ms TTL=253Reply from

18、bytes=32 time=1 ms TTL=253Reply from bytes=32 time=1 ms TTL=253Reply from bytes=32 time=13ms TTL=253Ping statistics for Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 1ms, Maximum = 13ms, Average = 4ms接通用pc2测试与R1连接情况:C:ping with 32 bytes of data:Re

19、ply from bytes=32 time=1 ms TTL=253Reply from bytes=32 time=1 ms TTL=253Reply from bytes=32 time=1 ms TTL=253Reply from bytes=32 time=1 ms TTL=253Ping statistics for Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds:Minimum = 1 ms, Maximum = 1 ms, Average = 1 ms / 接通

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 科普知识


经营许可证编号:宁ICP备18001539号-1