实验14PPPPAP认证_第1页
实验14PPPPAP认证_第2页
实验14PPPPAP认证_第3页
实验14PPPPAP认证_第4页
免费预览已结束,剩余1页可下载查看

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、实验十四ppp PAP认证实验名称ppp PAP 认证。实验目的掌握广域网PPP PAP认证的过程及配置。实现功能在链路协商时保证安全验证。链路协商时用户名、密码以明文的方式传输。 实验设备锐捷R2624路由器2台,网线2根,V.35连接线一对。 实验步骤1.用2根网线从路由器分别连到 2台计算机。2. 连到路由器1,对路由器1进行配置。3.con figure termi nal (进入路由器全局配置模式)host name Ra(配置路由器的名称)in terface serial 1/2 (配置串口 2 地址)ip address 192.168.1.10 255.255.255.0(设

2、置 IP 地址) no shutdown(启用该端口 )对路由器1进行基本配置。CA Teln«t 1TZ_16_Z.ra#raff ratt rattcofifEnter confion commands, one pei* line . End with CNTL/Z-I'aCconfig>ttbostnane ra ra<con£d i'a<confara<conf ig>ttip address 192.168 .1<10 2S5.255.255.9Az Inualid input detected at* nar

3、ltei'.raCconfi'a<conface sl/2風d address 192.1&8.1.10 255.2S5.2&5<0 shshutdaunpa<config-i£ttip raCconf ig- if Mt ip j*A<conf ig- if#no pa<conf ig- if raCconf ig-if J#4. 连到路由器2,对路由器2进行配置。5. 对路由器2进行基本配置。con figure termi nal (进入路由器全局配置模式)host name Rb(配置路由器的名称)in terfa

4、ce serial 1/3 (配置串口 3 地址)clock rate 64000(配置DCE端时钟频率)ip address 192.168.1.20 255.255.255.0(设置 IP 地址) no shutdown(启用该端口 )閃 Tela" IfZ 1& Z 1pbtt pbtt pbttconfEnter conf ls(ui«atian conmandsone pep line. End uith CNTL/Z. pb<conf ig>flhostnpb<conf ig>flhostname i*brb<confi占f

5、linrb<confisr>flinterface sl/3 i'b<conf isf-if ?ltc 1i'b<conf isf-if>ttclock ratI'bCconf ig-if>ltclock i*aite 640Q0 I'bCconf ig-ifaadaddi*e£s 192.168-1.20 255-255,255-0shshut do unI'bCconf ig-if Jttip pbCconf ig-if 51ti p pb<conf ig-if 51ti p pb<conf

6、ig-ifJttno pb<conf ig-ifJttno pb<conf ig-ifJttno pb<conf ijf-if6. 用V.35连接线分别连到两个路由器的串口1,Ra端连DTE头,Rb端DCE头。7. 对Ra进行PPP PAP认证配置。in terface serial 1/2 (配置串口 2 地址)Encapsulation ppp (在接口下封装 PPP协议)Ppp pap sent-username Ra password 0 star (配置 PAP 认证的用户名、密码)ra(c on fig)# in terface serial 1/2ra(c on

7、 fig-if)#e nra(c on fig-if)#e ncra(c on fig-if)#e neap sulati on pppra(c on fig-if)# pppra(c on fig-if)# ppp pra(c on fig-if)# ppp pap sera(c on fig-if)# ppp pap sen t-user name ra pra(c on fig-if)# ppp pap sen t-user name ra p assword 0 sra(c on fig-if)# ppp pap sen t-user name ra p assword 0 stra(

8、c on fig-if)# ppp pap sen t-user name ra p assword 0 starra(c on fig-if)#8.对Rb进行PPP PAP认证配置。interface serial 1/3 (配置串口 3 地址 )Username Ra p assword 0 star(在验证方配置被验证方的用户名、密码)interface serial 1/3(配置串口 3 地址)Encapsulation ppp (在接口下封装 PPP 协议 )Ppp authentication pap ( PPP 协议启用 PAP 认证方式)rb(config)#interface

9、 s rb(config)#interface serial 1/3 rb(config-if)#en rb(config-if)#enc rb(config-if)#encapsulation ppp rb(config-if)#ppp au rb(config-if)#ppp authentication pap rb(config-if)#9. 在两台路由器上验证 PAP 验证过程Debug ppp authentication (在路由器上验证 PAP 验证过程 )rb#debug ppp aurb#debug ppp authenticationra#dera#deb ra#debu

10、g ppp au ra#debug ppp authentication ra#10. 在一台计算机上 Ping 另一台计算机,看能否 Ping 通。11. 在两台路由器上 show running-config 。1. rb#show ru rb#show running-configBuilding configuration.Current configuration : 547 bytesversion 8.32(building 5) hostname rbusername ra password 0 starinterface serial 1/2encapsulation PPP

11、ip address 1.1.1.2 255.255.255.0 clock rate 64000interface serial 1/3encapsulation PPPppp authentication papip address 192.168.1.20 255.255.255.0clock rate 64000interface FastEthernet 1/0duplex auto speed autointerface FastEthernet 1/1 duplex auto speed autointerface Null 0line con 0line aux 0 line

12、vty 0 4 loginendrb#rb#ra#show running-configBuilding configuration.Current configuration : 523 bytesversion 8.32(building 5) hostname rausername rb password 0 starinterface serial 1/2encapsulation PPPppp authentication chapppp pap sent-username ra password 7 072d172e07ip address 192.168.1.10 255.255.255.0interface serial 1/3 clock rate 64000 in terface FastEther net 1/0duplex auto sp eed autoin terface FastEther net 1/1 duplex a

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论