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

! !

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地址分配”的试验之后,通过对两次的实验

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值