版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
实验时间:实验人:冯刚实验名称:OSPF高级配置实验任务和目标:任务1.按照实验要求连接拓扑。任务2.完成所有网络基本IP配置【环回除外】,并测试连通性。任务3.启动BACKBONEAREA0OSPF进程。任务4.启动STANDARDAREA1OSPF进程。任务5.启动NSSAAREA12OSPF进程,并查看ROUTER7路由表【截图验证】。任务6.在ROUTER1与ROUTER4上完成区域间汇总,并查看ROUTER7路由表【截图验证】。任务7.配置ROUTER2上环回,并启动AREA101OSPF进程,为AREA101配置虚链路,并查看ROUTER7路由表【截图验证】任务8.配置ROUTER3上环回,且发布直连环回进OSPFAS中。并查看ROUTER7路由表【截图验证】。任务9.配置ROUTER6上环回,且配置环回为RIPAS发布进OSPFAS。任务10.查看ROUTER7路由表中外部路由条目【截图验证】。任务11.在ROUTER3与ROUTER6上完成AS外部汇总,并查看ROUTER7路由表中外部路由条目【截图验证】相关命令补充:实验拓扑及网络规划:实验操作过程及配置说明:Router1S0/0<---->Router2S0/0Router1S0/1<---->Router2S0/1Router1S0/2<---->Router3S0/2Router1S0/3<---->Router7S0/2Router2E1/0<---->Router3E1/0Router4S0/0<---->Router5S0/0Router4S0/1<---->Router5S0/1Router4S0/2<---->Router6S0/2Router4S0/3<---->Router7S0/3Router5E1/0<---->Router6E1/0实验结果【可以是截屏图片】:总结和分析、结论:1.IP相关配置。r1(config)#ins0/0r1(config-if)#clockrate64000r1(config-if)#ipadd192.168.1.1255.255.255.252r1(config-if)#noshr1(config-if)#exitr1(config)#ins0/1r1(config-if)#clockrate64000r1(config-if)#ipadd192.168.1.5255.255.255.252r1(config-if)#noshr1(config-if)#exitr1(config)#ins0/2r1(config-if)#clockrate64000r1(config-if)#ipadd192.168.1.9255.255.255.252r1(config-if)#noshr1(config-if)#exitr1(config)#ins0/3r1(config-if)#ipadd10.1.1.2255.255.255.0r1(config-if)#noshr1(config-if)#exitr1(config)#r1(config)#doshowipinbrInterfaceIP-AddressOK?MethodStatusProtocolSerial0/0192.168.1.1YESmanualupdownSerial0/1192.168.1.5YESmanualupdownSerial0/2192.168.1.9YESmanualupdownSerial0/310.1.1.2YESmanualupdownr1(config)#r2(config)#ins0/0r2(config-if)#ipadd192.168.1.2255.255.255.252r2(config-if)#noshr2(config-if)#exitr2(config)#ins0/1r2(config-if)#ipadd192.168.1.6255.255.255.252r2(config-if)#noshr2(config-if)#exitr2(config)#ine1/0r2(config-if)#ipadd192.168.1.13255.255.255.252r2(config-if)#noshr2(config-if)#exitr2(config)#doshowipinbrInterfaceIP-AddressOK?MethodStatusProtocolSerial0/0192.168.1.2YESmanualupupSerial0/1192.168.1.6YESmanualupupSerial0/2unassignedYESunsetadministrativelydowndownSerial0/3unassignedYESunsetadministrativelydowndownEthernet1/0192.168.1.13YESmanualupupEthernet1/1unassignedYESunsetadministrativelydowndownEthernet1/2unassignedYESunsetadministrativelydowndownEthernet1/3unassignedYESunsetadministrativelydowndownr2(config)#r1(config)#doshowipinbrInterfaceIP-AddressOK?MethodStatusProtocolSerial0/0192.168.1.1YESmanualupupSerial0/1192.168.1.5YESmanualupupSerial0/2192.168.1.9YESmanualupdownSerial0/310.1.1.2YESmanualupdownr1(config)#r3(config)#ins0/2r3(config-if)#ipadd192.168.1.10255.255.255.252r3(config-if)#noshr3(config-if)#exitr3(config)#ins0/r3(config)#ine1/0r3(config-if)#ipadd192.168.1.14255.255.255.252r3(config-if)#noshr3(config-if)#exitr3(config)#exitr3#showipinbrInterfaceIP-AddressOK?MethodStatusProtocolSerial0/0unassignedYESunsetadministrativelydowndownSerial0/1unassignedYESunsetadministrativelydowndownSerial0/2192.168.1.10YESmanualupupSerial0/3unassignedYESunsetadministrativelydowndownEthernet1/0192.168.1.14YESmanualupupEthernet1/1unassignedYESunsetadministrativelydowndownEthernet1/2unassignedYESunsetadministrativelydowndownEthernet1/3unassignedYESunsetadministrativelydowndownr3#r4(config)#ins0/0r4(config-if)#clockrate64000r4(config-if)#ipadd192.168.12.1255.255.255.252r4(config-if)#noshr4(config-if)#exitr4(config)#ins0/1r4(config-if)#clockrate64000r4(config-if)#ipadd192.168.12.5255.255.255.252r4(config-if)#noshr4(config-if)#exitr4(config)#r4(config)#ins0/2r4(config-if)#clockrate64000r4(config-if)#ipadd192.168.12.9255.255.255.252r4(config-if)#noshr4(config-if)#exitr4(config)#inr4(config)#ins0/3r4(config-if)#ipadd10.12.12.2255.255.255.0r4(config-if)#noshr4(config-if)#exitr4#showipinbrInterfaceIP-AddressOK?MethodStatusProtocolSerial0/0192.168.12.1YESmanualupupSerial0/1192.168.12.5YESmanualupupSerial0/2192.168.12.9YESmanualupupSerial0/310.12.12.2YESmanualupupr5(config)#ins0/0r5(config-if)#ipadd192.168.12.2255.255.255.252r5(config-if)#noshr5(config-if)#exitr5(config)#ins0/1r5(config-if)#ipadd192.168.12.6255.255.255.252r5(config-if)#noshr5(config-if)#exitr5(config)#ine1/0r5(config-if)#ipadd192.168.12.13255.255.255.252r5(config-if)#noshr5(config-if)#exitr5#showipinbrInterfaceIP-AddressOK?MethodStatusProtocolSerial0/0192.168.12.2YESmanualupupSerial0/1192.168.12.6YESmanualupupSerial0/2unassignedYESunsetadministrativelydowndownSerial0/3unassignedYESunsetadministrativelydowndownEthernet1/0192.168.12.13YESmanualupupEthernet1/1unassignedYESunsetadministrativelydowndownEthernet1/2unassignedYESunsetadministrativelydowndownEthernet1/3unassignedYESunsetadministrativelydowndownr5#r6(config)#ins0/2r6(config-if)#ipadd192.168.12.10255.255.255.252r6(config-if)#noshr6(config-if)#exitr6(config)#inr6(config)#ine1/0r6(config-if)#ipadd192.168.12.14255.255.255.252r6(config-if)#noshr6(config-if)#exitr6(config)#exitr6#showipinbrInterfaceIP-AddressOK?MethodStatusProtocolSerial0/0unassignedYESunsetadministrativelydowndownSerial0/1unassignedYESunsetadministrativelydowndownSerial0/2192.168.12.10YESmanualupupSerial0/3unassignedYESunsetadministrativelydowndownEthernet1/0192.168.12.14YESmanualupupEthernet1/1unassignedYESunsetadministrativelydowndownEthernet1/2unassignedYESunsetadministrativelydowndownEthernet1/3unassignedYESunsetadministrativelydowndownr6#r7(config)#ins0/3r7(config-if)#clockrate64000r7(config-if)#ipadd10.12.12.1255.255.255.0r7(config-if)#noshr7(config-if)#exitr7(config)#ins0/2r7(config-if)#clockrate64000r7(config-if)#ipadd10.1.1.1255.255.255.252r7(config-if)#noshr7(config-if)#exitr7#showipinbrInterfaceIP-AddressOK?MethodStatusProtocolSerial0/0unassignedYESunsetadministrativelydowndownSerial0/1unassignedYESunsetadministrativelydowndownSerial0/210.1.1.1YESmanualupupSerial0/310.12.12.1YESmanualupupr7#2.测试。r1#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset10.0.0.0/24issubnetted,1subnetsC10.1.1.0isdirectlyconnected,Serial0/3192.168.1.0/30issubnetted,3subnetsC192.168.1.8isdirectlyconnected,Serial0/2C192.168.1.0isdirectlyconnected,Serial0/0C192.168.1.4isdirectlyconnected,Serial0r2#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset192.168.1.0/30issubnetted,3subnetsC192.168.1.12isdirectlyconnected,Ethernet1/0C192.168.1.0isdirectlyconnected,Serial0/0C192.168.1.4isdirectlyconnected,Serial0/1r3#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset192.168.1.0/30issubnetted,2subnetsC192.168.1.8isdirectlyconnected,Serial0/2C192.168.1.12isdirectlyconnected,Ethernet1/0r3#r4#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset192.168.12.0/30issubnetted,3subnetsC192.168.12.4isdirectlyconnected,Serial0/1C192.168.12.0isdirectlyconnected,Serial0/0C192.168.12.8isdirectlyconnected,Serial0/210.0.0.0/24issubnetted,1subnetsC10.12.12.0isdirectlyconnected,Serial0/3r4#r5#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset192.168.12.0/30issubnetted,3subnetsC192.168.12.4isdirectlyconnected,Serial0/1C192.168.12.0isdirectlyconnected,Serial0/0C192.168.12.12isdirectlyconnected,Ethernet1/0r5#r6#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset192.168.12.0/30issubnetted,2subnetsC192.168.12.12isdirectlyconnected,Ethernet1/0C192.168.12.8isdirectlyconnected,Serial0/2r6#r7#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset10.0.0.0/8isvariablysubnetted,2subnets,2masksC10.12.12.0/24isdirectlyconnected,Serial0/3C10.1.1.0/30isdirectlyconnected,Serial0/2r1#ping10.1.1.1Typeescapesequencetoabort.Sending5,100-byteICMPEchosto10.1.1.1,timeoutis2seconds:!!!!!Successrateis100percent(5/5),round-tripmin/avg/max=16/53/112msr1#ping10.1.1.2Typeescapesequencetoabort.Sending5,100-byteICMPEchosto10.1.1.2,timeoutis2seconds:!!!!!Successrateis100percent(5/5),round-tripmin/avg/max=64/112/184msr1#ping192.168.1.1Typeescapesequencetoabort.Sending5,100-byteICMPEchosto192.168.1.1,timeoutis2seconds:!!!!!Successrateis100percent(5/5),round-tripmin/avg/max=48/93/124msr1#ping192.168.1.2Typeescapesequencetoabort.Sending5,100-byteICMPEchosto192.168.1.2,timeoutis2seconds:!!!!!Successrateis100percent(5/5),round-tripmin/avg/max=32/59/104msr1#ping192.168.1.5Typeescapesequencetoabort.Sending5,100-byteICMPEchosto192.168.1.5,timeoutis2seconds:!!!!!Successrateis100percent(5/5),round-tripmin/avg/max=64/110/200msr1#ping192.168.1.6Typeescapesequencetoabort.Sending5,100-byteICMPEchosto192.168.1.6,timeoutis2seconds:!!!!!Successrateis100percent(5/5),round-tripmin/avg/max=16/56/80msr1#ping192.168.1.9Typeescapesequencetoabort.Sending5,100-byteICMPEchosto192.168.1.9,timeoutis2seconds:!!!!!Successrateis100percent(5/5),round-tripmin/avg/max=60/96/200msr1#ping192.168.1.10Typeescapesequencetoabort.Sending5,100-byteICMPEchosto192.168.1.10,timeoutis2seconds:!!!!!Successrateis100percent(5/5),round-tripmin/avg/max=20/54/120msr1#ping10.1.1.1Typeescapesequencetoabort.Sending5,100-byteICMPEchosto10.1.1.1,timeoutis2seconds:!!!!!Successrateis100percent(5/5),round-tripmin/avg/max=32/68/104msr1#ping10.1.1.2Typeescapesequencetoabort.Sending5,100-byteICMPEchosto10.1.1.2,timeoutis2seconds:!!!!!Successrateis100percent(5/5),round-tripmin/avg/max=64/82/116msr1#ping192.168.1.13Typeescapesequencetoabort.Sending5,100-byteICMPEchosto192.168.1.13,timeoutis2seconds:.....Successrateis0percent(0/5)总结:有一个不通是因为。没有配置路由协议。3.启动BACKBONEAREA0OSPF进程r7(config)#routerospf700r7(config-router)#router-id7.7.7.7r7(config-router)#network10.12.12.10.0.0.0area0r7(config-router)#network10.1.1.10.0.0.0area0r7(config-router)#exitr7(config)#4.启动STANDARDAREA1OSPF进程。r1(config)#routerospf100r1(config-router)#router-id1.1.1.1r1(config-router)#network192.168.1.10.0.0.0area1r1(config-router)#network192.168.1.50.0.0.0area1r1(config-router)#network192.168.1.90.0.0.0area1r1(config-router)#network10.1.1.20.0.0.0area0r2(config)#routerospf200r2(config-router)#router-id2.2.2.2r2(config-router)#network192.168.1.20.0.0.0area1r2(config-router)#network192.168.1.60.0.0.0area1r2(config-router)#network192.168.1.130.0.0.0area1r2(config-router)#exitr3(config)#routerospf300r3(config-router)#router-id3.3.3.3r3(config-router)#network192.168.1.100.0.0.0area1r3(config-router)#network192.168.1.140.0.0.0area1r3(config-router)#exitr3(config)#5.启动NSSAAREA12OSPF进程,并查看ROUTER7路由表r4(config)#routerospf400r4(config-router)#router-id4.4.4.4r4(config-router)#network192.168.12.10.0.0.0area12r4(config-router)#network192.168.12.50.0.0.0area12r4(config-router)#network192.168.12.90.0.0.0area12r4(config-router)#network10.12.12.20.0.0.0area0r4(config-router)#area12nssar4(config-router)#exitr4(config)#exit测试。r5(config)#routerospf500r5(config-router)#router-id5.5.5.5r5(config-router)#network192.168.12.20.0.0.0area12r5(config-router)#network192.168.12.60.0.0.0area12r5(config-router)#network192.168.12.130.0.0.0area12r5(config-router)#area12nssar6(config)#routerospf600r6(config-router)#router-id6.6.6.6r6(config-router)#network192.168.12.100.0.0.0area12r6(config-router)#network192.168.12.140.0.0.0area12r6(config-router)#area12nssar6(config-router)#exitr6(config)#exitr2#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset192.168.12.0/30issubnetted,4subnetsOIA192.168.12.4[110/256]via192.168.1.5,00:25:41,Serial0/1[110/256]via192.168.1.1,00:25:41,Serial0/0OIA192.168.12.0[110/256]via192.168.1.5,00:25:41,Serial0/1[110/256]via192.168.1.1,00:25:41,Serial0/0(area12nssa)OIA192.168.12.12[110/266]via192.168.1.5,00:12:59,Serial0/1[110/266]via192.168.1.1,00:12:59,Serial0/0OIA192.168.12.8[110/256]via192.168.1.5,00:25:41,Serial0/1[110/256]via192.168.1.1,00:25:41,Serial0/010.0.0.0/8isvariablysubnetted,3subnets,2masksOIA10.12.12.0/24[110/192]via192.168.1.5,00:52:58,Serial0/1[110/192]via192.168.1.1,00:52:58,Serial0/0OIA10.1.1.0/30[110/192]via192.168.1.5,00:52:58,Serial0/1(area1)[110/192]via192.168.1.1,00:52:58,Serial0/0OIA10.1.1.0/24[110/128]via192.168.1.5,00:53:00,Serial0/1[110/128]via192.168.1.1,00:53:00,Serial0/0192.168.1.0/30issubnetted,4subnetsO192.168.1.8[110/74]via192.168.1.14,00:53:00,Ethernet1/0C192.168.1.12isdirectlyconnected,Ethernet1/0C192.168.1.0isdirectlyconnected,Serial0/0C192.168.1.4isdirectlyconnected,Serial0/1r2#r6#showiproute(area12)Codes:C-connected,S–sttic,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset192.168.12.0/30issubnetted,4subnetsO192.168.12.4[110/128]via192.168.12.9,00:00:07,Serial0/2O192.168.12.0[110/128]via192.168.12.9,00:00:07,Serial0/2C192.168.12.12isdirectlyconnected,Ethernet1/0C192.168.12.8isdirectlyconnected,Serial0/210.0.0.0/8isvariablysubnetted,3subnets,2masksOIA10.12.12.0/24[110/128]via192.168.12.9,00:00:07,Serial0/2OIA10.1.1.0/30[110/192]via192.168.12.9,00:00:07,Serial0/2OIA10.1.1.0/24[110/256]via192.168.12.9,00:00:07,Serial0/2192.168.1.0/30issubnetted,4subnetsOIA192.168.1.8[110/256]via192.168.12.9,00:00:07,Serial0/2OIA192.168.1.12[110/266]via192.168.12.9,00:00:07,Serial0/2OIA192.168.1.0[110/256]via192.168.12.9,00:00:07,Serial0/2OIA192.168.1.4[110/256]via192.168.12.9,00:00:23,Serial0/2r6#r7#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset192.168.12.0/30issubnetted,4subnetsOIA192.168.12.4[110/128]via10.12.12.2,00:03:14,Serial0/3OIA192.168.12.0[110/128]via10.12.12.2,00:03:14,Serial0/3OIA192.168.12.12[110/138]via10.12.12.2,00:00:49,Serial0/3OIA192.168.12.8[110/128]via10.12.12.2,00:03:14,Serial0/310.0.0.0/24issubnetted,2subnetsC10.12.12.0isdirectlyconnected,Serial0/3C10.1.1.0isdirectlyconnected,Serial0/2192.168.1.0/30issubnetted,4subnetsOIA192.168.1.8[110/128]via10.1.1.2,00:03:14,Serial0/2OIA192.168.1.12[110/138]via10.1.1.2,00:03:14,Serial0/2OIA192.168.1.0[110/128]via10.1.1.2,00:03:14,Serial0/2OIA192.168.1.4[110/128]via10.1.1.2,00:03:14,Serial0/2r7#6.在ROUTER1与ROUTER4上完成区域间汇总,并查看ROUTER7路由表r1(config)#routerospf1r1(config-router)#area1range192.168.1.0255.255.255.240r4(config)#routerospf4r4(config-router)#area12range192.168.12.0255.255.255.24000:05:49,Serial0/2r7#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset192.168.12.0/28issubnetted,1subnetsOIA192.168.12.0[110/128]via10.12.12.2,00:00:41,Serial0/310.0.0.0/24issubnetted,2subnetsC10.12.12.0isdirectlyconnected,Serial0/3C10.1.1.0isdirectlyconnected,Serial0/2192.168.1.0/28issubnetted,1subnetsOIA192.168.1.0[110/128]via10.1.1.2,00:01:25,Serial0/2r7#.7。配置ROUTER2上环回,并启动AREA101OSPF进程,为AREA101配置虚链路,并查看ROUTERr2(config)#inlo0r2(config-if)#ipadd192.168.101.101255.255.255.240r2(config-if)#noshr2(config-if)#exitr2(config)#routerospf200r2(config-router)#network192.168.101.1010.0.0.0area101r2(config-router)#exitr2(config)#exitr2(config)#routerospf200r2(config-router)#area1virtual-link1.1.1.1r2(config-router)#exitr1(config)#routerospf100r1(config-router)#area1virtual-link2.2.2.2r1(config-router)#exit#r7#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset192.168.12.0/28issubnetted,1subnetsOIA192.168.12.0[110/128]via10.12.12.2,00:06:48,Serial0/310.0.0.0/24issubnetted,2subnetsC10.12.12.0isdirectlyconnected,Serial0/3C10.1.1.0isdirectlyconnected,Serial0/2192.168.1.0/24isvariablysubnetted,5subnets,2masksOIA192.168.1.8/30[110/202]via10.1.1.2,00:06:48,Serial0/2OIA192.168.1.12/30[110/138]via10.1.1.2,00:06:48,Serial0/2OIA192.168.1.0/30[110/192]via10.1.1.2,00:06:48,Serial0/2OIA192.168.1.0/28[110/128]via10.1.1.2,00:06:48,Serial0/2OIA192.168.1.4/30[110/192]via10.1.1.2,00:06:48,Serial0/2192.168.101.0/32issubnetted,1subnetsOIA192.168.101.101[110/129]via10.1.1.2,00:06:48,Serial0/2r7#总结:R7上面的路由表发生了变化,先前的汇总失效了,是因为在通过以上的配置,R2变成了一台ASB路由器。因此,处理方法在下:r2(config)#routerospf200r2(config-router)#area1range192.168.1.0255.255.255.240(在R2上面重新进行汇总)r2(config-router)#exitr7#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset192.168.12.0/28issubnetted,1subnetsOIA192.168.12.0[110/128]via10.12.12.2,00:14:57,Serial0/310.0.0.0/24issubnetted,2subnetsC10.12.12.0isdirectlyconnected,Serial0/3C10.1.1.0isdirectlyconnected,Serial0/2192.168.1.0/28issubnetted,1subnetsOIA192.168.1.0[110/128]via10.1.1.2,00:00:13,Serial0/2192.168.101.0/32issubnetted,1subnetsOIA192.168.101.101[110/129]via10.1.1.2,00:14:57,Serial0/2r7#8.配置ROUTER3上环回,且发布直连环回进OSPFAS中。并查看ROUTER7路由表r3(config)#inlo0r3(config-if)#ipadd172.26.1.1255.255.255.240r3(config-if)#noshr3(config-if)#exitr3(config)#inlo1r3(config-if)#ipadd172.26.1.17255.255.255.240r3(config-if)#noshr3(config-if)#exitr3(config)#inlo2r3(config-if)#ipadd172.26.1.33255.255.255.240r3(config-if)#noshr3(config-if)#exitr3(config)#inlo3r3(config-if)#ipadd172.26.1.49255.255.255.240r3(config-if)#exitr3(config)#exitr3(config-router)#redistributeconnectedsubnets发布直连环回进OSPF)r3(config-router)#exitr3(config)#exitr7#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset192.168.12.0/28issubnetted,1subnetsOIA192.168.12.0[110/128]via10.12.12.2,00:04:0
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2023年潍坊高密市教育系统招聘教师笔试真题
- 2023年绍兴市殡仪服务有限责任公司招聘工作人员笔试真题
- 成安哪有合同范本
- 2023年辽源东辽县招聘环境卫生管理中心公益性岗位人员考试真题
- 卖砖合同范本
- 2023年湖州长兴交投集团招聘笔试真题
- 2023年东莞市社会保险基金社会监督员选聘考试真题
- 消防演练培训内容
- 店铺经纪合同范本
- 机械公司年终总结
- 6.2反比例函数的图象与性质(第一课时)教学设计2024-2025学年北师大版数学九年级上册
- 2022年甘肃省职业技能大赛小程序设计与开发赛项(高职学生组)试题 A卷
- 了解红旗渠学习红旗渠精神
- 城市综合管廊工程技术标准局部修订条文征求意见稿征求意见稿
- 学术论文的撰写方法与规范
- 扫地机器人行业及其产业链分析
- 集团母子公司协议书
- 2024-2029全球及中国工业级硫酸锰行业市场发展分析及前景趋势与投资发展研究报告
- 检察院预防职务犯罪讲座
- 价层电子对互斥模型 习题课 高二下学期化学人教版(2019)选择性必修2
- 大数据在文学作品影响力分析中的应用
评论
0/150
提交评论