资源描述:
《神州数码路由器实例配置》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、本地局域网互联(路由协议配置)任务一实验目的:1掌握路由协议的配置方法;2理解路由协议的工作过程和使用环境;3掌握利用路由器连接本地局域网的方法;试验设备:1・DCR-1700或者DCR-2600路由器一台2.DCRS-3926S交换机一台3.PC机,网线,CONSOLE线实验拓扑:测试机IP:192.168.1.10/24192.168.2.10/24LKI1LM2192.168.1.10/1192.168.2.1实验步骤:1.Router#deletethisfilewillbeerased,areyousure?(y/n)ynosu
2、chfileRouter#writeSavingcurrentconfiguration...OK!Router#rebootDoyouwanttoreboottherouter(y/n)?yPleasewait..〃恢复出厂设置2.Router#showiproute〃查看IP路由表Codes:C・connected,S-static,R-RIP,B-BGP,BC・BGPconnectedD・DEIGRP,DEX・externalDEIGRP,O・OSPF,OIA・OSPFinterareaONI-OSPFNSSAexternaltyp
3、e1,0N2-OSPFNSSAexternaltype2OE1-OSPFexternaltype1,OE2-OSPFexternaltype2DHCP・DHCPtypeVRFID:0〃没有路由表项3.Router#configRouter_config#interfacefRouter_config#interfacefastEthernet0/0Router_config_f0/0#ipaddress192.16&2.1255.255.255.0Router_config_fO/0#exitRouter_config#interface
4、eRouter_config#interfaceethernet0/1Router_config_eO/1#ipaddress192」68.1.1255.255.255.0〃设置路由器两个以太网接口IP地址1.VRFID:0C192.168.1.0/24isdirectlyconnected,EthernetO/1C192.168.2.0/24isdirectlyconnected,FastEthernetO/O〃直通路由2.测试PCI与测试计算机的连同性。任务二实验目的:认识路由协议和路由表实验设备:1.两台DCR-1700路由器2.P
5、C机DCRS-3926交换机2.Console线,交叉双绞线,直通双绞线实验拓扑结构ElROUTEATPOTPOEOUTEBElPCIPC2192.168.1.10/24192.168.1.1192.168.3.10192.168.3.1实验步骤:1.Route_config#hostnameRoute-ARoute-A_config#〃将路由器改名,Route-B同2.Route-A_config#interfaceethemet0/1Route-A_config_e0/1#ipaddress192.168.1.1255.255.255
6、.0Route-A_config_e0/1interfacefastEthernet0/0Route-A_config_ft)/0#ipaddress192.168.2.1255.255.255.0〃设置route-A接口IP地址Route-B_config#interfaceethernet0/1Route-B_config_e0/1#ipaddress192.168.3.1255.255.255.0Route-B_config_e0/1interfacefastEthernet0/0Route-B_config_fD/O#ipaddr
7、ess192.168.2.2255.255.255.0〃设置route-B接口IP地址3・Route-A_config#showiproute192.16&1.0/24192.168.2.0/24192.168.2.0/24isdirectlyconnected,EthemetO/1isdirectlyconnected,FastEthernetO/O〃查看route-A的路rh表Route-B_config#showiprouteisdirectlyconnected,EthernetO/1C192」68.3.0/24isdirectl
8、yconnected,FastEthernetO/O4.测试连通性在pci上分别ping以下IP地址,请回答是否通?192.168.1.1192.168.2」192.16&2.2192.168