欢迎来到天天文库
浏览记录
ID:35342309
大小:83.46 KB
页数:5页
时间:2019-03-23
《实验十、ospf单区域路由》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、实验十:OSPF单区域配置实验目的:配置OSPF单区域实验,实现简单的OSPF配置理论:routerospfrouter-idA.B.C.DnetworkA.B.C.DProcessIDOSPFrouter-idinIPaddressformatNetworknumber实验步骤:1.拓扑图192.168.10.1/27aO/O192168-102/27lo0:192.168.30.0/29lo0:192.168.10.65/261841lol:192.168.10.33/28RC2.在路由器上配置ip地址1.拓扑图2.在路由器上配置ip地址R
2、A(config)#intloopORA(config-if)#ipadd192.168.30.9255.255.255.248RA(config-if)#intfO/t)RA(config-if)#ipadd192.168.20.1255.255.255.252RA(config-if)#noshutdownRB(config)#intfO/DRB(config-if)#ipadd192.168.20.2255.255.255.252RB(config-if)#noshutdownRB(config-if)#intf0/lRB(config-if)#ipadd
3、192.168.10.1255.255.255.224RB(config-if)#noshutdownRC(config-if)#intlooplRC(config-if)#ipadd192.168.10.65255.255.255.192RC(config-if)#intloopORC(config-if)#ipadd192.168.10.33255.255.255.240RC(config-if)#intfO/ORC(config-if)#ipadd192.168.10.2255.255.255.224RC(config-if)#noshutdown1.配置
4、OSPFRA(config)#routerospf1RA(config-router)#network192.168.20.00.0.0.3a0RA(config-router)#network192.168.30.80.0.0.7a0RB(config)#routerospf10RB(config-router)#network192.168.20.00.0.03a0RB(config-router)#network192.168.10.00.0.0.31a0RC(config-if)#exitRC(config)#routerospf10RC(config-
5、router)#network192.168.10.320.0.0.15a0RC(config-router)#network192.168.10.640.0.0.63a0RC(config-router)#network192.168.10.00.0.0.31a01.验证OSPF邻居是否建立RA#shipospfneiNeighborID192.168.20.2RA#Pri1StateFULL/BDRDeadTime00:00:32Address192.168.20.2InterfaceFastEthernetO/ORB#shipospfneiNeighbor
6、IDPriStateDeadTimeAddressInterface192.168.30.91FULL/DR00:00:34192.168.20.1FastEthernetO/3192.168.10.651FULL/BDR00:00:36192.168.10.2FastEthernetO/1RB#shipospfneidetailNeighbor192.168.30.9,interfaceaddress192.168.20.1Inthearea0viainterfaceFastEthernetO/0Neighborpriorityis1,StateisFULL,
7、6statechangesDRis192.168.20.1BDRis192.168.20.2Optionsis0x00Deadtimerduein00:00:38Neighborisupfor00:07:52Index1/1,retransmissionqueuelength0,numberofretransmission0First0x0(0)/t)x0(0)Next0x0(0)A)x0(0)Lastretransmissionseanlengthis0,maximumis1Lastretransmissionseantimeis0msec,maximumis
8、0msecNeighbo
此文档下载收益归作者所有