CCNA实验之LAB20-PPP


来自:义仔     发表于:2018-11-05 19:39:02     浏览:323次

实验目的:
PPP基础配置
PAP认证
CHAP认证
实验步骤:
基础配置:
R1(config)#int s1/0
R1(config-if)#ip add 12.1.1.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#exit


R2(config)#int s1/0
R2(config-if)#ip add 12.1.1.2 255.255.255.0
R2(config-if)#no sh
R2(config-if)#int s1/1
R2(config-if)#ip add 23.1.1.2 255.255.255.0
R2(config-if)#no sh
R2(config-if)#exit

R3(config)#int s1/1
R3(config-if)#ip add 23.1.1.3 255.255.255.0
R3(config-if)#no sh
R3(config-if)#exit
验证:

需求一:接口封装为PPP
R1(config)#int s1/0
R1(config-if)#encapsulation ppp
R1(config-if)#exit

R2(config)#int s1/0
R2(config-if)#encapsulation ppp
R2(config-if)#exit
R2(config)#int s1/1
R2(config-if)#encapsulation ppp
R2(config-if)#exit

R3(config)#int s1/1
R3(config-if)#encapsulation ppp
R3(config-if)#exit

其他接口同样的查看方法。
需求二:R1 R2之间启用PAP认证
R1(config)#username user2 password cisco2
R1(config)#int s1/0
R1(config-if)#ppp authentication pap
R1(config-if)#ppp pap sent-username user1 password cisco1
R1(config-if)#exit
观察现象,当R1启用认证后S1/0接口将DOWN掉
*Nov  5 10:12:25.147: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to down
R2(config)#username user1 password cisco1
R2(config)#int s1/0
R2(config-if)#ppp authentication pap
R2(config-if)#ppp pap sent-username user2 password cisco2
R2(config-if)#exit
R2启用认证后,且认证配置正确后,接口S1/0将UP
*Nov  5 10:14:32.571: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up
PAP认证类似于登陆认证,一方发送的用户名和密码需要再另一方的数据库中有对应的条目。

需求三:R2 R3之间启用CHAP认证
CHAP认证主机名和用户名互换,但是认证的密码要一致。
R2(config)#hostname R2
R2(config)#username R3 password cisco
R2(config)#int s1/1
R2(config-if)#ppp authentication chap
R2(config-if)#exit

R3(config)#hostname R3
R3(config)#username R2 password cisco
R3(config)#int s1/1
R3(config-if)#ppp authentication chap
R3(config-if)#exit
在配置认证的过程中能看到接口DOWN UP的变化。

CCNA实验手册

Lab1:思科设备基本配置

Lab2:备份和恢复IOS
Lab3:备份和恢复配置文件
Lab4:交换机密码恢复
Lab5:路由器密码恢复

LAB6-VLAN和TRUNK的配置

LAB7-单臂路由

LAB8-STP(生成树协议)

LAB9-配置PVST

Lab10: 配置Etherchannel 

Lab11:配置PortFast

Lab12: 配置BPDUGuard

LAB13-子网划分

Lab14:静态路由

LAB15-OSPF

Lab16:EIGRP

Lab17:ACL访问控制列表

LAB18-NAT网络地址转换

Lab19:IPV6

系列视频教程二维码:

视频合集地址:

https://ilyuu.ke.qq.com/

CISCO 路由交换 CCNA 2018年完整版:

https://ke.qq.com/course/332739

2018年 CISCO 路由交换 CCNP最新完整版:

https://ke.qq.com/course/333623

CISCO 路由交换之EIGRP全知道:

https://ke.qq.com/course/333641

CISCO 路由交换之OSPF全知道:

https://ke.qq.com/course/333643

CISCO路由交换之BGP:

https://ke.qq.com/course/333648

CISCO路由交换之交换知识全知道:

https://ke.qq.com/course/333630

==================

版权声明:本文著作权归新NewPPP平台所有,新NEWPPP平台小编欢迎大家分享本文,您的收藏是对我们的信任,newPPP谢谢大家支持!

上一篇:PPP项目蓄势待发,信托、私募千亿资金入场,基建板块或成新风口
下一篇:

义仔   最新作品