《计算机网络》实验六 静态路由配置 实验报告

2026/1/20 3:48:42

! !

control-plane ! !

line con 0 line aux 0 line vty 0 4

password cisco login !

scheduler allocate 20000 1000 ! end

步骤4:在 Route A 上配置静态路由

7-A(config)#ip route 10.7.2.0 255.255.255.0 172.17.200.6 7-A(config)#10.7.4.0 255.255.255.0 172.17.200.6 步骤5:检查9-A上的路由表 7-A#show ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2

i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set

172.17.0.0/30 is subnetted, 1 subnets

C 172.17.200.4 is directly connected, Serial0/3/0 10.0.0.0/24 is subnetted, 4 subnets S 10.7.4.0 [1/0] via 172.17.200.6

C 10.7.1.0 is directly connected, FastEthernet0/1 C 10.7.3.0 is directly connected, FastEthernet0/0 S 10.7.2.0 [1/0] via 172.17.200.6

步骤6:Ping 7-B的FastEthernet端口的地址。 7-A#Ping 10.7.2.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.7.2.1, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 12/14/16 ms 7-A#Ping 10.7.4.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.7.4.1, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 12/14/16 ms 步骤7:在9-B上配置缺省路由

7-B(config)#ip route 0.0.0.0 0.0.0.0 172.17.200.5 步骤8:在9-B上查看路由表 7-B#show ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2

i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route

Gateway of last resort is 172.17.200.5 to network 0.0.0.0

172.17.0.0/30 is subnetted, 1 subnets

C 172.17.200.4 is directly connected, Serial0/3/0 10.0.0.0/24 is subnetted, 2 subnets

C 10.7.4.0 is directly connected, FastEthernet0/0 C 10.7.2.0 is directly connected, FastEthernet0/1 S* 0.0.0.0/0 [1/0] via 172.17.200.5

步骤9:Ping 7-A的FastEthernet端口的地址 7-B#ping 10.7.1.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.7.1.1, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 12/14/16 ms 7-B#ping 10.7.3.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.7.3.1, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 12/13/16 ms 步骤10. 在 Route B 上删除缺省路由配置,配置静态路由 7-B#conf t

Enter configuration commands, one per line. End with CNTL/Z. 7-B(config)# no ip route 0.0.0.0 0.0.0.0 172.17.200.5 7-B(config)#ip route 10.7.1.0 255.255.255.0 172.17.200.5 7-B(config)#ip route 10.7.3.0 255.255.255.0 172.17.200.5 步骤11. 查看路由表 7-B#show ip route

Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2

i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route

Gateway of last resort is 172.17.200.5 to network 0.0.0.0

172.17.0.0/30 is subnetted, 1 subnets

C 172.17.200.4 is directly connected, Serial0/3/0 10.0.0.0/24 is subnetted, 2 subnets

C 10.7.4.0 is directly connected, FastEthernet0/0 C 10.7.2.0 is directly connected, FastEthernet0/1 S* 0.0.0.0/0 [1/0] via 172.17.200.5 步骤12. 测试网络的连通性

7-B(config)#ip route 10.7.1.0 255.255.255.0 172.17.200.5 7-B(config)#ip route 10.7.3.0 255.255.255.0 172.17.200.5 7-B#ping 10.7.1.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.7.1.1, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 12/15/16 ms 7-B#ping 10.7.3.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.7.3.1, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 12/15/16 ms 7-A#Ping 10.7.2.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.7.2.1, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 12/14/16 ms 7-A#Ping 10.7.4.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.7.4.1, timeout is 2 seconds: !!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 12/15/16 ms

六、成果与总结

此次试验在上次“IP地址分配”的试验之后,通过对两次的实验

结果的连通状态的比较,从原理上分析,学习了两次实验的差别。通过此次试验进一步的学习了计算机网络的知识


《计算机网络》实验六 静态路由配置 实验报告.doc 将本文的Word文档下载到电脑
搜索更多关于: 《计算机网络》实验六 静态路由配置 实验报告 的文档
相关推荐
相关阅读
× 游客快捷下载通道(下载后可以自由复制和排版)

下载本文档需要支付 10

支付方式:

开通VIP包月会员 特价:29元/月

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:xuecool-com QQ:370150219