资源描述:
《实验十三、路由器广域网 ppp 封装 chap 验证配置》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、实验十三、路由器广域网PPP封装CHAP验证配置一、实验目的1.掌握CHAP验证配置2.理解验证过程二、应用环境基于安全的考虑,需要路由器双方经过验证后才能建立连接三、实验设备1.DCR-17512.CR-V35MT3.CR-V35FC四、实验拓扑五、实验要求Router-A接口两台一条一条IP地址Router-B接口IP地址S1/1DCE192.168.1.1S1/0DTE192.168.1.2帐号RouterA六、实验步骤密码digitalchina帐号RouterB密码digitalchina第一步Route
2、r-A的配置Router>enableRouter#configRouter_config#hostnameRouter-A!进入特权模式!进入全局配置模式!修改机器名Router-A_config#usernameRouterBpassworddigitallchina!设置帐号密码Router-A_config#interfaces1/1!进入接口模式Router-A_config_s1/0#ipaddress192.168.1.1255.255.255.0!配置IP地址Router-A_config_s1/1#enca
3、psulationPPPRouter-A_config_s1/0#pppauthenticationchapRouter-A_config_s1/0#pppchaphostnameRouterARouter-A_config_s1/0#physical-layerspeed64000Router-A_config_s1/0#noshutdownRouter-A_config_s1/0#^Z第二步:查看配置Router-A#showinterfaces1/1!封装PPP协议!设置验证方式!设置发送给对方验证的帐号!配置DCE时钟
4、频率!按ctrl+z进入特权模式!查看接口状态Serial1/0isup,lineprotocolisdownMode=SyncDCESpeed=64000!对端没有配置,所以协议是DOWN!查看DCEDTR=UP,DSR=UP,RTS=UP,CTS=DOWN,DCD=UPInterfaceaddressis192.168.1.1/24MTU1500bytes,BW64kbit,DLY2000usecEncapsulationprototolPPP,linkcheckintervalis10secOctetsReceived0
5、,OctetsSent0FramesReceived0,FramesSent0,Link-checkFramesReceived0Link-checkFramesSent89,LoopBacktimes0!查看IP地址!查看封装协议FramesDiscarded0,UnknownProtocolsFramesReceived0,Sentfailuile0Link-checkTimeout0,QueueError0,LinkError0,60secondinputrate0bits/sec,0packets/sec!60seco
6、ndoutputrate0bits/sec,0packets/sec!0packetsinput,0bytes,8unused_rx,0nobuffer0inputerrors,0CRC,0frame,0overrun,0ignored,0abort8packetsoutput,192bytes,0unused_tx,0underrunserror:0clock,0gracePowerQUICCSCCspecificerrors:0recvallocbmblkfail0recvnobuffer0transmitterqueuef
7、ull0transmitterhwqueue_full第三步:Router-B的配置Router>enableRouter#configRouter_config#hostnameRouter-B!进入特权模式!进入全局配置模式!修改机器名Router-B_config#usernameRouterApassworddigitalchina!设置帐号密码Router-B_config#interfaces1/0!进入接口模式Router-B_config_s1/0#ipaddress192.168.1.2255.255.25
8、5.0!配置IP地址Router-B_config_s1/1#encapsulationPPPRouter-A_config_s1/0#pppauthenticationchap!封装PPP协议!设置验证方式Router-A_config_s1/0#pppch