2.3.2.6 Packet Tracer - Configuring PAP and CHAP Authentication

                              

                                     前文就不写这么多了,看过程好吗

目标

 

第1部分:查看路由配置

第2部分:将PPP配置为封装方法

第3部分:配置PPP身份验证

背景

在本练习中,您将练习在串行链路上配置PPP封装。您还将配置PPP PAP身份验证和PPP CHAP身份验证。

第1部分:查看路由配置

步骤1:查看所有路由器上的运行配置。

在查看路由器配置时,请注意在拓扑中同时使用静态和动态路由。

步骤2:测试计算机与Web服务器之间的连接。

PCLaptop中,以209.165.200.2 ping Web服务器。两个ping命令都应该成功。记住要给STP和EIGRP足够的融合时间。

第2部分:将PPP配置为封装方法

步骤1:将R1配置为与R3一起使用PPP封装。

 

R1上输入以下命令:

扫描二维码关注公众号,回复: 11346796 查看本文章
R1(config)# interface s0/0/0
R1(config-if)# encapsulation ppp

步骤2:将R2配置为与R3一起使用PPP封装。

R2上输入适当的命令:

R2(config)# interface s0/0/1
R2(config-if)# encapsulation ppp

步骤3:将R3配置为与R1,R2和ISP一起使用PPP封装。

R3上输入适当的命令:

R3(config)# interface s0/0/0
R3(config-if)# encapsulation ppp
R3(config)# interface s0/0/1
R3(config-if)# encapsulation ppp
R3(config)# interface s0/1/0
R3(config-if)# encapsulation ppp

步骤4:将ISP配置为与R3一起使用PPP封装。

 

一个。单击Internet云,然后单击ISP。输入以下命令:

Router(config)# interface s0/0/0
Router(config-if)# encapsulation ppp

b。通过单击左上角的“上一步 ”或按Alt +向左箭头退出Internet云。

步骤5:测试与Web服务器的连接。

PC笔记本电脑应该能够在209.165.200.2上ping通Web服务器。随着接口再次开始工作并且EIGRP重新收敛,这可能需要一些时间。

第3部分:配置PPP身份验证

步骤1:在R1和R3之间配置PPP PAP身份验证。

注意:您可以使用关键字secret来更好地加密密码,而不是使用课程中显示的关键字password。

一个。在R1中输入以下命令:

R1(config)# username R3 secret class
R1(config)# interface s0/0/0
R1(config-if)# ppp authentication pap
R1(config-if)# ppp pap sent-username R1 password cisco

b。在R3中输入以下命令:

R3(config)# username R1 secret cisco
R3(config)# interface s0/0/0
R3(config-if)# ppp authentication pap
R3(config-if)# ppp pap sent-username R3 password class

步骤2:在R2和R3之间配置PPP PAP身份验证。

重复步骤1,以配置R2R3之间的身份验证,根据需要更改用户名。请注意,在每个串行端口上发送的每个密码都与对端路由器期望的密码匹配。

R2(config-if)# username R3 secret class
R2(config)# interface s0/0/1
R2(config-if)# ppp authentication pap
R2(config-if)# ppp pap sent-username R2 password cisco
R3(config-if)# username R2 secret cisco
R3(config)# interface s0/0/1
R3(config-if)# ppp authentication pap
R3(config-if)# ppp pap sent-username R3 password class

步骤3:在R3和ISP之间配置PPP CHAP身份验证。

一个。在ISP中输入以下命令。主机名作为用户名发送:

Router(config)# hostname ISP
ISP(config)# username R3 secret cisco
ISP(config)# interface s0/0/0
ISP(config-if)# ppp authentication chap

b。在R3中输入以下命令。密码必须与CHAP验证匹配:

R3(config)# username ISP secret cisco
R3(config)# interface serial0/1/0
R3(config-if)# ppp authentication chap

步骤4:测试计算机与Web服务器之间的连接。

PCLaptop中,以209.165.200.2 ping Web服务器。两个ping命令都应该成功。记住要给STP和EIGRP足够的融合时间。

猜你喜欢

转载自blog.csdn.net/weixin_44725124/article/details/106895995