资源描述:
《实验六、路由器广域网PPP封装配置》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、实验六、路由器广域网PPP封装配置一、实验目的1.掌握广域网HDLC封装配置2.理解DCE、DTE3.理解封装匹配二、应用环境1.企业环境中异地的互连通常要经过第三方的网络,比如网通、电信等等,所以与局域网的配置不同2.广域网通常需要付费、带宽比较有限、可靠性相比局域网要低三、实验设备1.DCR-1751两台2.CR-V35MT一条3.CR-V35FC一条四、实验拓扑五、实验要求Router-ARouter-B接口IP地址接口IP地址S1/1DCE192.168.1.1S1/0DTE192.16
2、8.1.2六、实验步骤第一步Router-A的配置Router>enable!进入特权模式Router#config!进入全局配置模式Router_config#hostnameRouter-A!修改机器名Router-A_config#interfaces1/1!进入接口模式Router-A_config_s1/0#ipaddress192.168.1.1255.255.255.0!配置IP地址Router-A_config_s1/1#encapsulationPPP!封装PPP协议Route
3、r-A_config_s1/0#physical-layerspeed64000!配置DCE时钟频率Router-A_config_s1/0#noshutdownRouter-A_config_s1/0#^Z!按ctrl+z进入特权模式第二步:查看配置Router-A#showinterfaces1/1!查看接口状态Serial1/0isup,lineprotocolisdown!对端没有配置,所以协议是DOWNMode=SyncDCESpeed=64000!查看DCEDTR=UP,DSR=UP
4、,RTS=UP,CTS=DOWN,DCD=UPInterfaceaddressis192.168.1.1/24!查看IP地址MTU1500bytes,BW64kbit,DLY2000usecEncapsulationprototolPPP,linkcheckintervalis10sec!查看封装协议OctetsReceived0,OctetsSent0FramesReceived0,FramesSent0,Link-checkFramesReceived0Link-checkFramesSen
5、t89,LoopBacktimes0FramesDiscarded0,UnknownProtocolsFramesReceived0,Sentfailuile0Link-checkTimeout0,QueueError0,LinkError0,60secondinputrate0bits/sec,0packets/sec!60secondoutputrate0bits/sec,0packets/sec!0packetsinput,0bytes,8unused_rx,0nobuffer0input
6、errors,0CRC,0frame,0overrun,0ignored,0abort8packetsoutput,192bytes,0unused_tx,0underrunserror:0clock,0gracePowerQUICCSCCspecificerrors:0recvallocbmblkfail0recvnobuffer0transmitterqueuefull0transmitterhwqueue_full第三步:Router-B的配置Router>enable!进入特权模式Rou
7、ter#config!进入全局配置模式Router_config#hostnameRouter-B!修改机器名Router-B_config#interfaces1/0!进入接口模式Router-B_config_s1/0#ipaddress192.168.1.2255.255.255.0!配置IP地址Router-B_config_s1/1#encapsulationPPP!封装PPP协议Router-B_config_s1/0#noshutdownRouter-B_config_s1/0#^
8、Z!按ctrl+z进入特权模式第四步:查看配置Router-A#showinterfaces1/0!查看接口状态Serial1/0isup,lineprotocolisup!接口和协议都是upMode=SyncDTE!查看DTEDTR=UP,DSR=UP,RTS=UP,CTS=DOWN,DCD=UPInterfaceaddressis192.168.1.2/24!查看IP地址MTU1500bytes,BW64kbit,DLY2000usecEncapsulationprototolPPP,lin