PPP 接口的 CHAP 认证有什么要求?我认为两个路由器都必须定义相同的密码,如下所示。
r1> username r2 password demo
r2> username r1 password demo
但是,在数据包跟踪器示例中,指定了以下配置。
!!!! 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
每个路由器都可以指定自己的密码吗?
r1> username r2 password demo2
r2> username r1 password demo1