CCNA实验:RIP路由协议基础实验

网友投稿 298 2022-09-22


CCNA实验:RIP路由协议基础实验

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:!!!!! (表明直连正常)Success rate is 100 percent (5/5), round-trip min/avg/max = 4/14/36 msR2# 第三步:在R3上根据拓朴进行初始配置R3(config)#R3(config)#int lo0R3(config-if)#ip add 3.3.3.3 255.255.255.0R3(config-if)#int lo1R3(config-if)#ip add 192.168.1.3 255.255.255.0R3(config-if)#int s3/1R3(config-if)#ip add 10.1.2.3 255.255.255.0R3(config-if)#no sh

R3#R3#ping 10.1.2.2

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 10.1.2.2, timeout is 2 seconds:.....Success rate is 0 percent (0/5)R3#R3#R3#

R3#ping 10.1.2.1

Type escape s

实验过程:第一步:配置RIP协议R1(config)#router rip R1(config-router)#network 1.0.0.0R1(config-router)#network 10.0.0.0R1(config-router)#

R2(config)#router rip R2(config-router)#network 127.16.0.0R2(config-router)#network 2.0.0.0R2(config-router)#network 10.0.0.0

R3(config)#router rip R3(config-router)#network 3.0.0.0R3(config-router)#network 192.168.1.0R3(config-router)#network 10.0.0.0第二步:检查RIP协议的运行情况R1#sh ip pro Routing Protocol is "rip"Sending updates every 30 seconds, next due in 1 secondsInvalid after 180 seconds, hold down 180, flushed after 240Outgoing update filter list for all interfaces is Incoming update filter list for all interfaces is Redistributing: ripDefault version control: send version 1, receive any versionInterface Send Recv Key-chainSerial1/2 1 1 2 Serial1/3 1 1 2 Loopback0 1 1 2 (默认收V1和V2 发V1) Routing for Networks:1.0.0.010.0.0.0Routing Information Sources:Gateway Distance Last Update10.1.2.3 120 00:00:19Distance: (default is 120)

R1#

第三步:查看RIP协议运行正常后的路由情况R1#show ip rouCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - 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, * - candidate defaultU - per-user static route, o - ODRT - traffic engineered route

Gateway of last resort is not set

1.0.0.0/24 is subnetted, 1 subnetsC 1.1.1.0 is directly connected, Loopback0R 3.0.0.0/8 [120/1] via 10.1.2.3, 00:00:14, Serial1/310.0.0.0/24 is subnetted, 2 subnetsC 10.1.2.0 is directly connected, Serial1/3C 10.1.1.0 is directly connected, Serial1/2R 192.168.1.0/24 [120/1] via 10.1.2.3, 00:00:14, Serial1/3R1#

第四步:我们在R1上进行rip调试R1#00:28:09: RIP: sending v1 update to 255.255.255.255 via Serial1/2 (10.1.1.1)00:28:09: subnet 10.1.2.0, metric 100:28:09: network 1.0.0.0, metric 100:28:09: network 3.0.0.0, metric 200:28:09: network 192.168.1.0, metric 200:28:09: RIP: sending v1 update to 255.255.255.255 via Serial1/3 (10.1.2.1)00:28:09: subnet 10.1.1.0, metric 100:28:09: network 1.0.0.0, metric 100:28:09: RIP: sending v1 update to 255.255.255.255 via Loopback0 (1.1.1.1)00:28:09: network 3.0.0.0, metric 200:28:09: network 10.0.0.0, metric 100:28:09: network 192.168.1.0, metric 200:28:09: RIP: received v1 update from 10.1.2.3 on Serial1/300:28:09: 3.0.0.0 in 1 hops00:28:09: 192.168.1.0 in 1 hops第五步:我们在R2上进行rip调试R2#sh ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - 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, * - candidate defaultU - per-user static route, o - ODRT - traffic engineered route

Gateway of last resort is not set

R 1.0.0.0/8 [120/1] via 10.1.1.1, 00:00:09, Serial2/1R 3.0.0.0/8 [120/2] via 10.1.1.1, 00:00:09, Serial2/1172.16.0.0/24 is subnetted, 1 subnetsC 172.16.1.0 is directly connected, Loopback110.0.0.0/24 is subnetted, 2 subnetsR 10.1.2.0 [120/1] via 10.1.1.1, 00:00:09, Serial2/1C 10.1.1.0 is directly connected, Serial2/1R 192.168.1.0/24 [120/2] via 10.1.1.1, 00:00:09, Serial2/1R2#第六步:分别查看R2和R3的路由表R2#sh ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - 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, * - candidate defaultU - per-user static route, o - ODRT - traffic engineered route

Gateway of last resort is not set

R 1.0.0.0/8 [120/1] via 10.1.1.1, 00:00:24, Serial2/1R 3.0.0.0/8 [120/2] via 10.1.1.1, 00:00:24, Serial2/1172.16.0.0/24 is subnetted, 1 subnetsC 172.16.1.0 is directly connected, Loopback110.0.0.0/24 is subnetted, 2 subnetsR 10.1.2.0 [120/1] via 10.1.1.1, 00:00:24, Serial2/1C 10.1.1.0 is directly connected, Serial2/1R 192.168.1.0/24 [120/2] via 10.1.1.1, 00:00:24, Serial2/1R2#

R3#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - 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, * - candidate defaultU - per-user static route, o - ODRT - traffic engineered route

Gateway of last resort is not set

R 1.0.0.0/8 [120/1] via 10.1.2.1, 00:00:22, Serial3/13.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Loopback010.0.0.0/24 is subnetted, 2 subnetsC 10.1.2.0 is directly connected, Serial3/1R 10.1.1.0 [120/1] via 10.1.2.1, 00:00:22, Serial3/1C 192.168.1.0/24 is directly connected, Loopback1R3#

第七步:我们在R3上个假设192.168.1.0接口down掉R3#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - 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, * - candidate defaultU - per-user static route, o - ODRT - traffic engineered route

Gateway of last resort is not set

R 1.0.0.0/8 [120/1] via 10.1.2.1, 00:00:22, Serial3/13.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Loopback010.0.0.0/24 is subnetted, 2 subnetsC 10.1.2.0 is directly connected, Serial3/1R 10.1.1.0 [120/1] via 10.1.2.1, 00:00:22, Serial3/1C 192.168.1.0/24 is directly connected, Loopback1R3#R1#ping 192.168.1.3

Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 8/15/28 msR1#


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:单元测试 @mock与@SpringBootTest的使用
下一篇:CCNA实验:默认路由配置(思科网络实验室CCNP(路由技术)实验指南书籍)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~