《计算机网络》实验指导书:静态路由配置.doc_第1页
《计算机网络》实验指导书:静态路由配置.doc_第2页
《计算机网络》实验指导书:静态路由配置.doc_第3页
《计算机网络》实验指导书:静态路由配置.doc_第4页
《计算机网络》实验指导书:静态路由配置.doc_第5页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

海量资料 超值下载静态路由配置一、实验目的1.理解路由表2.掌握静态路由的配置二、实验描述1.在小规模的环境中,静态路由是最佳的选择2.静态路由开销小,但是不灵活,适用于相对稳定的网络环境三、实验拓扑四、实验设备1.R2801路由器 3台2.串口线 1根3.双绞线 3根五、实验步骤 第1步:对Router-A 、Router-B和Router-C 以及PC机进行接口配置PC1:192.168.2.2 网关:192.168.2.1PC2:192.168.4.2 网关:192.168.4.1R-A(config)#int f 0/0R-A(config-if)#ip add 192.168.2.1 255.255.255.0R-A(config-if)#no shR-A(config-if)#int S0/0/0R-A(config-if)#ip add 192.168.1.1 255.255.255.0 R-A(config-if)#clock rate 64000R-A(config-if)#no shR-B(config)#int S0/0/0R-B(config-if)#ip add 192.168.1.2 255.255.255.0R-B(config-if)#no sh R-B(config-if)#int f0/0R-B(config-if)#ip add 192.168.3.1 255.255.255.0 R-B(config-if)#no shR-C(config)#int f0/1R-C(config-if)#ip add 192.168.3.2 255.255.255.0R-C(config-if)#no shR-C(config-if)#int f0/0R-C(config-if)#ip add 192.168.4.1 255.255.255.0R-C(config-if)#no sh 第2步:测试连通性相连的设备和PC之间可以通信PC1R-A R-A-R-B R-B-R-C R-C-PC2 之间都可以通信但跨设备不能通信 PC-1-R-B、R-C、PC2都不能通信 第3步:查看Router-A的路由表Route-A#show ip routeCodes: C - connected, S - static, I - IGRP, 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, E - EGP i - 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 - ODR P - periodic downloaded static routeGateway of last resort is not setC 192.168.1.0/24 is directly connected, Serial1/1C 192.168.2.0/24 is directly connected, FastEthernet0/0直连路由第4步:查看Router-B的路由表Router-B#show ip routeCodes: C - connected, S - static, I - IGRP, 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, E - EGP i - 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 - ODR P - periodic downloaded static routeGateway of last resort is not setC 192.168.1.0/24 is directly connected, Serial1/0C 192.168.3.0/24 is directly connected, FastEthernet0/0第5步:查看Router-C的路由表Router-C#sh ip routeCodes: C - connected, S - static, I - IGRP, 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, E - EGP i - 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 - ODR P - periodic downloaded static routeGateway of last resort is not setC 192.168.3.0/24 is directly connected, FastEthernet0/1C 192.168.4.0/24 is directly connected, FastEthernet0/0第6步:在Router-A上Ping Router-C Route-A#ping 192.168.3.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds: . Success rate is 0 percent (0/5)丢包第7步:在Router-A上配置静态路由Route-A#config tEnter configuration commands, one per line. End with CNTL/Z.Route-A(config)#ip route 192.168.3.0 255.255.255.0 192.168.1.2配置目标网段和下一跳Route-A(config)#ip route 192.168.4.0 255.255.255.0 192.168.1.2Route-A(config)#exit第8步:在Router-B上配置静态路由Router-B#config tEnter configuration commands, one per line. End with CNTL/Z.Router-B(config)#ip route 192.168.2.0 255.255.255.0 192.168.1.1Router-B(config)#ip route 192.168.4.0 255.255.255.0 192.168.3.2Router-B(config)#exit第9步:在Router-C上配置静态路由Router-C#config tEnter configuration commands, one per line. End with CNTL/Z.Router-C(config)#ip route 192.168.2.0 255.255.255.0 192.168.3.1Router-C(config)#ip route 192.168.1.0 255.255.255.0 192.168.3.1Router-C(config)#exit第10步:查看各个路由器的路由表Route-A#show ip routeCodes: C - connected, S - static, I - IGRP, 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, E - EGP i - 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 - ODR P - periodic downloaded static routeGateway of last resort is not setC 192.168.1.0/24 is directly connected, Serial1/1C 192.168.2.0/24 is directly connected, FastEthernet0/0S 192.168.3.0/24 1/0 via 192.168.1.2S 192.168.4.0/24 1/0 via 192.168.1.2Router-B#show ip routeCodes: C - connected, S - static, I - IGRP, 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, E - EGP i - 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 - ODR P - periodic downloaded static routeGateway of last resort is not setC 192.168.1.0/24 is directly connected, Serial1/0S 192.168.2.0/24 1/0 via 192.168.1.1C 192.168.3.0/24 is directly connected, FastEthernet0/0S 192.168.4.0/24 1/0 via 192.168.3.2Router-C#show ip routeCodes: C - connected, S - static, I - IGRP, 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, E - EGP i - 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 - ODR P - periodic downloaded static routeGateway of last resort is not setS 192.168.1.0/24 1/0 via 192.168.3.1S 192.168.2.0/24 1/0 via 192.168.3.1C 192.168.3.0/24 is directly connected, FastEthernet0/1C 192.168.4.0/24 is directl

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论