资源描述:
《路由器广域网ppp封装配置》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、路由器广域网PPP封装配置一、实验目的1.掌握广域网HDLC封装配置2.理解DCE、DTE3.理解封装匹配二、应用环境1.企业环境中异地的互连通常要经过第三方的网络,比如网通、电信等等,所以与局域网的配置不同2.广域网通常需要付费、带宽比较有限、可靠性相比局域网要低3.PPP是一种比HDLC功能丰富的广域网封装协议,支持身份认证、多链路捆绑等三、实验设备1.DCR-1702两台2.CR-V35MT一条3.CR-V35FC一条四、实验拓扑五、实验要求Router-ARouter-B接口IP地址接口IP地址S1/1DCE
2、192.168.1.1S1/0DTE192.168.1.2六、实验步骤第一步Router-A的配置Router>enable!进入特权模式Router#config!进入全局配置模式Router_config#hostnameRouter-A!修改机器名Router-A_config#interfaces1/1!进入接口模式Router-A_config_s1/1#ipaddress192.168.1.1255.255.255.0!配置IP地址Router-A_config_s1/1#encapsulationPPP
3、!封装PPP协议Router-A_config_s1/1#physical-layerspeed64000!配置DCE时钟频率Router-A_config_s1/1#noshutdownRouter-A_config_s1/1#^Z!按ctrl+z进入特权模式第二步:查看配置Router-A#showinterfaces1/1!查看接口状态Serial1/1isup,lineprotocolisdown!对端没有配置,所以协议是DOWNMode=SyncDCESpeed=64000!查看DCEDTR=UP,DSR=
4、UP,RTS=UP,CTS=DOWN,DCD=UPInterfaceaddressis192.168.1.1/24!查看IP地址MTU1500bytes,BW64kbit,DLY2000usecEncapsulationprototolPPP,linkcheckintervalis10sec!查看封装协议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!进入特权模式Router#config!进入全局配置模式Router_confi
7、g#hostnameRouter-B!修改机器名Router-B_config#interfaces1/0!进入接口模式Router-B_config_s1/0#ipaddress192.168.1.2255.255.255.0!配置IP地址Router-B_config_s1/0#encapsulationPPP!封装PPP协议Router-B_config_s1/0#noshutdownRouter-B_config_s1/0#^Z!按ctrl+z进入特权模式第四步:查看配置Router-A#showinterf
8、aces1/0!查看接口状态Serial1/0isup,lineprotocolisup!接口和协议都是upMode=SyncDTE!查看DTEDTR=UP,DSR=UP,RTS=UP,CTS=DOWN,DCD=UPInterfaceaddressis192.168.1.2/24!查看IP地址MTU1500bytes,BW64kbit,DLY2