- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
网络系统集成课程设计( PPP的PAP和CHAP认证)
信息学院
网络系统集成课程实践 实验报告
实验名称 PPP的PAP和CHAP认证
2015年04月15日
实验目的:
掌握PPP PAP认证和PPP CHAP认证的过程及配置。
实验内容
(1)在路由器上配置PPP PAP认证;
(2)在路由器上配置PPP CHAP认证。
实验要求
(1)写出在路由器上配置PPP PAP认证的过程;
(2)写出在路由器上配置PPP CHAP认证的过程
实验设备
路由器Router-2811两台;
DCE串口线
实验步骤
(一)PPP PAP认证(本实验要求配置路由器R1和路由器R2双向PAP验证)
实验网络拓补结构设计
1、配置路由器R1
R1enable
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#username R2 password cisco //以对方的主机名作为用户名,密码和对方路由器一致,在验证方配置被验证方用户名密码
R1(config)#int loop0
R1(config-if)#ip address 1.1.1.1 255.255.255.0
R1(config-if)#int s 0/3/0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#encapsulation ppp //接口下封装数据链路层PPP协议
R1(config-if)#ppp authentication pap //PPP启用PAP认证方式
R1(config-if)#ppp pap sent-username R1 password cisco//PAP认证的用户名、密码
R1(config-if)#no shutdown
R1(config-if)#
%LINK-5-CHANGED: Interface Serial0/3/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/0, changed state to up
R1(config-if)#exit
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console
2、配置路由器R2
Routerenable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R2
R2(config)#username R1 password cisco //以对方的主机名作为用户名,密码和对方路由器一致,在验证方配置被验证方用户名密码
R2(config)#int loop0
R2(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R2(config-if)#ip address 2.2.2.2 255.255.255.0
R2(config-if)#int s 0/3/0
R2(config-if)#ip address 192.168.1.1 255.255.255.0
R2(config-if)#encapsulation ppp //接口下封装数据链路层PPP协议
R2(config-if)#ppp authentication pap //PPP启用PAP认证方式
R2(config-if)#ppp pap sent-username R2 password cisco//PAP认证的用户名、密码
R2(config-if)#no shutdown
R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/3/0, changed state to up
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/0, changed state to up
R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/3/0, changed state to d
文档评论(0)