Killtest题库

专业IT认证题库学习资料,助您通过IT认证考试!

« CCNA考试第十五个实验题什么是MCTS认证 »

CCNA考试第十六个实验题

实验十 配置PPP及身份验证

 

实验目的:掌握PPP配置方法,理解两种身份验证的工作原理。

实验设备:CISCO路由器两台,V.35连线一根。

实验内容:

1、按上图把两台路由器连接好,设置好主机名。

2、设置接口ip 地址。在Ra 上创建一个loopback接口:loopback1,IP:192.168.1.2/24, Ra : s0:192.168.2.1/30,接口描述为”local ppp interface”. Remote :S1:192.168.2.2/30,接口描述为”remote ppp interface”remote 上创建一个loopback 接口:loopback2,IP:192.168.3.2/24.

3、分别在两台路由器上启动rip v2路由协议,取消自动汇总。语法为:router(config)#router rip

       Router(config-router)#version 2

       Router(config-router)#no auto-summary

   通告每个接口。

4、分别在RaS0接口和remoteS1接口配置PPP封装,并配置PAP身份验证。单向验证:remote验证Ra,密码为:cisco。

语法为:验证端:

router(config)#username name password password//namepassword为被验证端的主机名和密码

router(config)# interface type number

        Router(config-if)#encapsulation ppp

        Router(config-if)#ppp authentication pap

        被验证端:

        Router(config)#interface type number

        Router(config-if)#encapsulation ppp

        Router(config-if)#ppp pap sent-username name password password//本路由器的主机名和密码

5、验证配置。

方法为:router#show interface

            Router#debug ppp authentication

6、清除PAP身份验证。配置CHAP身份验证。Ra的密码为:cisco

Remote的密码为:cisco.

语法为:router(config)#username name password password//对方主机名和密码

        Router(config)#interface type number

        Router(config-if)#encapsulation ppp

           Router(config-if)#ppp authentication chap

  

 

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最近发表

Powered By Z-Blog 1.8 Arwen Build 81206

Copyright xxxx-xxxx Your WebSite. Some Rights Reserved.