资源描述:
《13实验十三、路由器广域网PPP封装CHAP验证配置》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、郑州华信职业技术学院网络实验室——路由实验指导书实验十三、路由器广域网PPP封装CHAP验证配置一、实验目的1.掌握CHAP验证配置2.理解验证过程二、应用环境基于安全的考虑,需要路由器双方经过验证后才能建立连接三、实验设备1.DCR-1751两台2.CR-V35MT一条3.CR-V35FC一条四、实验拓扑五、实验要求Router-ARouter-B接口IP地址接口IP地址S1/1DCE192.168.1.1S1/0DTE192.168.1.2帐号密码帐号密码RouterAdigitalchinaRouterBdigitalchi
2、na六、实验步骤第一步Router-A的配置Router>enable!进入特权模式Router#config!进入全局配置模式Router_config#hostnameRouter-A!修改机器名Router-A_config#usernameRouterBpassworddigitallchina!设置帐号密码郑州华信职业技术学院网络实验室——路由实验指导书Router-A_config#interfaces1/1!进入接口模式Router-A_config_s1/0#ipaddress192.168.1.1255.255.
3、255.0!配置IP地址Router-A_config_s1/1#encapsulationPPP!封装PPP协议Router-A_config_s1/0#pppauthenticationchap!设置验证方式Router-A_config_s1/0#pppchaphostnameRouterA!设置发送给对方验证的帐号Router-A_config_s1/0#physical-layerspeed64000!配置DCE时钟频率Router-A_config_s1/0#noshutdownRouter-A_config_s1/0
4、#^Z!按ctrl+z进入特权模式第二步:查看配置Router-A#showinterfaces1/1!查看接口状态Serial1/0isup,lineprotocolisdown!对端没有配置,所以协议是DOWNMode=SyncDCESpeed=64000!查看DCEDTR=UP,DSR=UP,RTS=UP,CTS=DOWN,DCD=UPInterfaceaddressis192.168.1.1/24!查看IP地址MTU1500bytes,BW64kbit,DLY2000usecEncapsulationprototolPPP
5、,linkcheckintervalis10sec!查看封装协议OctetsReceived0,OctetsSent0FramesReceived0,FramesSent0,Link-checkFramesReceived0Link-checkFramesSent89,LoopBacktimes0FramesDiscarded0,UnknownProtocolsFramesReceived0,Sentfailuile0Link-checkTimeout0,QueueError0,LinkError0,60secondinputra
6、te0bits/sec,0packets/sec!60secondoutputrate0bits/sec,0packets/sec!0packetsinput,0bytes,8unused_rx,0nobuffer0inputerrors,0CRC,0frame,0overrun,0ignored,0abort8packetsoutput,192bytes,0unused_tx,0underrunserror:0clock,0gracePowerQUICCSCCspecificerrors:0recvallocbmblkfail0
7、recvnobuffer0transmitterqueuefull0transmitterhwqueue_full第三步:Router-B的配置Router>enable!进入特权模式Router#config!进入全局配置模式Router_config#hostnameRouter-B!修改机器名Router-B_config#usernameRouterApassworddigitalchina!设置帐号密码Router-B_config#interfaces1/0!进入接口模式Router-B_config_s1/0#ipa
8、ddress192.168.1.2255.255.255.0!配置IP地址Router-B_config_s1/1#encapsulationPPP!封装PPP协议Router-A_config_s1/0#pppauthenticationchap