資源描述:
《實(shí)驗(yàn)十、ospf單區(qū)域路由》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫。
1、實(shí)驗(yàn)十:OSPF單區(qū)域配置實(shí)驗(yàn)?zāi)康模号渲肙SPF單區(qū)域?qū)嶒?yàn),實(shí)現(xiàn)簡單的OSPF配置理論:routerospfrouter-idA.B.C.DnetworkA.B.C.DProcessIDOSPFrouter-idinIPaddressformatNetworknumber實(shí)驗(yàn)步驟:1.拓?fù)鋱D192.168.10.1/27aO/O192168-102/27lo0:192.168.30.0/29lo0:192.168.10.65/261841lol:192.168.10.33/28RC2.在路由器上配置ip地址1.拓?fù)鋱D2.在路由器上配置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.驗(yàn)證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