教案课程名称网络设备授课年级高一学校电子职校教师姓名李萱章节名称路由器静态路由练习计划学时4课时教学目标1、了解路由的基本概念。2、了解路由表的作用。3、掌握静态路由的配置命令。设计思路通过模拟构建的工作场景,使学生能够以工作过程的形式进行学习。教学环节教学内容、所用时间、教师活动、学生活动引入新课通过前一次课的学习,我们初步掌握了静态路由在网络中的应用,今天通过几个实验来进行巩固。新课教学【实验一】路由器静态路由实验一1.1实验设备1、用户自定义2621XM路由器3台2、PC机4台3、直通线、交叉线若干1.2组网图RT1F0/0PC1PC2F1/0RT2F0/1F0/0RT3F0/0F1/1F1/0F1/1PC4PC31.3实验设备IP地址及要求IP地址表:设备名IP地址子网掩码PC1192.168.1.2255.255.255.0RT1-F0/0192.168.1.1255.255.255.0RT1-F0/1192.168.2.1255.255.255.0PC2192.168.2.2255.255.255.0RT1-F1/01.1.1.1255.255.255.0RT1-F1/11.1.2.1255.255.255.0RT2-F1/11.1.2.1255.255.255.0RT2-F0/0192.168.3.1255.255.255.0PC3192.168.3.2255.255.255.0RT3-F1/01.1.1.2255.255.255.0RT3-F0/0192.168.4.1255.255.255.0PC4192.168.4.2255.255.255.0根据所给IP地址表,完成各个设备接口的IP设置,通过使用静态路由的方式,使任意两台电脑之间能PING通。1.4配置过程,请补充完整第一步:配置路由器RT1的接口地址RouterenaRouter#Router#confRouter(config)#hostnameRT1RT1(config)#interfacefastEthernet0/0RT1(config-if)#ipaddress192.168.1.1255.255.255.0RT1(config-if)#noshutdownRT1(config-if)#exitRT1(config)#interfacefastEthernet0/1RT1(config-if)#ipaddress192.168.2.1255.255.255.0RT1(config-if)#noshutdownRT1(config-if)#exitRT1(config)#interfacefastEthernet1/0RT1(config-if)#ipaddress1.1.1.1255.255.255.0RT1(config-if)#noshutdownRT1(config-if)#exitRT1(config)#interfacefastEthernet1/1RT1(config-if)#ipaddress1.1.2.1255.255.255.0RT1(config-if)#noshutdownRT1(config-if)#exit第二步:配置路由器RT2的接口地址RouterenaRouter#Router#confRouter(config)#hostnameRT2RT2(config)#interfacefastEthernet0/0RT2(config-if)#ipaddress192.168.3.1255.255.255.0RT2(config-if)#noshutdownRT2(config-if)#exitRT2(config)#interfacefastEthernet1/1RT2(config-if)#ipaddress1.1.2.2255.255.255.0RT2(config-if)#noshutdownRT2(config-if)#exit第三步:配置路由器RT3的接口地址RouterenaRouter#Router#confRouter(config)#hostnameRT3RT3(config)#interfacefastEthernet0/0RT3(config-if)#ipaddress192.168.4.1255.255.255.0RT3(config-if)#noshutdownRT3(config-if)#exitRT3(config)#interfacefastEthernet1/0RT3(config-if)#ipaddress1.1.1.2255.255.255.0RT3(config-if)#noshutdownRT3(config-if)#exit第四步:验证此时的网络连通数据出发地IP目的地IPPING命令结果(通或不通)PC1PC3PC1PC4PC2PC3PC2PC4PC3PC4第五步:在RT1上配置到达非直连网段的路由RT1(config-if)#iproute192.168.4.0255.255.255.01.1.1.2RT1(config-if)#iproute192.168.3.0255.255.255.01.1.2.2第六步:在RT2上配置到达非直连网段的路由RT2(config-if)#iproute192.168.1.0255.255.255.01.1.2.1RT2(config-if)#iproute192.168.2.0255.255.255.01.1.2.1RT2(config-if)#iproute192.168.4.0255.255.255.01.1.2.1RT2(config-if)#iproute1.1.1.0255.255.255.01.1.2.1第七步:在RT3上配置到达非直连网段的路由RT2(config-if)#iproute192.168.1.0255.255.255.01.1.1.1RT2(config-if)#iproute192.168.2.0255.255.255.01.1.1.1RT2(config-if)#iproute192.168.3.0255.255.255.01.1.1.1RT2(config-if)#iproute1.1.2.0255.255.255.01.1.2.1第八步:查看RT1上的路由表RT1#shoiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea*-candidatedefault,U-per-userstaticroute,o-ODRP-periodicdownloadedstaticrouteGatewayoflastresortisnotset1.0.0.0/24issubnetted,2subnetsC1.1.1.0isdirectlyconnected,FastEthernet1/0C1.1.2.0isdirectlyconnected,FastEthernet1/1C192.168.1.0/24isdirectlyconnected,FastEthernet0/0C192.168.2.0/24isdirectlyconnected,FastEthernet0/1S192.168.3.0/24[1/0]via1.1.2.2S192.168.4.0/24[1/0]via1.1.1.2第九步:查看RT2上的路由表RT2#shoiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea*-candidatedefault,U-per-userstaticroute,o-ODRP-periodicdownloadedstaticrouteGatewayoflastresortisnotset1.0.0.0/24issubnetted,2subnetsS1.1.1.0[1/0]via1.1.2.1C1.1.2.0isdirectlyconnected,FastEthernet1/1S192.168.1.0/24[1/0]via1.1.2.1S192.168.2.0/24[1/0]via1.1.2.1C192.168.3.0/24isdirectlyconnected,FastEthernet0/0S192.168.4.0/24[1/0]via1.1.2.1第十步:查看RT3上的路由表RT3#shoiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea*-candidatedefault,U-per-userstaticroute,o-ODRP-periodicdownloadedstaticrouteGatewayoflastresortisnotset1.0.0.0/24issubnetted,2subnetsC1.1.1.0isdirectlyconnected,FastEthernet1/0S1.1.2.0[1/0]via1.1.1.1S192.168.1.0/24[1/0]via1.1.1.1S192.168.2.0/24[1/0]via1.1.1.1S192.168.3.0/24[1/0]via1.1.1.1C192.168.4.0/24isdirectlyconnected,FastEthernet0/01.5完整的配置文档略1.6实验验证与结论数据出发地IP目的地IPPING命令结果(通或不通)PC1PC3PC1PC4PC2PC3PC2PC4PC3PC4结论:在RT1上需要设置到(网段)的静态路由;在RT2上需要设置到(网段)的静态路由。在RT3上需要设置到(网段)的静态路由。PC1到PC4之间利用Tracerert可以测得经历了个节点。【实验二】三层交换机上不同VLAN之间的通讯2.1实验设备1、3560交换机一台2、PC机3台3、直通线若干2.2组网图PC1PC2F0/1F0/2PC3PC4F0/3F0/4SW12.3实验设备IP地址及要求IP地址表:设备名端口IP地址子网掩码SW1VLAN10F0/1192.168.10.1255.255.255.0SW1VLAN20F0/2192.168.20.1255.255.255.0SW1VLAN30F0/3192.168.30.1255.255.255.0SW1VLAN40F0/4192.168.40.1255.255.255.0PC1192.168.