资源描述:
《OSPF虚链路--不连续区域-0-的虚链路.docx》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、OSPF虚链路--不连续区域0的虚链路1.实验目的通过本实验可以掌握:(1)不连续区域0虚链路的特征(2)虚链路的配置2.实验拓扑本实验的拓扑结构如图7-6所示。图7-6不连续区域0虚链路本实验中区域1为转接区域。3.实验步骤(1)步骤1:配置路由器R1R1(config)#routerospf1R1(config-router)#router-id1.1.1.1R1(config-router)#network1.1.1.00.0.0.255area0R1(config-router)#network192.168.12.00.0.0.255area0(2)步骤2:配置路由器R2
2、R2(config)#routerospf1R2(config-router)#router-id2.2.2.2R2(config-router)#network2.2.2.00.0.0.255area0R2(config-router)#network192.168.12.00.0.0.255area0R2(config-router)#network192.168.23.00.0.0.255area1R2(config-router)#area1virtual-link3.3.3.3//配置虚链路【技术要点】配置虚链路的时候,区域要写转换区域,“virtual-link”后一定
3、要互指对方的路由器ID。(3)步骤3:配置路由器R3R3(config)#routerospf1R3(config-router)#router-id3.3.3.3R3(config-router)#network3.3.3.00.0.0.255area0R3(config-router)#network192.168.23.00.0.0.255area1R3(config-router)#network192.168.34.00.0.0.255area0R3(config-router)#area1virtual-link2.2.2.2(4)步骤4:配置路由器R4R4(confi
4、g)#routerospf1R4(config-router)#router-id4.4.4.4R4(config-router)#network4.4.4.00.0.0.255area0R4(config-router)#network192.168.34.00.0.0.255area04.实验调试(1)showiprouteR1#showiprouteospf2.0.0.0/24issubnetted,1subnetsO2.2.2.0[110/65]via192.168.12.2,00:04:42,Serial0/0/03.0.0.0/24issubnetted,1subnet
5、sO3.3.3.0[110/129]via192.168.12.2,00:04:42,Serial0/0/04.0.0.0/32issubnetted,1subnetsO4.4.4.4[110/193]via192.168.12.2,00:04:42,Serial0/0/0OIA192.168.23.0/24[110/128]via192.168.12.2,00:04:42,Serial0/0/0O192.168.34.0/24[110/192]via192.168.12.2,00:04:42,Serial0/0/0从以上输出可以看出通过虚拟链路将两个不连续的区域0连接起来。(2)
6、showipospfvirtual-linksR2#showipospfvirtual-linksVirtualLinkOSPF_VL0torouter3.3.3.3isupRunasdemandcircuitDoNotAgeLSAallowed.Transitarea1,viainterfaceSerial0/0/1,Costofusing64TransmitDelayis1sec,StatePOINT_TO_POINT,Timerintervalsconfigured,Hello10,Dead40,Wait40,Retransmit5Helloduein00:00:03Adja
7、cencyStateFULL(Hellosuppressed)Index2/3,retransmissionqueuelength0,numberofretransmission1First0×0(0)/0×0(0)Next0×0(0)/0×0(0) Lastretransmissionscanlengthis1,maximumis1Lastretransmissionscantimeis0msec,maximumis0msec以上输出表明了虚链路的基本信息。(3)s