资源描述:
《实验七、路由器静态路由配置》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、实验七、路由器静态路由配置一、实验目的1.理解路由表2.掌握静态路由的配置二、应用环境1.在小规模环境里,静态路由是最佳的选择2.静态路由开销小,但不灵活,适用于相对稳定的网络三、实验设备1.DCR-1751三台2.CR-V35FC一条3.CR-V35MT一条四、实验拓扑五、实验要求配置表Router-ARouter-BRouter-CS1/1(DCE)192.168.1.1S/1/0(DTE)192.168.1.2F0/0192.168.2.2F0/0192.168.0.1F0/0192.168.2.1E1/0192.168.3.1六、实验步骤第一步:参照实验三,按照上表
2、配置所有接口的IP地址,保证所有接口全部是up状态,测试连通性第二步:查看ROUTER-A的路由表Router-A#showiprouteCodes:C-connected,S-static,R-RIP,B-BGP,BC-BGPconnectedD-DEIGRP,DEX-externalDEIGRP,O-OSPF,OIA-OSPFinterareaON1-OSPFNSSAexternaltype1,ON2-OSPFNSSAexternaltype2OE1-OSPFexternaltype1,OE2-OSPFexternaltype2DHCP-DHCPtypeVRFID:0C
3、192.168.0.0/24isdirectlyconnected,FastEthernet0/0!直连的路由C192.168.1.0/24isdirectlyconnected,Serial1/1!直连的路由第三步:查看ROUTER-B的路由表Router-B#showiprouteCodes:C-connected,S-static,R-RIP,B-BGP,BC-BGPconnectedD-DEIGRP,DEX-externalDEIGRP,O-OSPF,OIA-OSPFinterareaON1-OSPFNSSAexternaltype1,ON2-OSPFNSSAext
4、ernaltype2OE1-OSPFexternaltype1,OE2-OSPFexternaltype2DHCP-DHCPtypeVRFID:0C192.168.1.0/24isdirectlyconnected,Serial1/0C192.168.2.0/24isdirectlyconnected,FastEthernet0/0第四步:查看ROUTER-C的路由表Router-B#showiprouteCodes:C-connected,S-static,R-RIP,B-BGP,BC-BGPconnectedD-DEIGRP,DEX-externalDEIGRP,O-O
5、SPF,OIA-OSPFinterareaON1-OSPFNSSAexternaltype1,ON2-OSPFNSSAexternaltype2OE1-OSPFexternaltype1,OE2-OSPFexternaltype2DHCP-DHCPtypeVRFID:0C192.168.1.0/24isdirectlyconnected,Serial1/0C192.168.2.0/24isdirectlyconnected,FastEthernet0/0第五步:在ROUTER-A上PING路由器CRouter-A#ping192.168.2.2PING192.168.2.2
6、(192.168.2.2):56databytes.....---192.168.2.2pingstatistics---5packetstransmitted,0packetsreceived,100%packetloss!不通第六步:在路由器A上配置静态路由Router-A#configRouter-A_config#iproute192.168.2.0255.255.255.0192.168.1.2!配置目标网段和下一跳Router-A_config#iproute192.168.3.0255.255.255.0192.168.1.2第七步:查看路由表Router-A
7、#showiprouteCodes:C-connected,S-static,R-RIP,B-BGP,BC-BGPconnectedD-DEIGRP,DEX-externalDEIGRP,O-OSPF,OIA-OSPFinterareaON1-OSPFNSSAexternaltype1,ON2-OSPFNSSAexternaltype2OE1-OSPFexternaltype1,OE2-OSPFexternaltype2DHCP-DHCPtypeVRFID:0C192.168.0.0/24isdirectlycon