您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 咨询培训 > 项目四OSPF路由协议v10
1[项目四]OSPF路由协议[项目内容]任务一:如图4.1所示的网络拓扑,要求实现以下任务:(1)配置路由器各个端口的IP地址,保证直连链路通;(2)配置OSPF路由协议,保证OSPF区域路由正常;(3)将区域1配置成完全末节区域;(4)区域0需要MD5认证,密码为cisco;图4.1网络拓扑任务二:如图4.2所示,要求将区域1配置成次末节区域NSSA。图4.2OSPFNSSA区域配置任务三:(1)如图4.3所示,配置OSPF中不连续区域0的虚拟链路。图4.3不连续区域0的虚拟链路(2)如图4.4所示,配置OSPF中远离区域0的虚拟链路的配置。2图4.4远离区域0的虚拟链路[操作步骤]一.OSPF路由协议的配置1.搭建网络环境绘制如图4.1所示的网络拓扑并配置好路由器和计算机的端口及IP地址。2.OSPF的基本配置2.1基本配置(1)配置R1R1(config)#routerospf1R1(config-router)#network12.12.12.00.0.0.255area1R1(config-router)#network1.1.1.00.0.0.255area1(2)配置R2R2(config)#routerospf1R2(config-router)#network12.12.12.00.0.0.255area1R2(config-router)#network23.23.23.00.0.0.255area0R2(config-router)#network2.2.2.00.0.0.255area0(3)配置R3R3(config)#routerospf1R3(config-router)#network23.23.23.00.0.0.255area0R3(config-router)#network3.3.3.00.0.0.255area0R3(config-router)#network34.34.34.00.0.0.255area2(3)配置R4R4(config)#routerospf1R4(config-router)#network34.34.34.00.0.0.255area2R4(config-router)#network4.4.4.00.0.0.255area22.2认证(1)showiproute3R1#showiprouteGatewayoflastresortisnotset1.0.0.0/24issubnetted,1subnetsC1.1.1.0isdirectlyconnected,Loopback02.0.0.0/32issubnetted,1subnetsOIA2.2.2.2[110/782]via12.12.12.2,00:00:30,Serial1/03.0.0.0/32issubnetted,1subnetsOIA3.3.3.3[110/783]via12.12.12.2,00:00:30,Serial1/04.0.0.0/32issubnetted,1subnetsOIA4.4.4.4[110/1564]via12.12.12.2,00:00:20,Serial1/012.0.0.0/24issubnetted,1subnetsC12.12.12.0isdirectlyconnected,Serial1/023.0.0.0/24issubnetted,1subnetsOIA23.23.23.0[110/782]via12.12.12.2,00:00:30,Serial1/034.0.0.0/24issubnetted,1subnetsOIA34.34.34.0[110/1563]via12.12.12.2,00:00:20,Serial1/0R2#showiprouteGatewayoflastresortisnotset1.0.0.0/32issubnetted,1subnetsO1.1.1.1[110/782]via12.12.12.1,00:04:00,Serial1/02.0.0.0/24issubnetted,1subnetsC2.2.2.0isdirectlyconnected,Loopback03.0.0.0/32issubnetted,1subnetsO3.3.3.3[110/2]via23.23.23.3,00:03:29,FastEthernet0/04.0.0.0/32issubnetted,1subnetsOIA4.4.4.4[110/783]via23.23.23.3,00:03:19,FastEthernet0/012.0.0.0/24issubnetted,1subnetsC12.12.12.0isdirectlyconnected,Serial1/023.0.0.0/24issubnetted,1subnetsC23.23.23.0isdirectlyconnected,FastEthernet0/034.0.0.0/24issubnetted,1subnetsOIA34.34.34.0[110/782]via23.23.23.3,00:03:19,FastEthernet0/0R3#showiprouteGatewayoflastresortisnotset1.0.0.0/32issubnetted,1subnetsOIA1.1.1.1[110/783]via23.23.23.2,00:04:39,FastEthernet0/02.0.0.0/32issubnetted,1subnets4O2.2.2.2[110/2]via23.23.23.2,00:04:49,FastEthernet0/03.0.0.0/24issubnetted,1subnetsC3.3.3.0isdirectlyconnected,Loopback04.0.0.0/32issubnetted,1subnetsO4.4.4.4[110/782]via34.34.34.4,00:05:19,Serial1/012.0.0.0/24issubnetted,1subnetsOIA12.12.12.0[110/782]via23.23.23.2,00:04:39,FastEthernet0/023.0.0.0/24issubnetted,1subnetsC23.23.23.0isdirectlyconnected,FastEthernet0/034.0.0.0/24issubnetted,1subnetsC34.34.34.0isdirectlyconnected,Serial1/0R4#showiprouteGatewayoflastresortisnotset1.0.0.0/32issubnetted,1subnetsOIA1.1.1.1[110/1564]via34.34.34.3,00:06:03,Serial1/02.0.0.0/32issubnetted,1subnetsOIA2.2.2.2[110/783]via34.34.34.3,00:06:13,Serial1/03.0.0.0/32issubnetted,1subnetsOIA3.3.3.3[110/782]via34.34.34.3,00:06:13,Serial1/04.0.0.0/24issubnetted,1subnetsC4.4.4.0isdirectlyconnected,Loopback012.0.0.0/24issubnetted,1subnetsOIA12.12.12.0[110/1563]via34.34.34.3,00:06:03,Serial1/023.0.0.0/24issubnetted,1subnetsOIA23.23.23.0[110/782]via34.34.34.3,00:06:13,Serial1/034.0.0.0/24issubnetted,1subnetsC34.34.34.0isdirectlyconnected,Serial1/0(2)showipospfneighborR1#showipospfneighborNeighborIDPriStateDeadTimeAddressInterface2.2.2.21FULL/-00:00:3212.12.12.2Serial1/0R2#showipospfneighborNeighborIDPriStateDeadTimeAddressInterface1.1.1.11FULL/-00:00:3312.12.12.1Serial1/03.3.3.31FULL/DR00:00:3323.23.23.3FastEthernet0/0R3#showipospfneighborNeighborIDPriStateDeadTimeAddressInterface2.2.2.21FULL/BDR00:00:3923.23.23.2FastEthernet0/04.4.4.41FULL/-00:00:3934.34.34.4Serial1/05二、配置完全末节区域11.配置R1(config)#routerospf1R1(config-router)#area1stubR2(config)#routerospf1R2(config-router)#area1stubno-summary2.认证R1#showiprouteGatewayoflastresortis12.12.12.2tonetwork0.0.0.01.0.0.0/24issubnetted,1subnetsC1.1.1.0isdirectlyconnected,Loopback012.0.0.0/24issubnetted,1subnetsC12.12.12.0isdirectlyconnected,Serial1/0O*IA0.0.0.0/0[110/782]via12.12.12.2,00:03:08,Serial1/0R2#showiprouteGatewayoflastresortisnotset1.0.0.0/32issubnetted,1subnetsO1.1.1.1[110/782]via12.12.12.1,00:02:30,Serial1/02.0.0.0/24issubnetted,1subnetsC2.2.2.0isdirectlyconnected,Loopback03.0.0.0/32issubnetted,1subnetsO3.3.3.3[110/2]via23.23.23.3,00:02:00,FastEthernet0/04.0.0.0/32issubnetted,1subnetsOIA4.4.4.4[110/783]via23.23.23.3,00:01:50,FastEthernet0/012.0.0.0/24issubnetted,1subnetsC12.12.12.0isdirectlyconnected,Serial1/023.0.0.0/24issubnetted,1subnetsC23.23.23.0isdirectlyconnected,FastEthernet0/034.0.0.0/24issubnetted,1subnetsOIA34.34.34.0[110/782]via23.23.23.3,00:01:50,FastEthernet0/06三.配置OSPFMD5认证1.配置R2(config)#routerospf1R2(config-router)#area0authenticationmessage-digestR2(config-router)#exitR2(config)#intf0/0R2(config-if)#ipospfmessage-digest-key1md5ciscoR3(config)#routerospf1R3(config-router)#area0authen
本文标题:项目四OSPF路由协议v10
链接地址:https://www.777doc.com/doc-1983117 .html