首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PPP CHAP认证密码要求

PPP CHAP认证密码要求
EN

Network Engineering用户
提问于 2018-04-21 17:39:36
回答 1查看 427关注 0票数 2

在PPP接口上CHAP认证的要求是什么?我认为两个路由器都必须定义相同的密码,如下所示。

代码语言:javascript
复制
r1> username r2 password demo
r2> username r1 password demo

但是,在数据包跟踪程序示例中指定了以下配置。

代码语言:javascript
复制
!!!! Script for R1 !!!!
username ISP password cisco123
interface s0/0/0
encapsulation ppp
ppp authentication chap
interface tunnel0
tunnel mode gre ip
ip address 192.168.2.1 255.255.255.0
tunnel source s0/0/0
tunnel destination 198.133.219.86


!!!! Script for R2 !!!!
en
conf t
username ISP password 123cisco
interface s0/0/0
encapsulation ppp
ppp authentication chap
interface tunnel0
tunnel mode gre ip
ip address 192.168.2.2 255.255.255.0
tunnel source s0/0/0
tunnel destination 209.165.201.1

每个路由器可以指定自己的密码吗?

代码语言:javascript
复制
r1> username r2 password demo2
r2> username r1 password demo1
EN

回答 1

Network Engineering用户

发布于 2018-04-22 16:18:05

路由器1发送的用户名和密码不一定与从路由器2收到的用户名和密码相同。@RickyBeam,谢谢您的反馈。

代码语言:javascript
复制
!!!! Script for R1 !!!!
username ISP password cisco123
interface s0/0/0
encapsulation ppp
ppp authentication chap
interface tunnel0
tunnel mode gre ip
ip address 192.168.2.1 255.255.255.0
tunnel source s0/0/0
tunnel destination 198.133.219.86


!!!! Script for R2 !!!!
en
conf t
username ISP password 123cisco
interface s0/0/0
encapsulation ppp
ppp authentication chap
interface tunnel0
tunnel mode gre ip
ip address 192.168.2.2 255.255.255.0
tunnel source s0/0/0
tunnel destination 209.165.201.1
票数 1
EN
页面原文内容由Network Engineering提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://networkengineering.stackexchange.com/questions/50036

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档