資源描述:
《路由器廣域網(wǎng)ppp封裝配置》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、路由器廣域網(wǎng)PPP封裝配置一、實(shí)驗(yàn)?zāi)康?.掌握廣域網(wǎng)HDLC封裝配置2.理解DCE、DTE3.理解封裝匹配二、應(yīng)用環(huán)境1.企業(yè)環(huán)境中異地的互連通常要經(jīng)過第三方的網(wǎng)絡(luò),比如網(wǎng)通、電信等等,所以與局域網(wǎng)的配置不同2.廣域網(wǎng)通常需要付費(fèi)、帶寬比較有限、可靠性相比局域網(wǎng)要低3.PPP是一種比HDLC功能豐富的廣域網(wǎng)封裝協(xié)議,支持身份認(rèn)證、多鏈路捆綁等三、實(shí)驗(yàn)設(shè)備1.DCR-1702兩臺(tái)2.CR-V35MT一條3.CR-V35FC一條四、實(shí)驗(yàn)拓?fù)湮?、?shí)驗(yàn)要求Router-ARouter-B接口IP地址接口IP地址S1/1DCE
2、192.168.1.1S1/0DTE192.168.1.2六、實(shí)驗(yàn)步驟第一步Router-A的配置Router>enable!進(jìn)入特權(quán)模式Router#config!進(jìn)入全局配置模式Router_config#hostnameRouter-A!修改機(jī)器名Router-A_config#interfaces1/1!進(jìn)入接口模式Router-A_config_s1/1#ipaddress192.168.1.1255.255.255.0!配置IP地址Router-A_config_s1/1#encapsulationPPP
3、!封裝PPP協(xié)議Router-A_config_s1/1#physical-layerspeed64000!配置DCE時(shí)鐘頻率Router-A_config_s1/1#noshutdownRouter-A_config_s1/1#^Z!按ctrl+z進(jìn)入特權(quán)模式第二步:查看配置Router-A#showinterfaces1/1!查看接口狀態(tài)Serial1/1isup,lineprotocolisdown!對端沒有配置,所以協(xié)議是DOWNMode=SyncDCESpeed=64000!查看DCEDTR=UP,DSR=
4、UP,RTS=UP,CTS=DOWN,DCD=UPInterfaceaddressis192.168.1.1/24!查看IP地址MTU1500bytes,BW64kbit,DLY2000usecEncapsulationprototolPPP,linkcheckintervalis10sec!查看封裝協(xié)議OctetsReceived0,OctetsSent0FramesReceived0,FramesSent0,Link-checkFramesReceived0Link-checkFramesSent89,LoopB
5、acktimes0FramesDiscarded0,UnknownProtocolsFramesReceived0,Sentfailuile0Link-checkTimeout0,QueueError0,LinkError0,60secondinputrate0bits/sec,0packets/sec!60secondoutputrate0bits/sec,0packets/sec!0packetsinput,0bytes,8unused_rx,0nobuffer0inputerrors,0CRC,0frame,0
6、overrun,0ignored,0abort8packetsoutput,192bytes,0unused_tx,0underrunserror:0clock,0gracePowerQUICCSCCspecificerrors:0recvallocbmblkfail0recvnobuffer0transmitterqueuefull0transmitterhwqueue_full第三步:Router-B的配置Router>enable!進(jìn)入特權(quán)模式Router#config!進(jìn)入全局配置模式Router_confi
7、g#hostnameRouter-B!修改機(jī)器名Router-B_config#interfaces1/0!進(jìn)入接口模式Router-B_config_s1/0#ipaddress192.168.1.2255.255.255.0!配置IP地址Router-B_config_s1/0#encapsulationPPP!封裝PPP協(xié)議Router-B_config_s1/0#noshutdownRouter-B_config_s1/0#^Z!按ctrl+z進(jìn)入特權(quán)模式第四步:查看配置Router-A#showinterf
8、aces1/0!查看接口狀態(tài)Serial1/0isup,lineprotocolisup!接口和協(xié)議都是upMode=SyncDTE!查看DTEDTR=UP,DSR=UP,RTS=UP,CTS=DOWN,DCD=UPInterfaceaddressis192.168.1.2/24!查看IP地址MTU1500bytes,BW64kbit,DLY2